Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need HELP BADLY?????


Shahrukh

Recommended Posts

Okay I am so not versed with all this PHP stuff.

Here's what happened. I downloaded the following:

 

/admin/includes/header.php

 

I wanted to see if I could increase the width of the header file.

 

Maybe not realizing, I must have uploaded it to

 

/catalog/includes/header.php

 

Now I cannot even access my site as I get the following error after my logo comes up:

 

Fatal error: Call to undefined function: tep_catalog_href_link() in \catalog\includes\header.php on line 20

 

Can anyone help me or can I obtain this header.php file for admin/includes/header.php?????? from somewhere.

 

Please help anyone

Link to comment
Share on other sites

From what you say it is the catalog/includes/header.php that you require to replace having overwritten it with the admin/includes/header.php

 

If you still have the zip file for osc that you would have downloaded initially to install 2.2ms2 then open this zip file extract the required header.php and upload, you will have lost any changes that you made to the header.php unless you happen to have a backup if you have a backup then use it.

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Thank you, I tried downloading the zip and I uploaded the new header.php from the catalog/includes/header.php and it still doesn't seem to be working.

So I don't know at this point, back to square 1. or if there are any hints out there?

Link to comment
Share on other sites

Make sure you have write permissions to the includes directory, otherwise it may appear that you uploaded the file whereas in fact you did not :P

 

Matti

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...