Posts

Showing posts with the label error message

Wordpress menus and pages redirect to 404 content not found. How I fixed it.

TL;DR the PHP version was upgraded without my knowledge. I removed the upgrade reference in .htaccess (or downgraded it) to fix the problem.  I found that all wordpress content on my site were suddenly redirecting to an empty content page (error 404). I had set all 404 to redirect to the home page so all links were redirecting to the home page. This was alarming because I had not made any changes or updated the website. This was a cpanel hosting package. Many searches online pointed me to the permalink options in the admin area but that did not resolve my problem. Also it was suggested the issue resided in the .htaccess file in my hosting.  What I eventually did after the solution to the problem had eluded me for a whole day was to compare the current htaccess file with a backup htaccess file using a text comparison tool . I soon discovered my php had been upgraded to a higher version by my hosting provider without my being notified. I found this code in the HTACCESS file # ph...

How to suppress error messages when you move or install joomla 1.5 on a new server

When you move joomla to a new server or install joomla 1.5 you might receive several error messages including Warning: session_start(): Cannot send session cookie - headers already sent by Strict Standards : Non-static method JLoader::register() should not be called statically Strict Standards : Non-static method JPath::find() should not be called statically, assuming $this from incompatible context  Strict Standards : Non-static method JFactory::getDBO() should not be called statically, assuming $this from incompatible context  Strict Standards : Non-static method JRequest::clean() should not be called statically Strict Standards : Declaration of JSession::set() should be compatible with JObject::set($property, $value = NULL) Strict Standards : Non-static method JSessionStorage::getInstance() should not be called statically, assuming $this from incompatible context in To suppress / Fix / Solve these errors Add to to your php.ini or Create a file called PHP.ini a...