PDA

View Full Version : First time install. I'm close.. I think


Mbroderick
October 7th, 2003, 04:40 PM
Hello, I installed the files / folders in the correct location on my isp's webserver. I editted the /squirrelcart/CONFIG.PHP and /store.php files. I ran the .sql file and setup MySQL data.

But when I access the page I see the following error:
---

Warning: Failed opening ' D:/home/DartoidsWorld.com/squirrelcart/cart.php' for inclusion (include_path='') in D:/home/DartoidsWorld.com/squirrelcart/config.php on line 36

Fatal error: Call to undefined function: stylesheet() in d:\home\DartoidsWorld.com\store.php on line 7

----

Here's the config.php file:

----
<?
// --------------------------------------------------------------------------------------------
// Configuration Variables
//---------------------------------------------------------------------------------------------
// Installer of cart needs to change these variables to their appropriate values
// note: do not add trailing slashes
// site_www_root is the web address to the root of your site
$site_www_root = "http://drtm10013.general-hosting.com";

// site_isp_root is the path to your root, from the server's directory structure
$site_isp_root = " D:/home/DartoidsWorld.com";

// site_secure_root is the path to your web root using HTTPS or (SSL). This is for secure transactions.
// if your server does not support SSL, then make this variable the same as site_www_root
$site_secure_root = "http://drtm10013.general-hosting.com";

// cart page. this is the default path, from the root of your site that will be used to display your store
// it is usually set to "/index.php". when first installed, it defaults to the page for the demo store.
$cart_page = "/store.php";

// img_path is the path to the folder you keep your images in. this is the folder that you upload the products, categories, and other folders into
$img_path = "/images/shop";

// sql_host is the name or IP address of the server that is running MySQL. localhost is the default
$sql_host = "mySQL.general-hosting.com";

// sql_username is the name of the user you created and added to your squirrelcart database
$sql_username = "HIDDEN FOR FORUM";
$sql_password = "HIDDEN FOR FORUM";

// db should be set to the name of the database squirrelcart is using
$db = "HIDDEN FOR FORUM";
// ------------------------------ end of configuration section ----------------------------

// do not modify anything below this line!!!!!!!
include "$site_isp_root/squirrelcart/cart.php";
-------

Here's the first line of store.php
----
<? include "D:/home/DartoidsWorld.com/squirrelcart/config.php";?>
----

I'm sure I have one setting / option incorrect.

( I hid the user name / password and database name but made sure I used the same info that I used when I setup MySQL.)

thanks

Mbroderick
October 8th, 2003, 12:32 AM
It was simple... I had an extra space before the drive letter " D: ..."
instead of "D: ..."

It's the simple things that can kill you!

-- Thanks support for getting back to me so quickly!





Hello, I installed the files / folders in the correct location on my isp's webserver. I editted the /squirrelcart/CONFIG.PHP and /store.php files. I ran the .sql file and setup MySQL data.

But when I access the page I see the following error:
---

Warning: Failed opening ' D:/home/DartoidsWorld.com/squirrelcart/cart.php' for inclusion (include_path='') in D:/home/DartoidsWorld.com/squirrelcart/config.php on line 36

Fatal error: Call to undefined function: stylesheet() in d:\home\DartoidsWorld.com\store.php on line 7

----

Here's the config.php file:

----
<?
// --------------------------------------------------------------------------------------------
// Configuration Variables
//---------------------------------------------------------------------------------------------
// Installer of cart needs to change these variables to their appropriate values
// note: do not add trailing slashes
// site_www_root is the web address to the root of your site
$site_www_root = "http://drtm10013.general-hosting.com";

// site_isp_root is the path to your root, from the server's directory structure
$site_isp_root = " D:/home/DartoidsWorld.com";

// site_secure_root is the path to your web root using HTTPS or (SSL). This is for secure transactions.
// if your server does not support SSL, then make this variable the same as site_www_root
$site_secure_root = "http://drtm10013.general-hosting.com";

// cart page. this is the default path, from the root of your site that will be used to display your store
// it is usually set to "/index.php". when first installed, it defaults to the page for the demo store.
$cart_page = "/store.php";

// img_path is the path to the folder you keep your images in. this is the folder that you upload the products, categories, and other folders into
$img_path = "/images/shop";

// sql_host is the name or IP address of the server that is running MySQL. localhost is the default
$sql_host = "mySQL.general-hosting.com";

// sql_username is the name of the user you created and added to your squirrelcart database
$sql_username = "HIDDEN FOR FORUM";
$sql_password = "HIDDEN FOR FORUM";

// db should be set to the name of the database squirrelcart is using
$db = "HIDDEN FOR FORUM";
// ------------------------------ end of configuration section ----------------------------

// do not modify anything below this line!!!!!!!
include "$site_isp_root/squirrelcart/cart.php";
-------

Here's the first line of store.php
----
<? include "D:/home/DartoidsWorld.com/squirrelcart/config.php";?>
----

I'm sure I have one setting / option incorrect.

( I hid the user name / password and database name but made sure I used the same info that I used when I setup MySQL.)

thanks

Rich
October 8th, 2003, 09:43 AM
No problem! Thanks for opening a ticket. :squirrel: Thanks support for getting back to me so quickly!