skweeble Posted November 21, 2004 Posted November 21, 2004 Hi, and am pretty new to all of this. I was reading through lots of the other posts because I was having the problem where the currency would display in ?'s in the admin area, but on the actual site was in USD. Quite a few of them said I needed to change the following: // if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language) define('LANGUAGE_CURRENCY', 'GBP'); With the change being putting GBP at the end, whereas before it was USD. After I did this my webpage just displays the following message: Parse error: parse error, unexpected T_STRING in /home/chessim/public_html/catalog/includes/languages/english.php on line 79 Line 79 reads the following: // whats_new box text in includes/boxes/whats_new.php define('BOX_HEADING_WHATS_NEW', 'What's New?'); Please help, because I cannot see what I have done wrong, or what the relevance of the 'what's new' heading is to the currency. Thanks, John D
241 Posted November 21, 2004 Posted November 21, 2004 You have used the online file manager to edit the file and this has removed the backslashes from the code giving the resulting error. It is better to use an ftp program such as ws_ftp to download the file and edit offline then ftp upload the file. It would be easier for you to get a fresh copy of the file edit offline and then upload the file. The error is: // whats_new box text in includes/boxes/whats_new.php define('BOX_HEADING_WHATS_NEW', 'What's New?'); should read // whats_new box text in includes/boxes/whats_new.php define('BOX_HEADING_WHATS_NEW', 'What\'s New?'); this is the first of a number of errors that you will now find on the file due to the backslashes having been removed from the code. No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.