shindove Posted October 18, 2007 Share Posted October 18, 2007 hi i really new with php and oscommerce but somehow i manage to setup oscommerce v2.x in my local computer using xampp. my question is after all working i thinking to upload it to my webhosting, which i need to make modification with the configure.php file. the problem i got is in the admin/include/configure.php line 10 (could be different) got "C:/Program Files/xampp/htdocs/catalog/" which i dont know how to make it dynamic . i have tried change it with http://mydomainname.com.au. but still now working. anyone can help me. cheers Link to comment Share on other sites More sharing options...
Guest Posted October 18, 2007 Share Posted October 18, 2007 hi i really new with php and oscommerce but somehow i manage to setup oscommerce v2.x in my local computer using xampp. my question is after all working i thinking to upload it to my webhosting, which i need to make modification with the configure.php file. the problem i got is in the admin/include/configure.php line 10 (could be different) got "C:/Program Files/xampp/htdocs/catalog/" which i dont know how to make it dynamic . i have tried change it with http://mydomainname.com.au. but still now working. anyone can help me. cheers Can you give us the full line of code there? That way we can see exactly what it is being defined as. Link to comment Share on other sites More sharing options...
shindove Posted October 18, 2007 Author Share Posted October 18, 2007 Can you give us the full line of code there? That way we can see exactly what it is being defined as. define('DIR_FS_CATALOG', 'C:/Program Files/xampp/htdocs/catalog/'); we need to change that line of code to make it dynamic rite ( sorry being so noob) cheers Link to comment Share on other sites More sharing options...
Guest Posted October 18, 2007 Share Posted October 18, 2007 I'm using my localhost as well to modifications to the shop, what I have for my line of code there is this: define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/'); You might want to comment out your line, then paste in mine, see if it does anything. It's worth a shot. Also, what is your HTTP_SERVER defined as? If you are using C:\, you might want to switch it to http://localhost/store_name Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.