Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HTML error in <!-- shopping_cart_eof //-->


hanselmann

Recommended Posts

Hi

 

I am experience a strange behavior on our site.

http://www.sushi-poster.de

 

If you request the page for the first time.

The site is corrupted, which means it looks horrible because of an HTML error.

 

I analysed that when you request the site for the first time behind every link

is the session id and when I look into the generated HTML just before the <!-- shopping_cart_eof //-->

 

there is a half HTML closing table

it looks like: </

 

and thats it. table> is missing

 

When I just reload the page no session id is gerenrated (cookie) and the table is perfectly closed so everthing is fine.

 

Does anyone has an idea, what its going on there ?

 

 

Thanks

Hanselmann

Link to comment
Share on other sites

Prossibly related to this bug: http://www.oscommerce.com/community/bugs,1...ry,Other/page,3

 

See Jan's explaination:

This is a bug in PHP that shows up under certain circumstances.

 

Details can be found here:

 

http://bugs.php.net/bug.php?id=19553

http://bugs.php.net/bug.php?id=17236

 

Here are possible solutions/workarounds:

 

- Change the .htaccess file in the catalog directory. Remove the comment in front of the line reading

# php_value session.use_trans_sid 0

 

- Update PHP to 4.3.x - the problem is solved here.

 

- Force cookie usage

 

HTH

 

Jan Wildeboer

Perdure - Transparent Object Relational Persistence
Link to comment
Share on other sites

Archived

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

×
×
  • Create New...