Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Nee Help! how to fix "parse error"


lewisqic

Recommended Posts

Hi,

New here, little experience as well so forgive me. As i was messing around with the html in the header.php to try and change the image in the header. I deleted some code and tried to enter my own html code to insert an image. I dont know what i have done but now everytime i try and click on "Languages" in the admin panel, it takes me to a page that displays..."Parse error: parse error, unexpected '<', expecting ')' in /hsphere/local/home/cylinder/thesisgroup.net/admin/includes/header.php on line 19" and i cannot get back into where i can fix the html that i edited. Please someone help me here, i do not know how to fix this nor where to go next.

lewisqic

Link to comment
Share on other sites

Restore header.php from an unedited version. If you haven't got a copy then download the osCommerce MS2.2 zip file from www.oscommerce.com and unzip on your computer.

 

Vger

Link to comment
Share on other sites

Restore header.php from an unedited version.  If you haven't got a copy then download the osCommerce MS2.2 zip file from www.oscommerce.com and unzip on your computer.

 

Vger

 

 

I do have a copy of the original html, but i dont understand what you mean by restore header.php from an unedited version.

lewisqic

Link to comment
Share on other sites

The advice Im gonna give you will help you solve similar problems you may also encounter....

 

Backup

 

..also...

 

keep your oscommerce download so you may always be able to see what the original code was with any of your pages.....

 

:::Edited:::

 

Oh didnt see this had already been answered ;)

Link to comment
Share on other sites

The advice Im gonna give you will help you solve similar problems you may also encounter....

 

Backup

 

..also...

 

keep your oscommerce download so you may always be able to see what the original code was with any of your pages.....

 

 

What is Backup? how do i do backup?

lewisqic

Link to comment
Share on other sites

Restore header.php from an unedited version.  If you haven't got a copy then download the osCommerce MS2.2 zip file from www.oscommerce.com and unzip on your computer.

 

Vger

 

Ok i do not understand what you mean by restoring header.php from an unedited version... please explain what you are saying and tell me what i need to do.

lewisqic

Link to comment
Share on other sites

Ok i do not understand what you mean by restoring header.php from an unedited version... please explain what you are saying and tell me what i need to do.

 

download the osCommerce MS2.2 zip file from www.oscommerce.com and unzip on your computer.

 

After you've done that, go to the 'catalog' folder, then 'includes' and you'll find an unedited copy of header.php. FTP this file to the 'includes' folder of your website and it will be restored back to its original state.

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...