♥geoffreywalton Posted November 3, 2007 Posted November 3, 2007 Sounds lke you have been editing files using the admin pages abd file manager. If you have access to your web hosting account with a frnt end such as cpanel, it has file manager functionality in ther. Can you log on to your site using ftp? Google filezilla and download a copy of that. It is a brilliant tool. Enjoy Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
keith23832 Posted November 3, 2007 Posted November 3, 2007 was installing the calander found at http://www.oscommerce.com/community/contri...ons,1061/page,6. I installed everything on order and checking off as I went. I got to the catalog/admin/includes/languages/english.php section and added: // images ADD define('IMAGE_NEW_EVENT', 'New Event'); Saved. Now in my admin pages I get this error: Parse error: syntax error, unexpected T_STRING in /home/thegu5/public_html/admin/includes/languages/english.php on line 111 I cannot edit anything... HELP!!!
keith23832 Posted November 3, 2007 Posted November 3, 2007 Sounds lke you have been editing files using the admin pages abd file manager. If you have access to your web hosting account with a frnt end such as cpanel, it has file manager functionality in ther. Can you log on to your site using ftp? Google filezilla and download a copy of that. It is a brilliant tool. Enjoy So let me doubel check this real quick, I can acccess my files from cpanel and just get rid of what I changed... GREAT!!!
spax Posted November 3, 2007 Posted November 3, 2007 Post line 111 and the line of code immediately before it, from admin/includes/languages/english.php, here.
Avec Posted November 3, 2007 Posted November 3, 2007 Chances are the line above the noted line did not end correctly. Make sure that they end in ;
♥geoffreywalton Posted November 3, 2007 Author Posted November 3, 2007 Bit of a problem if he can't edit anything :-) Thought I had already put a reply here, if you have access to your hosting admin panel such as cpanel there is normally a File Manager there. Use that to download the file and check for syntax errors. Things like brackets, comma and qoutes should all be in the same sort of positions on the other lines Around line 111 in one of mine is shown below, yours should look similar to but your contribution editing might have "corrupted" it. define('BOX_TOOLS_MAIL', 'Send Email'); define('BOX_TOOLS_NEWSLETTER_MANAGER', 'Newsletter Manager'); define('BOX_TOOLS_SERVER_INFO', 'Server Info'); define('BOX_TOOLS_WHOS_ONLINE', 'Who\'s Online'); // localizaion box text in includes/boxes/localization.php define('BOX_HEADING_LOCALIZATION', 'Localization'); define('BOX_LOCALIZATION_CURRENCIES', 'Currencies'); define('BOX_LOCALIZATION_LANGUAGES', 'Languages'); define('BOX_LOCALIZATION_ORDERS_STATUS', 'Orders Status'); // javascript messages define('JS_ERROR', 'Errors have occured during the process of your form!\nPlease make the following corrections:\n\n'); define('JS_OPTIONS_VALUE_PRICE', '* The new product atribute needs a price value\n'); define('JS_OPTIONS_VALUE_PRICE_PREFIX', '* The new product atribute needs a price prefix\n'); Enjoy Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
spax Posted November 3, 2007 Posted November 3, 2007 Bit of a problem if he can't edit anything :-) Not much point to your post then. I've yet to see a problem with osC that stops you using FTP.
spax Posted November 3, 2007 Posted November 3, 2007 You know what, either I'm going mad or posts 1 and 3 wasn't there when I originally posted. As it stands, the posts look out of sequence.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.