SPECIAL OFFER: Only $69 for access to everything in OSTraining for 1 year! You save $75! 
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

Internal Server Error during Admin Tools...

5 years 7 months ago - 5 years 7 months ago #122208 by getaheacnow
Internal Server Error during Admin Tools... was created by getaheacnow
Hi Ladies and Gentlemen

Admin Tools-Master Password Configuration-Gives Internal server Error

I was trying to configure the master password in admin tools three days ago and managed to finish the first two phases.

After confirming the user name and password,I got an authentication page and when I do the same user name and password.I got this message,"Internal server error, you need to consult your server administrator and you can get further information on this problem by consulting your server log."

Last week I contacted the web host, and they asked for a detailed account of what I was doing...

Again, I can no longer access the control panel with my normal user name and password or the user name and password prepared for the master password configuration

Thx for your attention.

Please Log in to join the conversation.

5 years 7 months ago #122211 by Nick
Hi getaheacnow,

I'm not trying to give you the run around by asking you to contact your host ... but an internal server error usually means that there's a misconfiguration of the server with the software that's being run or something similar. Since it's at the server level, the error gets logged in the server error log with a detailed message. This detailed error message is usually key to figuring out what the specific issue is, which in turn is key to resolving it.

That being said, could you contact your host to ask them to check the server error log for you, as to why you're getting the 500 error?

Also, ask them if htpasswd authentication is enabled on the server.

Hope this helps! Let me know if you have any questions and I'll be glad to answer.

Kind regards,
Nick

p.s. if you just want to turn off that feature so you can get into your site, try the following steps:
1) Use your host's file manager to navigate to the /administrator folder of your site
2) Change the .htaccess file name to .htaccess-disabled

and that should allow you to get in again.

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

5 years 7 months ago #122307 by getaheacnow
Replied by getaheacnow on topic Internal Server Error during Admin Tools...
Hi Nick

For the moment let me add the following points:
First point
-I e-mailed my web host and they were not speaking in clear tones and I asked them this question again;"The internal error messages indicates that I should consult my server log to have an idea of the reasons behind this second level lock out."

And they e-mailed me,"you can't access the server log because you are on a mutual host server." To make me draw the conclusion that they deliberately locked me out because I have been improving the site.

Warm regards,

Please Log in to join the conversation.

5 years 7 months ago #122308 by Valentin
Replied by Valentin on topic Internal Server Error during Admin Tools...
Hi getaheacnow,

Admin Tools-Master Password Configuration-Gives Internal server Error

Via FTP or cPanel > File manager, go to administrator folder and rename .htaccess and .htpasswd to .htaccess-disabled and .htpasswd-disabled.

Clear browser cache and se if you can access backend.

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

5 years 7 months ago - 5 years 7 months ago #122378 by getaheacnow
Replied by getaheacnow on topic Internal Server Error during Admin Tools...
Hi Valentin

Via cp there is a file named .htaccess.txt in my file management area and I shall get back to you very soon.

Warm regards,

Please Log in to join the conversation.

5 years 7 months ago #122383 by Nick
Hi getaheacnow,

re: the error log:
If they won't allow you access the error log, ask them to access it for you and to just give you the error message that's relevant to your site. Their support is lacking, by the way.

In cPanel, make sure you select the option "Show Hidden Files (dotfiles)". The following tutorial should be of help if you're not getting that option:
www.ostraining.com/blog/coding/find-htaccess/

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

5 years 7 months ago #122500 by getaheacnow
Replied by getaheacnow on topic Internal Server Error during Admin Tools...
Hi Nick


However,from my cp->to file manager, I was able to get to the interface with administrator,Cache,Cli,mages,language,modules,logs and htaccess.txt.

The htaccess.txt has,icons for view, and edit.When I clicked on the view icon I was able to see the contents of the script but cannot find the htpassword script.

Please Log in to join the conversation.

5 years 7 months ago #122501 by Nick
Are you sure you're select "Show Hidden Files (dotfiles)" as mentioned above?

Without that setting, you'll see things like:
administrator,Cache,Cli,mages,language,modules,logs and htaccess.txt.

You won't see .htaccess and .htpasswd (note the dot in front of them).

Looking forward to helping.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

5 years 7 months ago - 5 years 7 months ago #122517 by getaheacnow
Replied by getaheacnow on topic Internal Server Error during Admin Tools...
In short,there was nothing like show hidden files and when I saw something similar to show hidden files;It took ages for the page to download or show up.

At this point,I find one or two things that are strange because I am using the core version of admin tools.I searched through the documentation to know that in the professional or paid version you have the:
-php file change scanner
-.htaccess
-and waf

And in the core or free version you can set secure url parameters,password protection and masterpassword. Again, I completed the confirm password when I saw another authentication window and after this stage,I was locked out from the administrator's area.

Whether I use my former joomla user name/password and the one used during the master password configuration setting.

Please Log in to join the conversation.

5 years 7 months ago #122541 by Nick
Hi getaheacnow,

re:

In short,there was nothing like show hidden files


Did you give the tutorial I mentioned a try? Here it is again:
www.ostraining.com/blog/coding/find-htaccess/

Here's the troubleshooting tip that's in it:

If you don't receive this popup asking you to "Show Hidden Files (dotfiles)", it's because you've selected "Skip this question" previously.

If you don't see the .htaccess file (or any dotfiles) in File Manager, scroll to the bottom of cPanel. Then click on "Reset All Interface Settings". Afterward, clicking on "File Manager" should get you the popup


Looking forward to helping.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

5 years 7 months ago #122546 by getaheacnow
Replied by getaheacnow on topic Internal Server Error during Admin Tools...
Hi Nick

Actually I went to my cp searching for phymyadmin to enable me to do the password change and I must tell you It was not visible or available.

And I got a detailed step-by-step guide from them some few minutes ago.

Please Log in to join the conversation.

5 years 7 months ago #122548 by Nick
OK, if you'd us to take a look for you, we'd be glad to go in and debug it.

If so, would you send us some login credentials to support@ostraining.com so we can take a quick look for you? Also, please do three things for us:
1) In the email, include a link to this forum post
2) In the email, include step by step direction of how to replicate the issue.
3) After sending the email, reply to this forum post letting us know you sent the email so that we can check it.

Looking forward to helping.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

5 years 7 months ago - 5 years 7 months ago #122831 by getaheacnow
Replied by getaheacnow on topic Internal Server Error during Admin Tools...
Hi Nick

In short,they asked me to connect to my cp and find my way to phymyadmin interface and do the changes at:jos_user.

There was nothing at jos_user related to my password recovery I e-mailed the technical support and they told me that it was at ...-user.There again, the changes didn't work and I am waiting for their reply.

I think they should be able to sort it out.

Thx for your attention.

Please Log in to join the conversation.

5 years 7 months ago #122833 by Valentin
Replied by Valentin on topic Internal Server Error during Admin Tools...
Hi getaheacnow,

Which prefix are you using for your database tables?
In that example jos_ is the prefix. Yours could be different.

Look for a table using something_user.

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

5 years 7 months ago #123037 by getaheacnow
Replied by getaheacnow on topic Internal Server Error during Admin Tools...
Hi Valentin
I just got a message from the web host telling me that they revised the .htacess and .htpasswd files and I was able to access my super user interface.

And I am asking you for one question;"do I delete "admin tools," because it was during the masterpassword configuration that I was locked out.

Due to the importance of this application especially the functions of the php file scanner in the paid version and many elements,I do not want to delete admin tools from my extension manager.What is your opinion?

Please Log in to join the conversation.

5 years 7 months ago #123043 by Nick
Hi getaheacnow,

There's not a need to delete it. You can simply turn off that option if you don't want to use it.

By the way, it doesn't sounds like it was the masterpassword setting, but rather the password-protect administrator setting.

Based off of the information given, looks like you were using the wrong username and password for it, so it was locking you out (due to having the wrong username and password). Thus, disabling the htpasswd that it generated on the server was the key to getting back in. If you were entering the right information, then the server has a misconfiguration with htpasswd and that needs to be resolved by your host.

Hope this helps! Let us know if you have any questions and we'll be glad to answer.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

5 years 7 months ago #123141 by getaheacnow
Replied by getaheacnow on topic Internal Server Error during Admin Tools...
Hi Nick

For the moment, I suspend all actions on admin tools.

Please Log in to join the conversation.

5 years 7 months ago #123142 by Nick
Sounds good. Let us know if you need any help when enabling it again.

Cheers,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

5 years 7 months ago #123178 by Madcockney
Replied by Madcockney on topic Internal Server Error during Admin Tools...
I have just been reading this and I have come across some of the issues wiht a particular web host so others maybe similar.

Akeeba Admin Tools Password Protection did not work on one host. It would hang there for ages and eventually time out. I had to delete the .htaccess file in Administrator. I subsequently used the folder protection that is available via cPanel.

To reset cPanel it will appear in different locations depending I assume the version, though it could be how the hosting company has set it up. Sometimes it appears at the bottom of cPanel and with one of the current hosts it is top right. Once that is done then you can select to see the .htaccess etc. I usually access via SFTP and you can then see all the files immediately.

On shared hosting the companies don't often even let you see the logs unless you make a lot of noise. I had this on one host when we moved the staging site across, using their tools for the staging creation, testing and migration, and one extension when the site went live stopped working part way through. Their only response was "employ a developer". Now I come from a server, network, and infrastructure background and if you want to see what is happening you need to see those logs. Anyway after getting a lot of flak from me they got one of their server engineers to look at the logs and let me see the results. And there it was a Jquery hanging problem. Reinstalled Jquery Easy and away it went working properly.

Please Log in to join the conversation.

5 years 7 months ago #123179 by Nick
Hi Madcockney,

Thanks for the great perspective! I'm sure it will be useful for others that come across this topic.

Having a detailed error message really does eliminate most of the guess work.

Cheers,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!