Joomla does not support PHP 5.3

OpenSource, Tips and Tricks
Are you getting these errors in Joomla? Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference, value given in /home/xx/public_html/libraries/joomla/cache/handler/callback.php on line 99 or Warning: Parameter 1 to HTML_content::show() expected to be a reference, value given in /home/xx/public_html/travel/includes/Cache/Lite/Function.php on line 92 Its because Joomla does not support PHP 5.3 or PHP 5.3.1 Just downgrade your PHP version and these errors will go away Use the following fix as proposed by Alexis in the comments. He says Here is a simple solution to fix it: Open /includes/Cache/Lite/Function.php and replace at line 74: [php firstline="74" title="Editing File includes/Cache/Lite/Function.php"]$arguments = func_get_args();[/php] with: [php firstline="74" title="Editing File includes/Cache/Lite/Function.php" highlight="75,76,77,78,79"]$arguments = func_get_args(); $numargs = func_num_args(); for($i=1; $i < $numargs; $i++){ $arguments[$i] = &$arguments[$i]; } [/php]
Read More

Fixing Pear ‘unsupported protocal’ error

CentOS, How to, Linux, Tutorials
Are you getting the following error while updating any package in pear? pear.php.net is using a unsupported protocal - This should never happen. I got this error right after I upgraded PHP from 5.2 to 5.9 (using CentOS-Testing repo). To resolve this situation, do this. [code lang="plain"]rm -fr /usr/share/pear/.channels[/code] and then do this [code lang="plain"]pear update-channels[/code] It should now give you the following output [code lang="plain"]Updating channel "doc.php.net" Update of Channel "doc.php.net" succeeded Updating channel "pear.php.net" Update of Channel "pear.php.net" succeeded Updating channel "pecl.php.net" Update of Channel "pecl.php.net" succeeded[/code] That's it, your issue is resolved.
Read More