Help - Search - Members - Calendar
Full Version: Installation Admin Problems
CubeCart Forums > CubeCart Version 3 > Installation & Upgrade Help (Version 3)
richard whitcomb
Hi
I've installed on a Linux server and I get these errors on the admin section

Warning: main(/home/content/o/u/t/outwiththesold/classes/db.inc.php): failed to open stream: No such file or directory in /home/content/o/u/t/outwiththesold/html/admin/includes/auth.inc.php on line 60

Warning: main(): Failed opening '/home/content/o/u/t/outwiththesold/classes/db.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/o/u/t/outwiththesold/html/admin/includes/auth.inc.php on line 60

Here's the global.inc.php

<?php
$glob['dbdatabase'] = 'marketing';
$glob['dbhost'] = 'p3smysql3.secureserver.net';
$glob['dbpassword'] = 'xxxxxx';
$glob['dbprefix'] = '';
$glob['dbusername'] = 'marketing';
$glob['installed'] = '1';
$glob['rootDir'] = '/home/content/o/u/t/outwiththesold';
$glob['rootRel'] = '/';
$glob['storeURL'] = 'http://outwiththesold.com';
?>

If I change the global file and leave the rootDir blank, I get similar errors.
If I change it to / I get errors like above but that say failed opening somethingsomething//admin/blah blah
where it has the two slashes right next to each other.

Oddly enough, the admin screen has this

Welcome to the CubeCart™ Administration Control Panel

Last login by Jan 25 2007, 18:44 PM by richard failed.

Store Overview:
CubeCart Version: 3.0.15
PHP Version: 4.3.11 Number of Products: 1
MySQL Version: 4.0.27-max-log Number of Customers: 0
Image upload folder size:
Warning: opendir(/home/content/o/u/t/outwiththesold/images/uploads): failed to open dir: No such file or directory in /home/content/o/u/t/outwiththesold/html/includes/functions.inc.php on line 352
0 Bytes Number of Orders: 0
Server Software: Apache

RIGHT in the middle, so some of it is working, and some of it is not.

Why does it put the /html/ right in the middle?

Thanks for any help you can give

Richard
richard whitcomb
Ok, now this is making more sense.
PHPINFO on my server tells me that

DOCUMENT_ROOT /home/content/o/u/t/outwiththesold/html

So.
The CC stuff runs properly, but when it has to call another PHP file, it looks in the wrong place.
I wouldn't think that I could change that for the whole server, but anyone have a workaround for me?

Maybe set that somewhere in a file that calls PHP.ini or something?

Thanks

Richard
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.