Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help please


Guest

Recommended Posts

I have a problem with my home page - I get the following message:

 

Parse error: parse error, unexpected '=' in /home/rkiuunjl/public_html/shop/includes/header.php on line 124

 

I'm pretty new to all this, so any help would be most appreciated. :'(

 

Kind regards

 

Brian

Link to comment
Share on other sites

You have edited files using the osCommerce File Manager - which you should not use. Restore the files you have edited with good (unedited) original copies, and then read the 'Parse Error?' link below my name.

 

Vger

Link to comment
Share on other sites

You have edited files using the osCommerce File Manager - which you should not use.  Restore the files you have edited with good (unedited) original copies, and then read the 'Parse Error?' link below my name.

 

Vger

 

Many thanks. I'm not sure how to do the above as I didn't set it all up in the first place, I can't get in touch with the guy who did the site for me.

 

Where would I find an unedited copy of this file (I'm kinda familiar with the x-controller site..)

 

Thanks again for your help.

 

Brian

Link to comment
Share on other sites

That is definately a syntax error... did you edit the code.... ours doesnt have that many lines and usually that meens you missed a quote or semi colon in php

 

Hi Jeremy, no I didn't edit the code. I don't understand html I'm afraid.

 

Brian

Link to comment
Share on other sites

Go to www.oscommerce.com, visit the downloads section and download and unzip the osCommerce 2.2 MS2 zip file on your computer. Inside, in the 'catalog' folder you'll find a complete copy of all original files.

 

If you didn't set this website up then please make sure it hasn't been modified with any Contributions added on to it that overwriting files could affect.

 

Jeremy is correct (my mistake) it is a syntax error - so for now it may be better if you just post the relevant lines from that file and we'll see if we can pick up the error for you.

 

Vger

Link to comment
Share on other sites

Go to www.oscommerce.com, visit the downloads section and download and unzip the osCommerce 2.2 MS2 zip file on your computer.  Inside, in the 'catalog' folder you'll find a complete copy of all original files.

 

If you didn't set this website up then please make sure it hasn't been modified with any Contributions added on to it that overwriting files could affect.

 

Jeremy is correct (my mistake) it is a syntax error - so for now it may be better if you just post the relevant lines from that file and we'll see if we can pick up the error for you.

 

Vger

 

You're a star. I'll have a proper look tonight at home.

 

Many thanks

 

Brian

Link to comment
Share on other sites

You have edited files using the osCommerce File Manager - which you should not use.  Restore the files you have edited with good (unedited) original copies, and then read the 'Parse Error?' link below my name.

 

Vger

 

 

:thumbsup: :thumbsup: :thumbsup:

 

Massive thanks to you. I got it up and running having found another index.php file on my system. Then I got too clever editing it and it went wrong again...

 

I read your 'parse error' advice and the apostrophe was the bad boy in all this!

 

ie 'you'd' instead of 'you\'d'. Fantastic - again, many thanks.

 

Brian

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...