Joomla 1.5 stuck after PHP updated to 5.5
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sun Jan 16, 2011 6:10 pm
Joomla 1.5 stuck after PHP updated to 5.5
I have a problem with my old Joomla 1.56 sites, which, for lack of time, I was not yet able to migrate.
I made the stupid mistake to leave the debug setting ON, and after the PHP server of the hosting provider was updated to 5.5., both front and back end generates a long list of warning messages that makes the log in not working any more
You can get an idea of what happens looking at:
http://www.sipario-nl.org/joomla/administrator/
In one of the hosting provider, it was possible to go back to a previous version of PHP, entering into the admin control panel, disable the debug from the Global Configuration, then going back to PHP 5.5, and the problem was fixed .
With another provider, such temporary downgrading of PHP is not possible, and I am stuck.
I am looking for a way to disable the debug setting without logging into the admin control panel, for instance changing a setting into the MySQL DB.
Any help would be appreciated!
Thanks
Felix
-
- I've been banned!
- Posts: 2233
- Joined: Wed Nov 19, 2014 9:23 am
Re: Joomla 1.5 stuck after PHP updated to 5.5
joomla 1.5 not run well with php 5.5 so you should update site to new version.
Or decrease your php version.
Or decrease your php version.
- toivo
- Joomla! Master
- Posts: 17439
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Joomla 1.5 stuck after PHP updated to 5.5
The site from which you gave the URL displays PHP warnings, notices and Strict Standards messages. As a workaround, you can turn off error reporting by editing the file configuration.php:You should try to get your hosting provider to change the settings in the php.ini file so that errors and other types of messages are not displayed in the browser but written to the PHP error log. That is normally the standard setting for live sites.
The following setting works well in php.ini by suppressing those messages: This setting is presented as the numeric value 22517 at the back end of Joomla:
Help - System Information - PHP Information - error_reporting
You should seriously consider migrating the sites to Joomla 3.x. Please note that for Joomla 1.5 it is not a simple version upgrade but a migration which will most likely involve replacing obsolete templates and extensions.
Code: Select all
var $error_reporting = '0';
The following setting works well in php.ini by suppressing those messages:
Code: Select all
error_reporting = E_ALL & ~(E_NOTICE | E_WARNING | E_STRICT | E_DEPRECATED)
Help - System Information - PHP Information - error_reporting
You should seriously consider migrating the sites to Joomla 3.x. Please note that for Joomla 1.5 it is not a simple version upgrade but a migration which will most likely involve replacing obsolete templates and extensions.
Toivo Talikka, Global Moderator
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sun Jan 16, 2011 6:10 pm
Re: Joomla 1.5 stuck after PHP updated to 5.5
Thanks for the hint. Being the hosting provider not very responsive, do you think there is a way to get into the Joomla logging setting via the MySQL DB?
- toivo
- Joomla! Master
- Posts: 17439
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Joomla 1.5 stuck after PHP updated to 5.5
The setting is in php.ini and normally on shared servers you do not have access to modify it because all sites would be affected.
Toivo Talikka, Global Moderator
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sun Jan 16, 2011 6:10 pm
Re: Joomla 1.5 stuck after PHP updated to 5.5
Thanks, but my question is still open: can I do it via the Joomla DB, i.e. accessing the MySQL admin interface?
- toivo
- Joomla! Master
- Posts: 17439
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Joomla 1.5 stuck after PHP updated to 5.5
No, the error reporting is controlled at PHP level.
Toivo Talikka, Global Moderator
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sun Jan 16, 2011 6:10 pm
Re: Joomla 1.5 stuck after PHP updated to 5.5
Thanks, I have find a solution in a post, which allows the Joomla 1.56 site to become accessible again under PHP 5.5: suppressing the php error message not in the php.ini (which is not visible to me) but in the .htaccess file, adding:
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
php_value docref_root 0
php_value docref_ext 0
It is not elegant, but it works!
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
php_value docref_root 0
php_value docref_ext 0
It is not elegant, but it works!
- Per Yngve Berg
- Joomla! Master
- Posts: 30930
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Joomla 1.5 stuck after PHP updated to 5.5
At least, update your Joomla to 1.5.26. support for php 5.3 was added in 1.5.15.