Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

baffeled...


Guest

Recommended Posts

Posted

I'm baffeled.

 

http://www.sweetsfromthesouth.com/shop2/

 

why is it doing this? what could i have done to cause this. it started aftger i tried to edit

// page title

define('TITLE', 'osCommerce');

 

After that it went nuts. so i went back to the previous version and still nuts. baffeled......

Posted

In admin>localisation>languages set english as your default language. If you did not touch this then try uploading your language file again

Posted

nope not it. I tried uploading an untouched english.php file and it fixed part of the problem so i just uploaded the entire english directory. This seems to have fixed it but i'm still perplexed as to what would have stopped the system from rendering those PHP defines. i checked the code and everything looked A-OK.....

Posted

Ok if i change the following in the english.php file i get a parse error on line 70. Unexpected T_STRING.

 

// page title

define('TITLE', 'osCommerce');

and i change it to

// page title

define('TITLE', 'Sweets From The South');

Or to

// page title

define('TITLE', 'SweetsFromTheSouth');

 

ideas?? If i then upload an untoched version the error goes away.

Posted

Use a different text editor. Apparently the one that you were using doesn't handle text properly.

 

Good luck,

Matt

Posted

textpad doesn't handle text correctly? or dreamweaver?

 

also when i do it from the admin panel it gives me the same problem so i don't think it's my choice of editor.

Posted

Some people have had similar issues using the admin panel - do try a different editor - notepad is ok, but a proper code editor is the best.

Archived

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

×
×
  • Create New...