mrfixer Posted December 6, 2008 Share Posted December 6, 2008 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 More sharing options...
♥geoffreywalton Posted December 6, 2008 Share Posted December 6, 2008 Shouldn't the path be http://www.hartsphoto.co.za/catalog/includ...ton_reviews.gif you have index.php/cPath/includes/languages/english/images/buttons/m10.gif 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 More sharing options...
mrfixer Posted December 6, 2008 Author Share Posted December 6, 2008 Yeh the path thats causing the problem is: www.mysite.com/index.php/cPath/includes/languages/english/images/buttons/m10.gif it should be www.mysite.com/index.php/includes/languages/english/images/buttons/m10.gif Cant figure out why, I'll post the config file... Link to comment Share on other sites More sharing options...
mrfixer Posted December 6, 2008 Author Share Posted December 6, 2008 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... <?php 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('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', ''); 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 More sharing options...
germ Posted December 6, 2008 Share Posted December 6, 2008 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 More sharing options...
mrfixer Posted December 6, 2008 Author Share Posted December 6, 2008 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.