osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Hello i need help with my english.php file

This is a discussion on Hello i need help with my english.php file within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Whenever i try to view my site it says Parse error: parse error, unexpected T_STRING in /var/www/html/shopping/includes/languages/english.php on line 145 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-18-2005, 09:11 AM
New Member
 
Join Date: Feb 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
reysent
Default Hello i need help with my english.php file

Whenever i try to view my site it says
Parse error: parse error, unexpected T_STRING in /var/www/html/shopping/includes/languages/english.php on line 145

and this is line 143-146

// javascript messages
define('JS_REVIEW_TEXT', '* The 'Review Text' must have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.n');
define('JS_REVIEW_RATING', '* You must rate the product for your review.n');

Someone please help my i was trying to remove the copy right and this is what happened to me please help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 02-18-2005, 07:30 PM
Member
 
Join Date: Nov 2004
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
goaskmom
Default

Just a pure guess here, as it's out of my pay grade, but I would try putting a \ or / (can't recall which direction), in front of the two apostrophe's around the 'Review Text' , so it would look like /'Review Text/' or \'Review Text\'

It doesn't like apostrophe's, since they have meaning in PHP, and it appears that may be causing the problem. Putting the slashing in front of the apostrophe's tells it to ignore that as a normal command, and use it as "text" so to speak. Surely, someone with a brain can explain it, but that's my guess, and I stress "guess".
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-18-2005, 09:27 PM
New Member
 
Join Date: Feb 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
reysent
Default

Parse error: parse error, unexpected T_STRING in /var/www/html/shopping/includes/languages/english.php on line 147

// checkout procedure text
define('CHECKOUT_BAR_DELIVERY', 'Delivery Information');
define('CHECKOUT_BAR_PAYMENT', 'Payment Information');
define('CHECKOUT_BAR_CONFIRMATION', 'Confirmation');
define('CHECKOUT_BAR_FINISHED', 'Finished!');

// pull down default text
define('PULL_DOWN_DEFAULT', 'Please Select');
define('TYPE_BELOW', 'Type Below');

(this is line147) ->// javascript messages
define('JS_ERROR', 'There are errors in its form! Please, makes the following correciones:nn');

define('JS_REVIEW_TEXT', '* The 'Review Text' must have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.n');
define('JS_REVIEW_RATING', '* You must rate the product for your review.n');

define('JS_ERROR_NO_PAYMENT_MODULE_SELECTED', '* Please select a payment method for your order.n');

define('JS_ERROR_SUBMITTED', 'This form has already been submitted. Please press Ok and wait for this process to be completed.');

define('ERROR_NO_PAYMENT_MODULE_SELECTED', 'Please select a payment method for your order.');


Im not sure what to do ive been looking at the code for 4 hours now someone please help the forward slashes didnt help thanks for the try though.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 02-18-2005, 10:41 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,331
Thanks: 68
Thanked 323 Times in 306 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Just restore the original and start over. The mistake could be anywhere...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 02-19-2005, 08:41 AM
New Member
 
Join Date: Feb 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
reysent
Default

Where can I get the original?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 02-19-2005, 12:52 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,331
Thanks: 68
Thanked 323 Times in 306 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

In the download zip that you had to get to install osCMax in the first place, or the backup that you made before messing with your files (you did make a backup, right?)
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 02-20-2005, 09:28 AM
New Member
 
Join Date: Feb 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
reysent
Default

Yes i did I got it working now thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How do I edit english.php? ScaleCreep osCommerce 2.2 Modification Help 2 12-30-2004 04:56 AM
english.php crashes when saved by the built in file editor Trinity osCMax v1.7 Discussion 1 09-22-2004 01:06 AM
Help, I screwed up english.php! reid osCMax v1.7 Discussion 4 02-22-2004 10:43 AM
English only ? Anonymous osCMax v1.7 Discussion 1 09-21-2003 08:01 AM


All times are GMT -8. The time now is 08:48 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax