Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Small Problem


timcrafton

Recommended Posts

Posted

Hello everyone, hope everyone is having a great holiday season.

 

I was tinkering around with my configure.php (after making backup) and messed something up, and am really not sure how, and when I upped the backup I still getting the same thing, I am really baffled, and wishing I hadnt screwed around with it this morning being christmas and all...

 

Anyways below are the symptoms, if anyone can help me out here I would majorly appreciate it.

 

www.advancededm.com

Index page loads fine, with all images, and CSS when I click on the different categories, my images do not load, and the stylesheet does not seem to be active. I cannot figure this one out... Also the "Information Pages" all load images and CSS fine. Anyone with any ideas?

 

Thanks a BUNCH!

Posted

it seems you have messed up the directory's in your configure.php.When you take al look at the image properties i see the following path>>http:///images/edm_supply.gif

 

You probably forgot to fill in the following line:

define('HTTP_SERVER', 'http://yourdoamin.com');

Posted
it seems you have messed up the directory's in your configure.php.When you take al look at the image properties i see the following path>>http:///images/edm_supply.gif

 

You probably forgot to fill in the following line:

define('HTTP_SERVER', 'http://yourdoamin.com');

 

Thanks for the quick reply...

Here are the lines right from my configure.php

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://advancededm.com'); // eg, http://localhost - should not be empty for productive servers

Also, I just realized that with Internet Explorer even the index page is not working, man this is wierd.

Posted

I see 3 slashes when i look at the image properties

Does the line "define('HTTP_SERVER', 'http://advancededm.com'); " appear twice in your configure.php?

 

(post your complete configure.php, gives me a better chance of finding the problem, and don't forget to remove your database password and username at the bottom !!!!!)

Posted
I see 3 slashes when i look at the image  properties

Does the line "define('HTTP_SERVER', 'http://advancededm.com'); " appear twice in your configure.php?

 

(post your complete configure.php, gives me a better chance of finding the problem, and don't forget to remove your database password and username at the bottom !!!!!)

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.advancededm.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL',false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'advancededm.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

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_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/crafton/public_html/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'xxxxxxx_xxxx');

define('DB_SERVER_PASSWORD', 'xxxxxxxxxxx');

define('DB_DATABASE', 'xxxxxxx');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Posted

i am (almost) out of suggestions....sorry, the best of luck. maybe someone else can help...i have one other suggestion, try to look for the /// with a text search tool, maybe something wil come up

Posted

I do not think there is anything wrong with your configure.php files=, when i went to the main index the left links were http://localhost/whatever.php

When i entered the file name by hand all the other links were fine for these pages which strongly suggests you've made changes to your index.php somewhere as it's only this page, maybe removed a line somewhere?

Posted
I do not think there is anything wrong with your configure.php files=, when i went to the main index the left links were http://localhost/whatever.php

When i entered the file name by hand all the other links were fine for these pages which strongly suggests you've made changes to your index.php somewhere as it's only this page, maybe removed a line somewhere?

 

Thx JB,

 

I maybe was toying around with when you tried it, I think I have this all worked out now, at least on my PC.... BTW, James Benson from Michigan>>? Anyways, thanks to everyone that helped, and I really never found the resolution to share on this post, I just had my hosting company do a restore... :rolleyes:

 

Lesson of the Day:

Dont Screw with stuff on Christmas Morn'

 

Peace,

TC

Posted
Thx JB,

 

I maybe was toying around with when you tried it, I think I have this all worked out now, at least on my PC.... BTW, James Benson from Michigan>>? Anyways, thanks to everyone that helped, and I really never found the resolution to share on this post, I just had my hosting company do a restore...  :rolleyes:

 

Lesson of the Day:

Dont Screw with stuff on Christmas Morn'

 

Peace,

TC

 

Just a quick hey to my webhost for taking care of this trouble ticket in less then an hour on christmas morning...

http://www.aqhost.com

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...