Category: Joomla

Joomla fix after PHP update

1. Fatal error: Class ‘JFile’ not found in

fix

add this to the top of the php file

jimport(‘joomla.filesystem.file’);

2. display php errors off if deprecated after php version upgrade

error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED

[Total: 0    Average: 0/5]