Guest Posted July 26, 2003 Posted July 26, 2003 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......
Guest Posted July 26, 2003 Posted July 26, 2003 In admin>localisation>languages set english as your default language. If you did not touch this then try uploading your language file again
Guest Posted July 26, 2003 Posted July 26, 2003 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.....
Guest Posted July 26, 2003 Posted July 26, 2003 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.
Guest Posted July 26, 2003 Posted July 26, 2003 Use a different text editor. Apparently the one that you were using doesn't handle text properly. Good luck, Matt
Guest Posted July 26, 2003 Posted July 26, 2003 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.
Guest Posted July 27, 2003 Posted July 27, 2003 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.