Hi guys.
Firstly I'll set the picture, I initially installed os commerce version 2.3.1. This went well, I had it up and running.
I attempted to edit some text on a page by editing includes/lang/english/index.php. I used basic text, and put it in the appropriate area. However, I used 'Textedit' on the mac for this. I uploaded it. When attempting to visit my site I was met with
"Parse Error: syntax error, unexpected T-STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /websites/123reg/linuxpackage21/pr/in/ts/printstones.co.uk/public_html/oscommerce/index.php on line 9"
I decided it would be easier to delete the whole directory and database and start again. I downloaded oscommerce 3.0.2, uploaded it to my hosting, and when attempting to access it, I was met again with the above error message!
I am completely confused! Any help would be greatly appreciated.
Thanks.
Dominic.
Latest News: (loading..)
"Parse Error: Syntax Error" etc etc.
Started by dominicmelton, Jan 31 2012, 20:25
4 replies to this topic
#1
Posted 31 January 2012, 20:25
#2
Posted 31 January 2012, 20:50
@dominicmelton,
OOPS, MISTAKE !
v3.0.2 is a developers release and NOT production ready. Delete it !
Chris
Quote
I decided it would be easier to delete the whole directory and database and start again. I downloaded oscommerce 3.0.2, uploaded it to my hosting, and when attempting to access it, I was met again with the above error message!
OOPS, MISTAKE !
v3.0.2 is a developers release and NOT production ready. Delete it !
Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:
:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:
:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:
:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:
:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:
#3
Posted 31 January 2012, 20:58
okey dokey I shall do that!
#4
Posted 01 February 2012, 06:37
All up and running again with version 2.3.1. Thanks!
#5
Posted 01 February 2012, 08:54
Dominic,
Your original problem was caused by you either deleting the ' at the beginning or end of your text or not escaping ' within the text e.g. it's should be it\'s your's should be your\'s
Your original problem was caused by you either deleting the ' at the beginning or end of your text or not escaping ' within the text e.g. it's should be it\'s your's should be your\'s
define('TEXT_MAIN', 'This is how everyone\'s text should look like within a define');
Currently...:
Working with osCommerce 2.3.1
Add-Ons so far Installed:
Add date and order number to invoice and packing slip,
Products Cycle Slideshow,
Detailed Monthly Sales,
Holiday Settings,
Tracking Module for 2.3
Working with osCommerce 2.3.1
Add-Ons so far Installed:
Add date and order number to invoice and packing slip,
Products Cycle Slideshow,
Detailed Monthly Sales,
Holiday Settings,
Tracking Module for 2.3














