PLEASE HELP!!! PHP upgrade to 5.4.4

Joomla template for easily build sports magazine website with advanced content display features and clean, unique design.
GK User
Thu Sep 19, 2013 11:57 am
Hi Please can you help!!!
Our hosting provider is upgrading the php from 5.3.3 to 5.4.4. The modules on Sporter do not work on 5.4.4 and just shows code. What can I do to upgrade?
Thanks
User avatar
Senior Boarder

GK User
Fri Sep 20, 2013 1:07 am
What is the code say, is it an error code? Can you ask your host not to update your php version?
User avatar
Platinum Boarder

GK User
Fri Sep 20, 2013 6:46 am
This is what is shown on screen instead of the modules. this happens for all the modules. Thanks

Strict Standards: Only variables should be assigned by reference in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/gk_classes/gk.source.joomla.php on line 84 Strict Standards: Only variables should be assigned by reference in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/gk_classes/gk.source.joomla.php on line 85 Strict Standards: Only variables should be assigned by reference in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/gk_classes/gk.source.joomla.php on line 87 Strict Standards: Only variables should be assigned by reference in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/gk_classes/gk.source.joomla.php on line 89 Strict Standards: Only variables should be assigned by reference in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 109 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 136 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 137 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 136 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 137 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 136 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 137 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 136 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 137 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 136 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 137 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 136 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 137 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 136 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 137 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 136 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 137 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 136 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 137 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 136 Strict Standards: Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /usr/www/users/myplazmhuv/modules/mod_highlighter_gk4/helper.php on line 137
User avatar
Senior Boarder

GK User
Fri Sep 20, 2013 7:50 am
These are not errors, they are simply notices, your site will still work fine.

What is your joomla version and module version. Try updating them to latest version if its compatible with your joomla version.

If there is no update to your module then try turning off error reporting in joomla admin > global configuration > server > error reporting.

Alternatively contact your host to disable error reporting in your server.
User avatar
Platinum Boarder

GK User
Fri Sep 20, 2013 9:54 am
I'm using version 2.5.4. Have had error reporting disabled on server side and from global config and still shows the same. Thanks for the quick response.
User avatar
Senior Boarder

GK User
Fri Sep 20, 2013 11:01 am
Send me an admin access where I can check your site please. You can send the details to my email normanuk[at]live.co.uk

Please include this topic subject as your email subject so I know it is from you.

Just for your information problem is not about fixing these notices as you will also get them from other components or extensions.
User avatar
Platinum Boarder

GK User
Fri Sep 20, 2013 11:23 am
message sent – thanks!
User avatar
Senior Boarder

GK User
Fri Sep 20, 2013 8:34 pm
I can see your site is running php 5.3.3.7 and everything is working.

Where did you see these errors?
User avatar
Platinum Boarder

GK User
Fri Sep 20, 2013 8:48 pm
The servers are being upgraded to 5.4.4, when changed to 5.4.4 the modules you get the message text
User avatar
Senior Boarder

GK User
Fri Sep 20, 2013 8:58 pm
I can fix these errors by running a test server with php 5.4.4 but please note you will see same notices in other components or extensions.

So easier way is to not to display these E-Strict messages. In your php.ini for your server your host needs to add this.
User avatar
Platinum Boarder

GK User
Sat Sep 21, 2013 2:23 am
Thanks, can you explain further... Thanks
User avatar
Senior Boarder

GK User
Sat Sep 21, 2013 6:06 am
They need to change error reporting feature to not to display strict standards messages and or notices such as below configuration.

Code: Select all
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT


Which will display error messages and hide notices and strict standards messages.
User avatar
Platinum Boarder

GK User
Mon Sep 23, 2013 8:42 am
Hi, I have requested them to add the line of text, they say I need to upgrade the modules. I have done and still get the messages.... What else can I do?
User avatar
Senior Boarder

GK User
Mon Sep 23, 2013 8:52 am
I don't understand why your host can't simply disable notices from showing in your server.

If you have a testing account with php 5.4+ send me your ftp access and I ll fix our modules error but you are still going to get errors from other components and modules so what you are going to do about those.

Send ftp details to my email normanuk[at]live.co.uk.

Alternatively keep using php 5.3.37 and tell your host not to upgrade your account.

See you around...
User avatar
Platinum Boarder

GK User
Mon Sep 23, 2013 10:08 am
Message from the hosting co. say that the modules are outdated and need to be updated. I have updated the Image Show GK4 to the latest version 1.38 and still get the messages, you say its a a server side issue and they say its a module problem and I am just confused!
User avatar
Senior Boarder

GK User
Mon Sep 23, 2013 10:28 am
Simple : )

Its kind of both but our modules has to care for other versions of php, if we use code specific for php 5.4+ then users who use older versions will have problems as new codes will not be available in older versions of php.

And why do you think our modules work fine in your current php version.

Before going any further just test your website on your new php 5.4+ and make sure below is configured properly.
Code: Select all
display_errors: Off


Then you will not see these notice messages as they will be hidden.
User avatar
Platinum Boarder

GK User
Mon Sep 23, 2013 10:47 am
Thanks, I understand where you are coming from and appreciate that you would not build modules for single versions. Where would this code go? Thanks again for you patience on this problem.
User avatar
Senior Boarder

GK User
Mon Sep 23, 2013 11:27 am
Code: Select all
display_errors: Off


This a php configuration and it is usually set by your host unless you have access to php.ini config file.
User avatar
Platinum Boarder

GK User
Tue Sep 24, 2013 6:33 am
This is the response from our hosting provider:
"On our side, we have disabled display_errors, as well as setting the errors to the strictest value, and we still see all the same errors.
This shows that the error is not in PHP itself, but rather in the modules used in Joomla. In order to make the site 5.4.4 PHP ready, these modules either need to be disabled and not used, or they have to be upgraded to support the new version of PHP.
The display_error = off will not hide errors with regards to Joomla, hence why you are still seeing errors."
User avatar
Senior Boarder

GK User
Tue Sep 24, 2013 11:24 am
Seriously to continue this discussion please supply me with an access to this server they are testing on.
User avatar
Platinum Boarder

GK User
Wed Sep 25, 2013 5:38 am
Hi Norman
Do you want the FTP details?
User avatar
Senior Boarder

GK User
Wed Sep 25, 2013 9:39 am
Website link
Admin access
Ftp access

For this server running on php 5.4.4 so we can check.
User avatar
Platinum Boarder

GK User
Mon Oct 07, 2013 9:39 pm
Hi there

I am experiencing the same problem with the Strict Standards display errors.
I have done the following:
* Request my host turn off PHP error reporting which they have done.
* added "error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT" to php.ini (though I created this php.ini file myself so I'm not sure if this works).

I'm running on PHP 5.4.4.
http://www.campafrica.org/index.php

Could you please assist?

Regards,
Anita
User avatar
Junior Boarder

GK User
Mon Oct 07, 2013 10:16 pm
Can you check php information in site > system information from joomla admin panel and look for display_errors, if its on that means something still overriding this setting.
User avatar
Platinum Boarder

GK User
Mon Oct 07, 2013 10:22 pm
Thanks for your quick response.

Display Errors is set to be Off and under Global Configuration > Server Settings I have also selected Error Reporting to be "none".

Do you need me to send you any FTP/login details?
User avatar
Junior Boarder

GK User
Mon Oct 07, 2013 10:34 pm
Sure you can, either as private message or to my email normanuk[at]live.co.uk.

See you around...
User avatar
Platinum Boarder

GK User
Wed Nov 06, 2013 8:59 am
Hi:

I have the same problem at www.peritaxa.ad, I have upgraded my server and all webs works correctly but www.peritaxa.ad doens't work due to Strict Standard errors.

I have un my joomla php configuration display erros inactive and in php.ini i have

error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED

But I have still errors, can anyone help me ??

Thanks
User avatar
Fresh Boarder

GK User
Sat Jan 25, 2014 12:07 pm
User avatar
Platinum Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.