category:

Keep Joomla 1.0.x compatible after upgrading PHP 5.2 to 5.3 in Plesk
PHP 5.3 introduces various new tags and deprecated certain PHP functions which were being supported till ver 5.2. We recently upgraded the PHP version on one of our servers to 5.3 and found that it broke one site which was built on ver Joomla 1.0.x. Following is a simple update to ensure that the site still works on the new version of PHP 5.3.x. Edit the Function.php file under  your Joomla directory on /public_html/includes/Cache/Lite. Replace: $arguments = func_get_args(); with $arguments = func_get_args(); $numargs = func_num_args(); for($i=1; $i < $numargs; $i++){ $arguments[$i] = &$arguments[$i]; } in includes/Cache/Lite/Function.php. It will fix compatibility view issues for joomla 1.0.x on php 5.3.x and this resolved the issue for us.
Share
Comments (9)

9 responses to “Keep Joomla 1.0.x compatible after upgrading PHP 5.2 to 5.3 in Plesk”

  1. Nicola says:

    Guys you saved my holidays! Thank you for your tip!

  2. Nico says:

    Thank you so much.
    All the article disapeared after PHP migration, i spent 2 days looking for this solution.

  3. Nico says:

    I just translated your tip in a french forum : http://forum.ovh.com/showthread.php?t=29848

    with a link to this page

    Thanks again

  4. Hugh says:

    My sincere thanks, this and another Joomla 1.0.x site have been rescued by your solution above after their old server was shut down by the host company and the sites migrated to one running PHP 5.

  5. Javier says:

    Thank’s a lot. It would have been really hard to migrate these 150 Joomla 1.0 websites to the new hosting without this hint.

  6. Warren says:

    Genius!!

    Thank you. This saved me so much time, effort and money.

    It just worked.

    It has been impossible to find any valid pages where I can still download the required components to upgrade Joomla from 1.0.x. So this is a lifesaver because I was going to need to use a third party ($$$) to migrate the site to 3.0

    My web hosting company was also not wanting to downgrade PHP for my domain.

    Please leave this post here so other stuck people can get the info.

    Thanks again

    • admin says:

      Hi Warren,

      Its good to know this post helped you in resolving this issue. I believe it would be best if you upgrade your website to the latest version of Joomla in the near future.

      Best,
      Hriday Biyani

  7. Adam says:

    When something works so well, and when you also find it quickly via a relevant search, then you really cannot ask for anything more. I used this tip to keep a clients Joomla 1.0 site running simultaneously with the new J3! site. Amazing! Works on php5.4! Much Gratitude!

Leave a Reply

Your email address will not be published. Required fields are marked *

+ 85 = 94

Related:

Stay Updated

Please enter your details below to get
A Free Trial
x + x* =