Scrumpy
04-30-2001, 02:41 PM
Im trying to install a php shopping cart and everything is ok, but I keep getting an error when I try to open the admin page.
This is the error -
Fatal error: Failed opening required 'Cart.php' (include_path='') in /home/***/public_html/Cart/admin/index.php on line 2
I think I've narrowed it down to not knowing the correct webroot?
/* Replace these variables with the absolute and relative paths to your
MyCart scripts */
$WebRoot=""; <--- I've tried a bunch of combo's>
$Relative="/Cart";
$WebHost="www.mydomain.com"; <--I know this >
function Root() {
global $WebRoot,$Relative,$WebHost;
}
I even looked at phpinfo and used the include path I found there but still didnt work.
I dont have a clue. Anyone?? Please!
Scrumpy
This is the error -
Fatal error: Failed opening required 'Cart.php' (include_path='') in /home/***/public_html/Cart/admin/index.php on line 2
I think I've narrowed it down to not knowing the correct webroot?
/* Replace these variables with the absolute and relative paths to your
MyCart scripts */
$WebRoot=""; <--- I've tried a bunch of combo's>
$Relative="/Cart";
$WebHost="www.mydomain.com"; <--I know this >
function Root() {
global $WebRoot,$Relative,$WebHost;
}
I even looked at phpinfo and used the include path I found there but still didnt work.
I dont have a clue. Anyone?? Please!
Scrumpy