Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I need help! I cannot access the admin page


hmh

Recommended Posts

Posted

Hi,

 

I am new to this and I made a grave error! I was editing in the admin folder and I made some unknown mistakes. When I tired to refresh the page, I got this error message: Parse error: syntax error, unexpected '%' in /home/nailslov/public_html/admin/includes/functions/general.php on line 93

 

Now I cannot access the site at all to rectify my errors. Can anyone kindly let me know what am I supposed to do? Any help would be greatly appreciated! Thanks!

Posted
Hi,

 

I am new to this and I made a grave error! I was editing in the admin folder and I made some unknown mistakes. When I tired to refresh the page, I got this error message: Parse error: syntax error, unexpected '%' in /home/nailslov/public_html/admin/includes/functions/general.php on line 93

 

Now I cannot access the site at all to rectify my errors. Can anyone kindly let me know what am I supposed to do? Any help would be greatly appreciated! Thanks!

Restore your general.php file from the backup you made before you started making changes, and ftp it to the server.

Posted

Hi,

 

Thanks for your reply but I cannot access the admin site at all so how can I restore the backup file I previously stored? Sorry if I sound stupid but I am really new to this. Thanks!

Posted
Hi,

 

Thanks for your reply but I cannot access the admin site at all so how can I restore the backup file I previously stored? Sorry if I sound stupid but I am really new to this. Thanks!

 

 

thats the backup to your database (like your products, options, etc.). you need a backup of your actual general.php file

Posted

Oh I actually found the general.php file already but how do I restore it? Thanks!

Posted

if you don't have the backup you can redownload the store from this website and just replace the general.php file using ftp.

Posted

You can use an ftp client, known as a program to normal people, to copy a file from your pc to a web site,

 

Amongst the free ftp clients are filezilla or cuteftp

 

So if you have an original/unaltered copy on your pc you can restore this to your site when you mess up.

 

(note I said when, not if) :-)

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

Archived

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

×
×
  • Create New...