Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

parse error


olagram

Recommended Posts

Posted

help, i'm a total newbie... rookie... virgin to oscommerce, but was able to install it on my server. I'm getting a "parse error unexpected t_string in .... includes/languages/english.php line 79".

i don't know where to start counting the lines of code, but it must be somewhere in the following paragraph... i don't see anything that could be causing this error. please review the code and let me know if you see anything that's causing this error. please help, i'm panicking!. thanks so much :(

 

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

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

 

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

define('BOX_HEADING_SEARCH', 'Quick Find');

define('BOX_SEARCH_TEXT', 'Use keywords to find the product you are looking for.');

define('BOX_SEARCH_ADVANCED_SEARCH', 'Advanced Search');

 

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

define('BOX_HEADING_SPECIALS', 'Specials');

 

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

define('BOX_HEADING_REVIEWS', 'Reviews');

define('BOX_REVIEWS_WRITE_REVIEW', 'Write a review on this product!');

define('BOX_REVIEWS_NO_REVIEWS', 'There are currently no product reviews');

define('BOX_REVIEWS_TEXT_OF_5_STARS', '%s of 5 Stars!');

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

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

 

 

 

Change This:

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

 

to

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

 

and remembr for the future, apostrophe should be preceded by slash \'

 

good luck! :thumbsup:

Posted

That does not seem to be a line you would have changed. How are you editing your files? If you are using the online editor in the admin do not do so anymore. You need to get yourself a php editor (do a google search there are quite a few free ones) and edit your files locally and ftp them to your server. Another advantage of using a php editor is it will give you line numbers.

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??

Posted
That does not seem to be a line you would have changed. How are you editing your files? If you are using the online editor in the admin do not do so anymore. You need to get yourself a php editor (do a google search there are quite a few free ones) and edit your files locally and ftp them to your server.  Another advantage of using a php editor is it will give you line numbers.

 

 

The best advice, should be in capitals on the first install explain text !

Treasurer MFC

Posted

Agreed! More than that I just DO NOT UNDERSTAND why this forum does not use 'stickies' to cover the most basic of questions, which are asked time and time again each and every day. It's not the fault of the posters! It is something the mods need to get to grips with.

 

Vger

Archived

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

×
×
  • Create New...