| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
PHP 5.4 compatibility for older versions of X-Cart (4.0.19; 4.1.12) | ||||
|
|
Thread Tools |
#21
|
|||||||||
|
|||||||||
Re: PHP 5.4 compatibility for older versions of X-Cart (4.0.19; 4.1.12)
Quote:
Thanks for bringing this issue up Steve. Please update this thread if/when you find out anything. Lets hope we get a responce from QT on this asap. I am looking to upgrade to v4.6.x but with not saving annon customer data not yet resolved as well as a couple of other issues I been dragging my feet. |
|||||||||
#22
|
|||||||
|
|||||||
Re: PHP 5.4 compatibility for older versions of X-Cart (4.0.19; 4.1.12)
Wasn't this already addressed by QT in
http://bt.x-cart.com/view.php?id=43030 See the extra patch added there. Basically you need to add to top.inc.php: # If register_long_arrays = off (php5) if (empty($HTTP_SERVER_VARS)) { $HTTP_SERVER_VARS = (array)$_SERVER; $HTTP_GET_VARS = (array)$_GET; $HTTP_POST_VARS = (array)$_POST; $HTTP_COOKIE_VARS = (array)$_COOKIE; $HTTP_POST_FILES = (array)$_FILES; $HTTP_ENV_VARS = (array)$_ENV; }
__________________
X-Cart Gold v4.5.1 |
|||||||
|
#23
|
|||||||||
|
|||||||||
Re: PHP 5.4 compatibility for older versions of X-Cart (4.0.19; 4.1.12)
Thank you for this link.
This is the problem - first the bugtracker does not work and it is easier to find a fly on elephant's ass than something in the bugtracker; and the link to this very important fix is just posted without any explanation of what it is or for what - I missed it.... FOR THE OTHERs WHICH SEEMS TO MISSED IT AS WELL - POST #11 This is still a major flow of how to handle the situation given the fact that the bug tracker basically does not exist in the shape it is right now and Post#11 could have mentioned something to bring up everyones attanetion to this....
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#24
|
|||||||||
|
|||||||||
Re: PHP 5.4 compatibility for older versions of X-Cart (4.0.19; 4.1.12)
Is it too much to ask for Bug Tracker to at least be back to what it was before the recent change, some context on the BT links in this thread, and the first post be updated so it reads as a single comprehensive guide?
|
|||||||||
|
#25
|
|||||||||
|
|||||||||
Re: PHP 5.4 compatibility for older versions of X-Cart (4.0.19; 4.1.12)
Thank you, the 1st post of the thread is updated to include the info from post #11.
__________________
X-Cart team |
|||||||||
#26
|
|||||||
|
|||||||
Re: PHP 5.4 compatibility for older versions of X-Cart (4.1.19; 4.1.12)
I am not sure if anyone has thought of this until it may have been too late, but has anyone taken add on mods into consideration with php 5.4 comparability?
I see everyone has spoken of cart compatibility from as early as inception, but no one has said if they had issues with their mods or add ons. I have a lot of both, and I wonder if anyone has had issues with any of BCS's, Jon's CDSEO, Altered Cart, Firetank mods or add ons etc? Would anyone like to chime in and let us know if they upgraded to 5.4.x and lost the use of some mods? The reason I say this is MySQL is also upgraded when updating php to 5.4.x, and once it is updated you cannot downgrade MySQL so it would be a total loss and big issues. Have you had issues or total success, or have you not tested add ons or mods post update and just don't know?
__________________
vs 4.1.12 |
|||||||
#27
|
|||||||
|
|||||||
Re: PHP 5.4 compatibility for older versions of X-Cart (4.0.19; 4.1.12)
I have applied the php5.3.x-patch-2010-04-12_4.1.12 to my 4.1.11 X-cart store as I have been prompted by our ISP they will be changing soon to PHP 5.3 .
When looking into summary under php info, the site is still saying that is running PHP 5.2.17. How can I check that the patch has been applied properly ?
__________________
X-Cart ver. 4.4.2 ( www.responseelectronics.com ) X-Cart ver. 4.1.11 ( www.mrdoorbell.com) |
|||||||
#28
|
|||||||||
|
|||||||||
Re: PHP 5.4 compatibility for older versions of X-Cart (4.0.19; 4.1.12)
If you have applied the patch (modified the files) then it is applied. The PHP version under Summary is the PHP installed on the server - it has nothing to do with XC. This number will change if/when your host upgrades PHP.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#29
|
|||||||
|
|||||||
Re: PHP 5.4 compatibility for older versions of X-Cart (4.0.19; 4.1.12)
i was able to fix my XCART Version 4.1.10 to perfect work under PHP 5.4 just by going to the check_requirements.php and editing line 162 from 1 to 0 for the option :
if (phpversion() >= "5.0.0") { $CHECK_REQUIREMENTS["req_vars"][] = array ( "option" =>"register_long_arrays", "req_val" =>1, "real_val"=>"", "critical"=>0); } i hope this can help anybody else with the same issue Junior
__________________
https://waynerogersvideo.com/xcart/VERSION |
|||||||
|
#30
|
|||||||
|
|||||||
Re: PHP 5.4 compatibility for older versions of X-Cart (4.0.19; 4.1.12)
Quote:
The crash was due to a PHP5.3 entry in the php.ini file that conflicted with PHP5.4. The php.ini file was not needed so it was removed and the cart was back online. However, later in the day I found hundreds of those dreaded "Illegal string offset" warnings caused by xcart's modules and third party add-on modules. I understand that these warnings will not cause the cart to fail. However, I decided that rather than fill the logs with warnings (or force their suppression), I instead reverted back to PHP5.3. Fortunately my host's control panel allows the users to select the version they want. The default PHP5.3 settings were chosen; All is back to normal now.
__________________
Thomas / USA XCart V4.4.5 Gold XCart Mobile V1.4.12 XCart X-PDF XCart X-HotProducts AlteredCart Checkout One (One Page Checkout) BCSE Back In Stock CFL Holiday Message CFL System Message Smack Digital (WebsiteCM) Remember Anon Carts xcartmods Testimonials xcartmods reCAPTCHA for X-Cart Classic Unix, PHP 7.0 (patched 5.4). MySQL 5.6 |
|||||||
|
|||
X-Cart forums © 2001-2020
|