View Full Version : Still having problems
JeremyOmaha
6-27-05, 02:22 PM
Ok.. After I got everything installed, I was trying to get rid of that darned pink message at the top of the page. It never went away no matter what I did. I figured I installed it wrong somewhere along the way. I deleted everything out and started over.
Now, just to make sure I get it right, I am asked for a little explanation to the tutorial. The part where you configure and it asks for WWW address.. The default is http://www.username.tld/shop/catalog/
In the tutorial it says to replace the shop/catalog with the actual path of the catalog install. HUH? I have no clue what that is. Do I put in my webaddress with the .com or .tld or what? I don't have anything loaded yet except my homepage and it isn't even published. Right below is the default one that oscommerce sets up and I'm not touching it.
Please help. I've been trying to get this set up for 4 hours now and am ready to just give up.
What is the URL a user would type to get to your osCommerce index page? That's what you put there. Don't make this harder than it really is!
JeremyOmaha
6-27-05, 02:51 PM
Ok, well, I thought I had it right, but now I get a 404 error instead of a window with pink errors at the top.
What now?
Just want to add a new problem has cropped up
Warning: mysql_connect(): Unknown MySQL server host 'mysql11.powweb.com ' (1) in /www/a/alltheabovew/htdocs/store/catalog/includes/functions/database.php on line 19
Unable to connect to database server!
Seems to be a common problem. You have an extra blank after mysql11.powweb.com
When entering the HTTP_SERVER entry, which is what you asked about, do not include a trailing slash. The string should end with the folder name (catalog or whatever you callled it, not catalog/).
If you are still having problems, post the first 20 lines of your configure.php (make sure you do not include any passwords or database usernames.
JeremyOmaha
6-27-05, 04:10 PM
Here is the configure.php file
Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://alltheaboveweb.com/store/catalog'); // eg,
http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://alltheaboveweb.com');
define('HTTPS_CATALOG_SERVER', 'https://alltheabovewebcom.secure.powweb.com');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/www/a/l/alltheaboveweb.com/htdocs/store/catalog/');
// where the pages are located on the server
define('DIR_WS_ADMIN', '/store/catalog/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/www/a/l/alltheaboveweb.com/htdocs/store/catalog/admin');
// absolute pate required
define('DIR_WS_CATALOG', '/store/catalog/'); // absolute path required
define('DIR_FS_CATALOG', '/www/a/l/alltheaboveweb.com/htdocs/store/catalog/'); //
absolute path required
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
// define our database connection
define('DB_SERVER', 'mysql11.powweb.com'); // eg, localhost - should not be empty
for productive servers
Ok, sorry, I think I misled you a bit. You want this:
define('HTTP_SERVER', 'http://alltheaboveweb.com');
Please also password protect your admin folder.
JeremyOmaha
6-27-05, 04:48 PM
Ok, I protected it I guess.. I followed the instructions on the tutorial.. However, I am still getting the mysql error.
I think I am just going to start all over again. If it doesn't work out this time, maybe I should just forget it.
You'll get it. Make sure that you correct the mysql server name in both copies of configure.php - the one in catalog/includes and the one in catalog/admin/includes - and note that these are NOT the same file - they have slightly different content.
Also, if you protected the file, it may appear to upload but won't actually. Delete the old file on the server and upload a new one, then reprotect it once it works.
JeremyOmaha
6-27-05, 05:18 PM
Ok.. it's finally working.. Well, at least I get a "test" page with no pink errors at the top. Now, how do I add items to my store?
BTW.. I am VERY VERY grateful for your help!
You add items to the store through the admin panel.
vBulletin v3.6.0, Copyright ©2000-2010, Jelsoft Enterprises Ltd.