Jump to content

fatal error on installation


teric

Recommended Posts

I installed  cube cart 3 years ago and now I'm trying to install 5.2.8 on my local machine. This is my only experience with cube cart.

 

I'm running wampserver 2.2. Mysql 5.5.20 PHP 5.3.10 Apache 2.2.1

 

I use dreamweaver and I've uploaded to wamp/www/solas2014/shop

 

When I run http://localhost/solas%202014/shop/setup/setup.install.php I get 6 lots of "Notice: Use of undefined constant......" then "Fatal error: Call to undefined function chmod_writable() in C:wampwwwsolas 2014shopsetupsetup.install.php on line 32"

 

Line 32 starts with "if" The code is below.

 

## Attempt to chmod
            if (!chmod(CC_ROOT_DIR.CC_DS.$target, chmod_writable())) {
                $perm_status    = false;
                $permissions    = false;
                $errors[] = sprintf($strings['setup']['error_x_not_writable'], $target);

 

Any help would be most appreciated.

Link to comment
Share on other sites

http://localhost/solas%202014/shop/setup/setup.install.php

I believe the space in "solas 2014" is a typo.

 

But please try using simply localhost/solas2014/shop/ and let CubeCart determine that it needs to go to to setup.

 

By going directly to setup.install.php, a significant amount of initialization (declaring constants, including other functions files, initializing code classes, etc.) is not getting done.

Link to comment
Share on other sites

I  have got as far as the installation page, but when I click either admin control panel or store front I get a blank page.

 

I've read through posts but I've not found anything to help. I've done a phpinfo to see if there is anything there

 

I found

PHP Version 5.3.10

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright © 1998-2012 Zend Technologies
    with Xdebug v2.1.2, Copyright © 2002-2011, by Derick Rethans

 

In the php.ini file there is:

zend_extension = "c:/wamp/bin/php/php5.3.10/zend_ext/php_xdebug-2.1.2-5.3-vc9.dll"

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...