Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PARSE T STRING ERROR


shoenuf

Recommended Posts

Posted

CAN ANYONE HELP ME PLEASE, I TRY TO CHANGE THE TEXT IN THE INDEX.PHP PAGE AND I GET AN PARSE TSTRING ERROR. IS THERE SOMETHING I SUPPOSED TO DO, BECAUSE THE CODE LOOKS FINE.

I TESTED IT OUT BY PUTTING EXTRA TEXT IN THE TEXT FIELDS IN THE CODE AND I END UP WITH A TSTRING ERROR.

 

IT LETS ME PUT IN LIKE 2 LETTERS IN THE TEXT WITH OUT A PROBLEM, BUT IF I PUT 2 LINES OF TEXT INTO IT, IT GIVES ME THE PARSE TSTRING ERROR

 

ANY HELP WOULD BE REALLY APPRECIATED.

THANK YOU

Posted

PLEASE DO NOT TYPE IN ALL CAPS. IT'S REALLY ANNOYING.

 

If you are trying to use the File Manager in the Admin tool, don't. It is buggy.

 

That being said, where exactly are you trying to "add text"?

Contributions

 

Discount Coupon Codes

Donations

Posted
PLEASE DO NOT TYPE IN ALL CAPS.  IT'S REALLY ANNOYING.

 

If you are trying to use the File Manager in the Admin tool, don't.  It is buggy.

 

That being said, where exactly are you trying to "add text"?

 

 

I am trying to replace the text that comes on the index.php page when you first install the oscommerce software. I follow the instructions that are given when you first setup, and i edit the file from the right directory but still i get that error. i do not touch any of the code, just the text that was on the orginal index.php page and im using dreamweaver as my editor.

Posted

Keep in mind the following rules when you're adding text:

 

If the string is contained by apostrophes ( ' ), then you need to escape any apostrophes you want to include in the string. If the string is contained by quotes ( " ), then you need to escape any quotes you want to include in the string.

 

'This is "Bob's" store'  // produces an error
'This is "Bob\'s" store'  // does not produce error

"This is "Bob's" store"  // produces an error
"This is \"Bob's\" store"  // does not produce an error

Contributions

 

Discount Coupon Codes

Donations

Archived

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

×
×
  • Create New...