0
Welcome Guest! Login
0 items Join Now

Solved: PHP 5.3.3 - 5.4.4 upgrade breaks site, code on page

    • Chemory's Avatar
    • Chemory
    • Rocketeer
    • Posts: 99
    • Thanks: 0

    Solved: PHP 5.3.3 - 5.4.4 upgrade breaks site, code on page

    Posted 11 years 9 months ago
    • Hi Rockettheme, I did try searching the forum for an answer but got 70 000 odd results. (No Luck)

      We are in the process of upgrading our PHP version 5.3.3 to 5.4.4 as it is being discontinued with our host. We have not had issues with our joomla sites working on PHP 5.4.4. Except for one.

      I have attached a screenshot of what I am seeing on the site when I set my PHP version to 5.4.4 in the PHP.config.

      This image is hidden for guests.
      Please log in or register to see it.


      This image is hidden for guests.
      Please log in or register to see it.


      The site is running Joomla! 2.5.14
      on rt_enigma

      This is what the top code says in php 5.4.4:
      Strict Standards: Declaration of JParameter::loadSetupFile() should be compatible with JRegistry::loadSetupFile() in /usr/www/users/aromarfxfw/libraries/joomla/html/parameter.php on line 512 Strict Standards: Only variables should be assigned by reference in /usr/www/users/aromarfxfw/plugins/system/j2store/j2store.php on line 31 Strict Standards: Only variables should be assigned by reference in /usr/www/users/aromarfxfw/plugins/system/j2store/j2store.php on line 35 Strict Standards: Only variables should be assigned by reference in /usr/www/users/aromarfxfw/plugins/system/j2store/j2store.php on line 36

      Is there a way to fix this? any help would be appreciated.
      Thanks & Kind Regards
    • Last Edit: 11 years 9 months ago by Chemory.
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: Solved: PHP 5.3.3 - 5.4.4 upgrade breaks site, code on page

    Posted 11 years 9 months ago
    • hi there,

      those strict standards errors should disappear if you change your error reporting level to 'default' or 'none' in the joomla administrator > global configuration.

      anyways, those errors refer to core joomla files (/libraries/joomla/html/parameter.php) and a system plugin (/plugins/system/j2store/j2store.php).

      your best option is to post in the joomla.org forum and to contact the developers of that j2store plugin.

      kat :)
    • Kat05 / QA Lead & Support / Germany
    • Chemory's Avatar
    • Chemory
    • Rocketeer
    • Posts: 99
    • Thanks: 0

    Re: Solved: PHP 5.3.3 - 5.4.4 upgrade breaks site, code on page

    Posted 11 years 9 months ago
    • Hi Kat

      That has done the trick.

      Error Reporting was set to "System Default" i changed it to "None" and page display on 5.4.4 is now normal.

      I have checked form and cart functions and all seems ok, Ill check for extension updates now.

      Thanks again & Kind Regards

      John

Time to create page: 0.052 seconds