Jaeger Posted May 6, 2003 Posted May 6, 2003 I just installed osCommerce on a win 200 machine. all of the links from the main default page are repeating the localhost line. like this... http://localhost/catalog/default.php/local...log/default.php anyone know were i messeed up? please help...
Guest Posted May 6, 2003 Posted May 6, 2003 Brian, This thread in the Tips and Tricks Section Might be of some help. http://www.oscommerce.com/forums/viewtopic.php?t=38964 Enjoy!
Jaeger Posted May 7, 2003 Author Posted May 7, 2003 Thanks for the reply, Kim. Thats kind of cool for multi localhosted pages, However that's not quite the problem im having... after i played around a little with the admin script the links on the catalog default php file would dubble up. the first part of the address is in the link again. like it is trying to use an absolute link without the http:// . or rather its looking into itself inside of itself. does this make any sense?
Hunkah Posted May 7, 2003 Posted May 7, 2003 Try reinstalling, this time read the last few pages. I had to do it too. I think on my first install it took me 5 times to finally get it right. It is all in the continues part.
OnePhatWebyCat Posted May 7, 2003 Posted May 7, 2003 seeing you made changes ...hmmmmmmm hope this will help TRY MANUALLY EDITING THE CONFIGURE.PHP files THERE ARE TWO OF THEM ON IN ADMIN AND ONE IN CATALOG BOTH IN THE INCLUDES FOLDER in catalog /includes/ configure.php define('HTTP_SERVER', 'http://localhost'); also if you are on the windows system make sure you set the properties back to readonly if you change them to write too the file with a editor and in admin/ includes/ configure.php EXAMPLE IS define('HTTP_SERVER', 'http://localhost'); define('HTTP_CATALOG_SERVER', 'http://localhost'); define(DIR_FS_DOCUMENT_ROOT', 'C:/SERVERS/APACHE/htdocs'); or define(DIR_FS_DOCUMENT_ROOT', 'D:/APACHE/htdocs'); or define(DIR_FS_DOCUMENT_ROOT', 'what/ever/it/is/htdocs'); everything else should remain default as set unless you have custom locations of your files i orginally used the install file and had the same result ...but i did not read the docs eather that may have prevented this. this is the orginal file for the catalog includes configure.php http://cvs.sourceforge.net/cgi-bin/viewcvs....viewcvs-markup this is the orginal file for the admin includes configure.php http://cvs.sourceforge.net/cgi-bin/viewcvs....viewcvs-markup both are unedited :!: first rule: Allways make a backup of a file before you change it. & All code is CASE Sensitive :!: second rule: Never copy and paist code unless you know it works. :!: third rule: If you do not know ask. :!: final rule: Have patience.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.