Guest Posted October 19, 2002 Share Posted October 19, 2002 Hi, i've just done a new install of oscommerce, and i keep getting this error at the top of each page, Parse error: parse error in /home/domains/mydomain.co.uk/user/htdocs/includes/functions/general.php on line 1102 and when i log into the admin pages, i get this error page at the top of every page, Parse error: parse error in /home/domains/mydomain.co.uk/user/htdocs/admin/includes/functions/general.php on line 1233 I'm no expert on oscommerce, so this could have an easy fix but i have no idea, thanks in advance for any help. Link to comment Share on other sites More sharing options...
arbocenc Posted October 20, 2002 Share Posted October 20, 2002 Hi! Can you write these lines here? Ps: I've had some parse error because of < ' > simbol (is an special caracter in php language, and if you use it in your language, for example in words like "can't" you must write "can't". The < > symbol scapes the special function of < ' > symbol. Ps: My English is not very good, I'm sorry! :-) [email protected] www.delaterra.net organic food in Catalonia Link to comment Share on other sites More sharing options...
Guest Posted October 20, 2002 Share Posted October 20, 2002 This is line 1102 of /home/domains/mydomain.co.uk/user/htdocs/includes/functions/general.php ?> its the very last line and line 1233 of home/domains/mydomain.co.uk/user/htdocs/admin/includes/functions/general.php ? and again this is the last line. Link to comment Share on other sites More sharing options...
arbocenc Posted October 23, 2002 Share Posted October 23, 2002 I'm not an expert in php, but I think if there is a black-space. Make yourself sure there is not any space caracter at the end of your files... Joan [email protected] www.delaterra.net organic food in Catalonia Link to comment Share on other sites More sharing options...
Jan0815 Posted October 23, 2002 Share Posted October 23, 2002 and line 1233 of home/domains/mydomain.co.uk/user/htdocs/admin/includes/functions/general.php ? and again this is the last line. That should be ?> and not ?. HTH You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist. Link to comment Share on other sites More sharing options...
jdessel Posted November 2, 2002 Share Posted November 2, 2002 I think I'm having a similar problem today. This is my error message: Parse error: parse error, unexpected $ in /home/ewpromo/public_html/catalog/includes/languages/english.php on line 326 Line 326 only has ?> on it and nothing else. No spaces before or after. Link to comment Share on other sites More sharing options...
jdessel Posted November 2, 2002 Share Posted November 2, 2002 Better yet, if anyone would be so kind as to try to help me fix this, here's the link to my catalog mess: http://www.everywearpromotions.com/catalog/default.php I don't know what the heck I did but everything looked fine until I edited english.php and default.php in English. Thanks for all your patience & generous help. Link to comment Share on other sites More sharing options...
burt Posted November 2, 2002 Share Posted November 2, 2002 Post the last 10 lines of your file "english.php" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.