Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems with parse error


A-Newer-You

Recommended Posts

Posted

Parse error: parse error in /home/anewer/public_html/oscommerce/catalog/includes/languages/english/index.php on line 35

 

I took the file into my html editor and line 35 is :

define('TEXT_NOW', ' now');

 

I am lost as to how to fix this.

 

also I have changed the text on the main page, but it continues to come up as the default page .. I am totally confused.

Posted

define('TEXT_NOW', ' now');

Sould be

define('TEXT_NOW', 'now');

 

The_Bear

Posted

  define('TEXT_BUY', 'Buy 1 \'');
 define('TEXT_NOW', '\' now');

 

are you editing using the online file manager which has a known issue of removing backslashes 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! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

thank you very much .. seems that the backslash was indeed the problem.

 

I uploaded a fixed copy from my html editor, instead of using the built in file manager and it seems to be working fine now .. thank you both very much!!

Archived

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

×
×
  • Create New...