Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cookie problem when linking


human

Recommended Posts

Hi All,

 

I have poster a few times about my problem, see old post

 

With trial and error and some input from others, I more and more think it has something to do with Cookies/Sessions_id. Why do I think that, because if I get to my frontpage in my shop: mydomain.com/ and I remove any Cookies I have on my computer and try to paste a link to a specific produkt page, like:

 

mydomain.com/product_info.php?products_id=32 (with www. before, not my domain)

 

I get: error unable to determin page link.

 

But if I remove all my cookies first and then go to my frontpage: mydomain.com/ and paste the same link:

 

mydomain.com/product_info.php?products_id=32

 

it all works out perfectly with no error.

 

I cannot link from outside the shop to a specific product page, I always receive: error unable to determine page link. A lot of dead links from search engines...

 

Am I thinking wrong or what? What can I do to correct the problem? Is it a configuration problem?

 

My information:

 

Search Engine friendly URL is False

Force Cookie True (I have tried to use False, but same problem)

I have my own SSL-cert (not shared)

STS-contrib. installed (tried to use default template for products, same problem)

 

Please help me out here, I must get some sleep soon. :sweating:

 

Thanks

jane

"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."

- Albert Einstein

Link to comment
Share on other sites

It still seems to me that it may be a sts problem. You should turn off the sts in you sts_display_output.php file and see if it makes any difference. At or about line 36

 

$display_template_output = 1;

$display_normal_output = 0;

 

to this

$display_template_output = 0;

$display_normal_output = 1;

 

You will then be out of sts mode altogether and see if that makes any difference.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

It still seems to me that it may be a sts problem. You should turn off the sts in you sts_display_output.php file and see if it makes any difference. At or about line 36

 

$display_template_output = 1;

$display_normal_output = 0;

 

to this

$display_template_output = 0;

$display_normal_output = 1;

 

You will then be out of sts mode altogether and see if that makes any difference.

 

Thank you for you reply and help.

 

I change it like above, but with the same result. As soon as I remove the Cookie and tried to paste a link to a specific product page, I got this message:

 

Error, unable to determine page link

 

So I guess the problem is Cookie/Session related? Or can it be something else?

 

And the big question how will I fix it?

 

Thanks

jane

"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."

- Albert Einstein

Link to comment
Share on other sites

  • 4 weeks later...
Thank you for you reply and help.

 

I change it like above, but with the same result. As soon as I remove the Cookie and tried to paste a link to a specific product page, I got this message:

 

Error, unable to determine page link

 

So I guess the problem is Cookie/Session related? Or can it be something else?

 

And the big question how will I fix it?

 

Thanks

jane

 

I solved my problem.

 

See my reply

"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."

- Albert Einstein

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...