Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Install bad relitive path?


Jaeger

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...