Jump to content

Upgrade issues v3 - v6


_lecro_

Recommended Posts

A site i maintain has been running CC v3 for the last few years without any issue

we decided it was time for an upgrade so followed the upgrade procedure

when going to setup there is an error...

"

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

"

if i go past that to setup.install.php i get a different error ...

"
Fatal error: Call to undefined function chmod_writable() in /home/sexpisto/public_html/shop/setup/setup.install.php on line 43

"

JFYI line 43 is "if (!chmod(CC_ROOT_DIR.'/'.$target, chmod_writable())) {

Any thoughts ?

Link to comment
Share on other sites

Ok well i check the perms , they looked ok

then deleted all apart from

images/ 
includes/global.inc.php
includes/ini.inc.php 
language/

re uploaded new files , rechecked perms .. still same issue :(

Maybe should have mentioned another issue i had to start,

i first got " "PHP 5.2.14 detected. CubeCart requires PHP 5.4 or higher." 

the shared host has cubecart 6.1 as a softilicious install and suggested adding "AddType application/x-httpd-php56 .php " into the .htaccess file

and replacing the php.ini (attached) with one they supplied although 5.2.14 detected error did go it gave the initial error i posted :/

php.ini

Link to comment
Share on other sites

12 minutes ago, bsmither said:

The function chmod_writable() is in the file /includes/functions.inc.php.

We need to learn if PHP cannot find or is being denied access to this file, or if this file is an older version that does not have this function.

how would i establish if php cannot find it or being denied access to it ?

functions.inc.php is 0644 and is the new file from the upgrade folder , if that helps

 

Link to comment
Share on other sites

Ok in desperation i restored the old site files and all seems to work ok now

but only after removing the code the hosts told me to add to the .htaccess file

"suphp_configpath /home/sexpisto/public_html
AddType application/x-httpd-php56 .php "

ive created a test store for now but still getting the initial  " PHP 5.2.14 detected. CubeCart requires PHP 5.4 or higher"  problem.

Is there a proper work around for this or will they have to upgrade the php version server side ?

Link to comment
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...