JerS Posted December 11, 2018 Share Posted December 11, 2018 Hello CC-team, I recently had CubeCart offline due to an update of PHP on the hosting server. My hosting provider updated PHP 5.6 to 7.2 This resulted in a blank CC-shop page. CubeCart doesn't seem to run on PHP 7.2. I use CubeCart 6.2.2 Thankfully the provider placed my webspace on a not updated server. But eventually it will be updated. Just to let you know. Kind regards, Jeroen Link to comment Share on other sites More sharing options...
havenswift-hosting Posted December 11, 2018 Share Posted December 11, 2018 CubeCart works perfectly on PHP7.2 and if I was you, I would take up the following points with your hosting company as being pretty unprofessional 1) If they did the update without plenty of prior notice then that is wrong - there are plenty of things that upgrading the version of PHP can break 2) It is most likely that you are running a third party extension that has been encoded using ionCube and when updating the version of PHP, you would need to obtain a new version of that plugin encoded to run on PHP 7.2 However, this would be obvious from the PHP error_log file and server logs and so should have been seen by the hosting company However, you need to check your local PHP error_log file and get your hosting company to check server error logs as one of these will undoubtedly show the problem Ian Link to comment Share on other sites More sharing options...
bsmither Posted December 11, 2018 Share Posted December 11, 2018 Please create the error_log (https://forums.cubecart.com/topic/51550-how-to-create-the-error-log/). You may find that the new version of PHP has not been configured to use a necessary dependency. Link to comment Share on other sites More sharing options...
-=Mike=- Posted December 15, 2018 Share Posted December 15, 2018 I have the same problem but dont know what to do, made the error.log and see lot of problems (not running third party extension). If someone can tel me what to do to repair please. error_log Link to comment Share on other sites More sharing options...
bsmither Posted December 15, 2018 Share Posted December 15, 2018 My guess (a guess because I am not an expert in server environments) is that the PHP.INI file that was for PHP5.6 was carried over to PHP7.2 - and this config file has references to a "path" setting that has not been updated so as to remove paths with /php56/ and add paths with /php72/ which is what open_basedir is restricting access to. Please submit this error_log file to your hosting provider and consult with them to determine what course of action is needed. Link to comment Share on other sites More sharing options...
-=Mike=- Posted December 17, 2018 Share Posted December 17, 2018 The hosting provider says, a path in a file in cubecart must be wrong. Didnt find anything yet dunno wich file so im searching. Link to comment Share on other sites More sharing options...
-=Mike=- Posted December 19, 2018 Share Posted December 19, 2018 Cant find it Link to comment Share on other sites More sharing options...
havenswift-hosting Posted December 19, 2018 Share Posted December 19, 2018 6 hours ago, -=Mike=- said: Cant find it You won’t, at least not in CubeCart - this is a Hosting environment issue Link to comment Share on other sites More sharing options...
-=Mike=- Posted December 19, 2018 Share Posted December 19, 2018 Thx il try to convince them too look at there end. Link to comment Share on other sites More sharing options...
-=Mike=- Posted December 19, 2018 Share Posted December 19, 2018 Found the problem it was Crawlprotect lines in the htaccess. I removed them and CC is running in php7.2 now. Thx for the reactions. Regards, Mike Link to comment Share on other sites More sharing options...
JerS Posted January 21, 2019 Author Share Posted January 21, 2019 Update and 'solution' from starter Jeroen Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.