Support

Site Restoration

#22510 404 error but not on "index.php?XYZ" links?

Posted in ‘Site restoration’
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

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by user87320 on Wednesday, 22 April 2015 08:58 CDT

user87320
I have taken over 3 Joomla websites from another company who is closing down. Using Akeeba I have successfully backed and restored two of them to my server.

This last website was more complicated (3 x databases). Once restored I got an 500 error message.

As per your troubleshooting instructions:

I changed my php.ini file to
error_reporting=E_ALL
display_errors=Off
memory_limit = 64M

On the other two websites I had to use the .htaccess file to write this:
<IfModule mod_suphp.c>
suPHP_ConfigPath /mypath/public_html/php.ini
</IfModule>

But on this website this .htacess file gave me an 500 error. So I named the .htaccess file .htaccess.bak and I could finally see the home page.

But now only links that end in "index.php?option=com_content...." work perfectly - BUT other links that end with eg: "mytempurl.com / home-lodge.." give a 404 error message.

I also changed the
public $live_site = "http://www.mytempsite.com";

I went through the 3rd party files but cant find anything that has a hardcoded url in it. (and I am aware you cant provide support for 3rd party plugins) but perhaps the fact that it works on "?" links and not the "/" links shows you the problem?

Thank you.

user87320
SOLVED!

After much messing around I turned on SEF and used Joomla's default .htaccess file. (although why I had to create a custom .htaccess file on the other two websites I dont know)

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!