Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Error


geoffreywalton

Recommended Posts

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 ======>>>>>.

Link to comment
Share on other sites

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!!!

Link to comment
Share on other sites

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!!!

Link to comment
Share on other sites

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 ======>>>>>.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...