Joomla 1.0 and php 5.3

Today on the server upgraded environment, including php to version 5.3. Rejoice - almost all sites on joomla 1.0 does not show content, some does not work. 1.5 The branch and some components (and virtuemart, OPPA) survived and even showed the form that took place update.

Googling and found a solution for Joomla 1.0 (thanx to Nikita Baksalyar)

Add to configuration.php the following code:

 error_reporting (E_ALL ^ E_NOTICE ^ E_DEPRECATED); 
date_default_timezone_set ('Europe / Moscow');

And in file / includes / Cache / Lite / Function.php replace the line № 92

 $ Result = call_user_func_array (array ($ class, $ method), $ arguments); 

at

 $ Result = call_user_func_array (array ($ class, $ method), & $ arguments); 

and line 100:

 $ Result = call_user_func_array ($ target, $ arguments); 

at

 $ Result = call_user_func_array ($ target, & $ arguments); 

Another patch file includes / joomla.php :

 $ Params = & new mosParameters ($ my-> params, $ file, 'component'); 

at

 $ Params = new mosParameters ($ my-> params, $ file, 'component'); 

That's it - works. But by not working non-standard components, this is, of course, will not save. So the best course to update to 1.5

vis_1

Contact

518 4067
220 5532

icq 255018290

info@redsoft.ru

 

 

Redsoft-участник top25 рейтинга рунета

Redsoft - участник Top25
рейтинга студий России