Jump to content
JerS

server updatre to PHP 7.2 and CubeCart 6.2.2 goes offline

Recommended Posts

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

 

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Edited by -=Mike=-

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

The hosting provider says, a path in a file in cubecart must be wrong.

Didnt find anything yet dunno wich file so im searching.

Edited by -=Mike=-

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...