Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Images being called from wrong path!


Recommended Posts

Hi guys,


Ive got a stupid query here ,but for the life of me I cant see where to fix it!


I had the shop on a testing server and worked fine. I uploaded it onto a new server and imported the database updated the config files and its working fine except for one thing. When I click on the category and the /cpath/ comes up the images and style stop displaying because the path is index.php/cPath/includes/languages/english/images/buttons/m10.gif instead of index.php/includes/languages/english/images/buttons/m10.gif..


Why is cpath in the image path??


Ive looked at the config files and cant spot it..

Can anyone help me out here, it seems like something simple enough..


Any help really appreciated!

Link to comment
Share on other sites

Shouldn't the path be




you have




Try posting the configure.php excluding db /credentials etc.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile


Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.


For links mentioned in old answers that are no longer here follow this link Useful Threads.


If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Yeh the path thats causing the problem is:




it should be




Cant figure out why, I'll post the config file...

Link to comment
Share on other sites

Can you have alook at this?


I know the database info is correct because its calling the image and text...just not displayin when i click on categories because it brings 'cpath' in the image address, if you get me...



define('HTTP_SERVER', 'http://www.siesta.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', 'www.siesta.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/siestaco/public_html/');

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



// define our database connection

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

define('DB_SERVER_USERNAME', '');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', '');

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

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


Link to comment
Share on other sites

In your Admin, set 'Use Search-Engine Safe URLs (still in development)' to false.


Save it.


Sometimes you have to set 'Use Cache' to false to see any change.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.


"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -


"Headers already sent" - The definitive help


"Cannot redeclare ..." - How to find/fix it


SSL Implementation Help


Like this post? "Like" it again over there >

Link to comment
Share on other sites

Jim your right, your not perfect and neither am I, but you nearly are, that worked!


Cant believe it, I nknew it was something simple! I spent so long trying to sort it out. I'm reasonably familiar with OsCommerce and Ive being doubhting myself all evening!


Cheers mate,


Owe ya one!

Link to comment
Share on other sites


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

  • Create New...