Support

Admin Tools

#34580 Internal Server Error immediately after rebuilding a functional site on the same server but another subdirectory

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Friday, 19 February 2021 16:11 CST

VladGhitulescu

Hey!

 

I've built a new, empty Joomla!-website under a subdirectory-structure like

/root/beta/subdir_1/subdir_2

, installed and configured Akeeba's Backup, Admin Tools and LoginGuard and made a backup.

This very backup is the one I want to use in order to restore this (empty) website into another subdirectory on the same server.

I developed the site further until I reached the point I wanted to go further with the above backup into another subdirectory on the same server.

So I've created the new subdirectory like:

/root/beta/subdir_3/subdir_4

I created then a new database, I deleted the whole old website (subdir_1/subdir_2) and then transferred the backup and kickstart.php into the /root/beta/subdir_3/subdir_4.

The restore worked flawlessly, I could see the front-page of the website, but in the moment I tried to reach the backend with the secret URL, AFTER successfully input of the user-name and password of the password protected administrator I've got an internal error.

So I started searching.

Changing the .htaccess into htaccess.bak (like suggested in http://akee.ba/500htaccess) didn't work.

I didn't know further, so I repeated the whole:

- I deleted the whole subdirectories

- created a new database

and restored again into /root/beta/subdir_3/subdir_4... only to get the 500 internal error again!

Fortunatelly enough I've discovered this question

https://www.akeeba.com/support/admin-tools/Ticket/24951:500-internal-error-after-installing-admin-tools.html

where you suggested additionally to rename also the .htaccess from the administrator-folder.

THAT did the trick, the normal login appeared, after this the LoginGuard and now I'm in!

Question 1: I don't want this one more time! What should I do, now that I'm logged in into the back-end as a Super User, in order to avoid something like this again?

Question 2: Why on earth happens something like this? The subdirectories were empty, the databases were new and as I made my gold-backup :-) the former Joomla!-installation was ok.

Thanks!

 

Regards,
Vlad

 

VladGhitulescu

Follow-Up: Admin Tools warns me about an "Invalid Joomla Configuration", see the attached screenshot

How can I correct this?

AND

How could that be?! I didn't get this on the website I've restored from and this website is brand new!

---

EDITED: I've figured this one myself by editing the path for the tmp-folder. 

The OT remains.

VladGhitulescu

Can the .htaccess also get changed AFTER creating them the first time with the htaccess-Maker?

nicholas
Akeeba Staff
Manager

Everything you've asked is readily answered in our documentation.

https://www.akeeba.com/documentation/akeeba-backup-documentation/restoring-backups.html#general-guidelines read  “If you are restoring on a subdomain, make sure that the subdomain's root directory is NOT a subdirectory of your main site”.

https://www.akeeba.com/documentation/akeeba-backup-documentation/restoration-troubleshooting.html#prbasicts read "If your site was using Admin Tools' .htaccess Maker"

https://www.akeeba.com/documentation/akeeba-backup-documentation/angie-joomla-setup.html read about the "Delete the .htaccess and .htpasswd files in the administrator directory" option. Also click the show help button in the Site Setup page when running the restoration.

https://www.akeeba.com/documentation/admin-tools/atadminpw.html especially "500 Internal Server Error when enabling this feature" and "404 Not Found error page or Joomla error page when enabling this feature"

https://www.akeeba.com/documentation/admin-tools/htaccess-maker.html about using the .htaccess Maker which of course can be used any number of times — otherwise what would be the point?!

Kindly refrain from posting a barrage of trivial tickets every weekend. Instead, please spend this weekend reading the documentation.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!