Support

Admin Tools

#39461 Can't access backend or frontend of joomla site

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
4.3.4
PHP version
8.2
Admin Tools version
7.4.1

Latest post by nicholas on Monday, 11 September 2023 07:11 CDT

LAMF

Hi,

I have changed server on the webhost and now I can't access thge site any more.

First I tried to log in but I never came through the first phase with the POp-up window login.

So I went back to an old support case and then I followed this steps:

"First, try deleting the .htaccess and .htpasswd files from your site'sΒ administratorΒ folder β€” NOT the main folder! Directory password protection does not work the same on all servers. You might have a server which doesn't like the current .htpasswd file."

And now I can't access frontend either.

Error message:Β 

Forbidden

You don't have permission to access this resource.

And when trying to reach backend:

"No configuration file found and no installation code available. Exiting..."

So what can I do now?

The only way to access the site is via ftp.

BR

Micke

nicholas
Akeeba Staff
Manager

You can remove both .htaccess files (site root and administrator).

However, I believe that the problem is that you do not have a configuration.php file.

Did you transfer the site using Akeeba Backup? If so, did you have any errors during the restoration? I believe that you got a message that the configuration.php file cannot be written but you may have dismissed it without following the instructions on that page (which is totally human, given that 99% of the times restoring a backup it is merely a matter of clicking Next without as much as reading what each page says).

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!

LAMF

Hm I don't know but you're totally right that tehre is no configuration.php.

I actually tried to use my hosts file manager as it is always a lot faster to erase all files that way and then upload the akeeba package and restore the site.

This time the file manager didn't succeed to erase the directories but the rest of the files got erased, so I have also an issue that I hope my host will fix soon or else I will have to

erase everything through FileZilla ftp client adn start all over.

nicholas
Akeeba Staff
Manager

Hm I don't know but you're totally right that tehre is no configuration.php.

That's the only root cause of the error message β€œNo configuration file found and no installation code available. Exiting...”. You will see it comes from Joomla's administrator/includes/framework.php lines 19 to 33.

This time the file manager didn't succeed to erase the directories but the rest of the files got erased, so I have also an issue that I hope my host will fix soon or else I will have to

So, is it possible that there were leftover files from a previous Joomla! version? That could explain the 403 in the frontend, but I can't think of why you'd be getting the error in the administrator if you do have a configuration.php β€” unless, of course, there's something going wrong at the host's side (e.g. the Operating System's or PHP's file stat cache is not being cleaned, something I'd seen a decade ago on some misconfigured hosts using OpenLinux when memory got tight).

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!

LAMF

Yes there are issues with the new accounts that I have at my host.

They admitted it so I have started to erase all via ftp now, that will for sure solve my issue but I'll have to wait a little longer for them to be erased.

So thanks for now, as always great support here.

nicholas
Akeeba Staff
Manager

You're welcome!

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!