Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

malformed URLs in links -- they repeat a directory twice


Music

Recommended Posts

I have osCommerce running on a Windows 2000 server with no problem for at least one installation. But on this other one, when you're at the login page for some reason the link URLs that should say things like

 

http://www.foo.com/catalog/privacy.php?....

 

instead are saying

 

http://www.foo.com/catalog/www.foo.com/cat.../privacy.php?...

 

When I went into application_top.php and modified the directory in one place, it magically changes it twice, so the URLs then read like this:

 

http://www.foo.com/newxxx/www.foo.com/newx.../privacy.php?...

 

Does anybody know what is causing these funny doubled URLs? And how to fix it?

 

Thanks in advance! :o)

Link to comment
Share on other sites

Check the settings in your includes/configure.php file.

Regards, Wizzud

"It is better to remain silent and be thought a fool, than to open your mouth and remove all doubt."

Link to comment
Share on other sites

I was all set to say "of course I've already looked at that file several times" but I tried it again and, indeed, I did spot a discrepancy between this configure.php and the configure.php that is working fine in the other installation.

 

Made the change, and sure enough that took care of the problem.

 

Thanks a lot for your help! :0)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...