Help - Search - Members - Calendar
Full Version: New Installation!! - need help!
CubeCart Forums > CubeCart Version 3 > Installation & Upgrade Help (Version 3)
virtual
Can someone help with my propblem?

Just performing a first time test install on my hosted website and getting the following when running the admin tool:

Warning: main(config.inc.php): failed to open stream: No such file or directory in /home/.sites/101/site208/web/store/language/en/lang.inc.php on line 2976

Warning: main(): Failed opening 'config.inc.php' for inclusion (include_path='') in /home/.sites/101/site208/web/store/language/en/lang.inc.php on line 2976

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/.sites/101/site208/web/store/language/en/lang.inc.php:2976) in /home/.sites/101/site208/web/store/admin/includes/auth.inc.php on line 44

I have followed all instructions and even re-installed.. played about with the global.inc.php file below, with no joy...

<?
php $glob['dbdatabase'] = 'virtual_lifestyles_com';
$glob['dbhost'] = 'mysql.lcn.com';
$glob['dbpassword'] = 'password';
$glob['dbprefix'] = '';
$glob['dbusername'] = 'username';
$glob['installed'] = '1';
$glob['rootDir'] = '/home/.sites/101/site208/web/store'; this was set by default
$glob['rootRel'] = '/store/';
$glob['storeURL'] = 'http://www.virtual-lifestyles.com/store';
?>

Appreciate any help..
virtual
Further investigation with my hosting support suggests /home/.sites/101/site208/ is a user directory, but i did not specify any user directory.

The warning messages appear at the top of all Admin screens inclduing Image upload screens. Apart from these warning messages its working fine!

Setting root directory to /web/store causes navigation menu errors within Admin.
bsmither
QUOTE(virtual @ Jul 5 2007, 07:17 AM) *
<?
php $glob['dbdatabase'] = 'virtual_lifestyles_com';

I don't have an answer for you, but why is 'php' on the line below the 'script begin' delimiter?

Did this get pasted into your message exactly as it is in the file? If so, maybe you should fix it so that it reads:
<?php
$glob...

I honestly don't know if PHP would make a fuss about this.
Robsta
Oops.... my bad tongue.gif bsmither might have the answer there.
virtual
oops.. well spotted.. but I'm afraid that was a cut and paste error.. the original default config.inc.php is ok and in fact the only one that at least gets the admin tool to work correctly... albeit with these messages.

any changes made to the root directory setting within this file upsets the admin navigation bars..

incidentally, running the store also has these warnings on the header..

thanks for your input..
virtual
this is now resolved thanks to CubeCart support.

related to my hosted servers not able to deal with the Relative Root setting and lang.inc.php requiring to be edited accordingly.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.