Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help w/ Link from Product Page


koolie98

Recommended Posts

Hello All, Could use a little help.

 

On my product page I have a link to manufacturers site to find more info about product. That link is not working. I have omitted "http://". The error I get when I click on the link is as follows:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/bikeauth/public_html/store/includes/application_top.php:1073) in /home/bikeauth/public_html/store/includes/functions/general.php on line 33

 

Please help.....

 

 

D

Link to comment
Share on other sites

I'm confused as to why you've "omitted the http://" on an external link. If you want the link to work, you need to have that in there so the browser knows it's an absolute reference and not one relative to your domain.

 

The error appears to happen within a call to tep_redirect(), which means that some bit of code is creating the link using a redirect instead of a simple HTML anchor tag. This IMO is just plain wrong-headed and makes no sense to me.

 

Maybe I don't understand what's going on? Could you post the code that creates the link?

I say not to you, "backup your files before you change them." I say, rather, "use Subversion, and never worry about ruining your files again."

Link to comment
Share on other sites

ryos:

 

From within the products page there is a link which is created on the "add new items" page. The link is created by entering the URL of the location you which to send visitors. I hope that I explained right. (On the add new items page it instructs me not to use "http://", however I have tried it both ways with the same error".

 

The code is as follows:

<td class="main">For more information, please visit this products <a href="http://72.232.178.114/~bikeauth/store/redirect.php?action=url&goto=www.orbea-usa.com%2F&osCsid=b6426d89a645e52340fc0ff78075f50e" target="_blank"><u>webpage</u></a>.</td>

 

Thanks for your help.

Link to comment
Share on other sites

post a link to your site where this will happen for help debugging

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...