Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help! Error in english.php


webangel21

Recommended Posts

I don't know what I did in the english.php script and I thought that I changed everything back but when you go to me store front it says "Parse error: parse error in /var/www/html/oscommerce/includes/languages/english.php on line 79" and the script is showing up before the text. Please help!!!

 

www.saltcells.com/oscommerce

 

 

Angel :unsure:

Link to comment
Share on other sites

I don't know what I did in the english.php script and I thought that I changed everything back but when you go to me store front it says "Parse error: parse error in /var/www/html/oscommerce/includes/languages/english.php on line 79" and the script is showing up before the text. Please help!!!

 

www.saltcells.com/oscommerce

 

 

Angel :unsure:

Post line 79 and 10 lines on either side.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

The only l line that I changed was the categories one because I was going to add a graphic but I changed it back. Line 79 is the "whats new" line and I didnt do anything to that line.

// categories box text in includes/boxes/categories.php

define('BOX_HEADING_CATEGORIES', 'Categories');

 

// manufacturers box text in includes/boxes/manufacturers.php

define('BOX_HEADING_MANUFACTURERS', 'Manufacturers');

 

// whats_new box text in includes/boxes/whats_new.php

define('BOX_HEADING_WHATS_NEW','What's New?');

Link to comment
Share on other sites

define('BOX_HEADING_WHATS_NEW','What's New?');

should be

define('BOX_HEADING_WHATS_NEW','What\'s New?');

 

The_Bear

Link to comment
Share on other sites

Now my error is line 146.

 

// javascript messages

define('JS_ERROR', 'Errors have occured during the process of your form.nnPlease make the following corrections: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.');

Link to comment
Share on other sites

define('JS_REVIEW_TEXT', '* The 'Review Text' must have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.\n');

should be:

define('JS_REVIEW_TEXT', '* The \'Review Text\' must have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.\n');

 

Dont use the file manager to edit your files

Keep a copy on your computer ...edit your file then upload it to your server

 

The_Bear

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...