Jump to content

Recommended Posts

Posted

Hi,

 

Ever since you upgraded the server to PHP 5.3.2 , I've been experiencing some problems with my Joomla site. Apparently, Joomla! 1.5 is incompatible with PHP 5.3.x and therefore prints warnings about deprecated functions and the like. I've read in this forum that the same thing happened to another user and you recommended replacing those deprecated functions by the new ones but that would mean revising and rewriting all the Joomla code, which is out of the question.

However, you also suggested disabling warning notifications, which seems a much better and simpler solution. But when I tried to set this through my cPanel I found out that I am not allowed to overwrite the php.ini file, so I have no way of disabling warnings. As a result, I have no other option than to ask you to disable them for my account so that my site keeps running properly, unless you can provide me with a way to downgrade the PHP version for my site or suggest another feasible solution.

 

Thank you in advance,

Mariano

Posted

Try putting this at the top of the php page that's giving you the warnings:

 

<?php
error_reporting(0);
?>

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...