Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error after moving servers


dimports

Recommended Posts

After I moved servers and changed the catalog configure.php file and admin configure/php everything almost looks good but I get an error when trying to view my products:

 

Warning: imagejpeg(): open_basedir restriction in effect. File(/httpdocs/catalog/images/ArubaClubChair-175x175.jpg) is not within the allowed path(s): (/usr/local/psa/home/vhosts/bronzebargain.com/httpdocs:/tmp) in /usr/local/psa/home/vhosts/bronzebargain.com/httpdocs/catalog/includes/functions/html_output.php on line 357

 

Heres how my configure.php file looks:

 

 ?define('HTTP_SERVER', 'http://www.bronzebargain.com'); // eg, http://localhost - should not be empty for productive servers
?define('HTTPS_SERVER', 'https://bronzebargain.com'); // eg, https://localhost - should not be empty for productive servers
?define('ENABLE_SSL', true); // secure webserver for checkout procedure?
?define('HTTP_COOKIE_DOMAIN', 'www.bronzebargain.com');
?define('HTTPS_COOKIE_DOMAIN', 'https://bronzebargain.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/');

?define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
?define('DIR_FS_CATALOG', '/httpdocs/catalog');
?define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
?define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

Here's how my website looks with the errors:

http://www.bronzebargain.com/catalog/index.php?cPath=89

 

Am I doing something wrong? Someone pls direct me. Thanks all.

Link to comment
Share on other sites

Check and make sure your directories have proper permissions:CHMOD Settings:

 

/catalog/images 777

/catalog/pub 777

/catalog/includes/configure.php 664

 

Ruth in AZ

Link to comment
Share on other sites

the post above catalog/includes/configure.php should be 644 or 444 not 664

 

The message indicates that it is looking for the image in your tmp folder

 

are the images being cached?

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Your correct for post install, re: configure.php I was grabbing my notes to myself I had setaside sometime back to new install. A bit careless of me, sorry. Thanks for pointing that out to him.

 

But I've seen that error if the "images" directory is not properly CHMOD.

 

Ruth

Link to comment
Share on other sites

eys this is true the images directory needs to be CHMOD 777 also the images, I notice the long names for the images and the problem is on the main page if you click on one of the image placements at the bottom of the page there is an image available in the product info page, so the problem seems to be related to the front page images.

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...