Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New installation altering product descriptions


bravely

Recommended Posts

Posted

I have 2 copies of my store on different servers. One works fine - the other is adding characters to my product descriptions.

 

Anywhere I have a " it changes it to "

 

I know this is an escape character, but what I don't understand is why one server handles the " without a problem and one changes it.

 

I have hundreds of quote marks and am wondering if there is a setting somewhere that controls if OSCommerce does this.

Flag%20-%20Daniel%20-%20Multicolor%20on%20Clear.gif
Posted

might be one server has different php.ini settings then the other where it comes to escaping... check phpinfo() on both and pay attention to sybase / mysql / magic quotes settings.

 

Sybase needs to be escaped differently then mysql so that might be it.

 

If not diff the actual pages that spit out the different results.

See if your missing a strip_slashes() somewhere.

 

HTH

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Archived

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

×
×
  • Create New...