Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

All images and styles disapeared. PLEASE HELP


slpa_98

Recommended Posts

Hi all

 

I am fairly new to OSCommerce, but I managed to put my store up and running. I am in the process of adding products before going live with the store.

 

The problem is that sudenely the strore stopped working properly.

 

I cannot see any images or styles, like backgrounds, boxes etc. I can still see all the text, that is rougly in the position where it should be, but everything is in top of a white page.

 

 

If I select a product or a category I go to the right place, but still with no pictures or styles.

 

 

I can log fine to the Admin site, and everything seems to be alright there.

 

The only thing I made different is that I installed a phpBB forum in the server.

 

PLEASE ANY HELP would be welcome.

 

Thank you in advance

Sergio Andrade

Link to comment
Share on other sites

Hi all

 

I am fairly new to OSCommerce, but I managed to put my store up and running. I am in the process of adding products before going live with the store.

 

The problem is that sudenely the strore stopped working properly.

 

I cannot see any images or styles, like backgrounds, boxes etc. I can still see all the text, that is rougly in the position where it should be, but everything is in top of a white page.

If I select a product or a category I go to the right place, but still with no pictures or styles.

I can log fine to the Admin site, and everything seems to be alright there.

 

The only thing I made different is that I installed a phpBB forum in the server.

 

PLEASE ANY HELP would be welcome.

 

Thank you in advance

Sergio Andrade

 

that usually happens when your configure.php file isn't set correctly. did you modify it?

Link to comment
Share on other sites

that usually happens when your configure.php file isn't set correctly. did you modify it?

 

Hi Thank you for your reply!

 

No I haven't touched it (at least as I can remember)

 

Can you please see if there is any problem with it?? Thank you in advance!!

 

here is what it looks like:

 

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.MYDOMAIN.COM'); // eg, http://localhost - should not be empty for productive servers

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

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

define('HTTP_COOKIE_DOMAIN', 'www.MYDOMAIN.COM');

define('HTTPS_COOKIE_DOMAIN', 'www.MYDOMAIN.COM');

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/ebogueu/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', 'XXXXXXXXX');

define('DB_SERVER_PASSWORD', 'XXXXXXX');

define('DB_DATABASE', 'XXXXXXX');

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

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

?>

Link to comment
Share on other sites

Hi Thank you for your reply!

 

No I haven't touched it (at least as I can remember)

 

Can you please see if there is any problem with it?? Thank you in advance!!

 

here is what it looks like:

 

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.MYDOMAIN.COM'); // eg, http://localhost - should not be empty for productive servers

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

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

define('HTTP_COOKIE_DOMAIN', 'www.MYDOMAIN.COM');

define('HTTPS_COOKIE_DOMAIN', 'www.MYDOMAIN.COM');

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/ebogueu/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', 'XXXXXXXXX');

define('DB_SERVER_PASSWORD', 'XXXXXXX');

define('DB_DATABASE', 'XXXXXXX');

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

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

?>

 

try:

 

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

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

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

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

define('HTTPS_COOKIE_DOMAIN', 'mydomain.com/');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/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/');

Link to comment
Share on other sites

Thank you again

 

As I understand your advices are to change to:

 

define('HTTP_SERVER', 'http://www.mydomain.com/directory_where_catalog_resides'

 

But when i made the install I didn't put the catalog in the "catalog" directory, but instead in the home directory. That way the customer goes to www.mydomain.com instead of www.mydomain.com/catalog (correct me if I am wrong).

 

that is why I have : define('HTTP_SERVER', 'http://www.mydomain.com'

 

That is the reason why I don't have catalog in the other options as well. I am preety sure that I haven't changed anything here. Everything worked fine before.

 

I did stoped working with my store for about 15 days, and the only changes I made were to add a phpBB forum (as I already said). Is there any way that it made some conflict?? because of htacess or something.

 

I am really puzzled. I was starting to put products in my store (I have over 1000) and that will give a lot of work. Now I am afraid because this thing stoped working for no reason.

Link to comment
Share on other sites

I just realized that all the images are trying to be loaded from https://www.mydomain.com instead of http://www.mydomain.com.

 

I don't have ssl configured yet.

 

How can I force them to comefrom http instead of https??

 

Thank you for your help

Link to comment
Share on other sites

I just realized that all the images are trying to be loaded from https://www.mydomain.com instead of http://www.mydomain.com.

 

I don't have ssl configured yet.

 

How can I force them to comefrom http instead of https??

 

Thank you for your help

 

 

I just changed

 

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

 

to

 

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

 

and guess what?? everything is working fine again!!!

 

Do you think that there is any problem with this configuration??

 

Thank you for your help MJP

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...