Articles

Joomla 1.6 errors

Moving from Joomla 1.5 to 1.6 can require a few changes to some components.

If you get a JParameter not found error then add

jimport( 'joomla.html.parameter' );

to the file just before the line number.

Similarly if you get an error regarding the following

$mainframe->getUserStateFromRequest();

Then instead of declaring $mainframe as global add the following line

$mainframe = JFactory::getApplication();