Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems changing Header.php


e_jammosc

Recommended Posts

Posted

Hi,

I?m a newbie and I am currently trying to learn the wonders of oscommerce however sometimes find it somewhat frustrating. My problem at the moment is the header.php file in the include directory. No matter what I do to it, it does change the front page. I?ve removed code/tables, rename images and it does not make a difference. However when I rename the header.php file to header.php_old I get this error message displayed

 

Warning: main(includes/header.php): failed to open stream: No such file or directory in /home/matchbal/public_html/oscommerce/index.php on line 56

 

Warning: main(includes/header.php): failed to open stream: No such file or directory in /home/matchbal/public_html/oscommerce/index.php on line 56

 

Fatal error: main(): Failed opening required 'includes/header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/matchbal/public_html/oscommerce/index.php on line 56

 

Has anyone experience this? Any suggestions please. I trying to move the search box to the header. Also can I change the name Categories to say Products ain?t figured that out yet?

Thanks

 

Newbie

Posted

On some servers permissions will not allow you to overwrite the file using an FTP client - rename it then upload your new file.

 

Matti

Posted
On some servers permissions will not allow you to overwrite the file using an FTP client - rename it then upload your new file.

 

Matti

 

Hi Matti,

I did as you suggested but it still did not work. Do you or anyone else have any other ideas. Also can I change the the name 'categories' to say 'products'.

Thanks again

Posted

You change categories to what you like in english.php, just look for "categories" and replace with "what ever"

 

Regards

Posted

The problem with the header file is now solved. I installed a contribution and that seem to cause major problems. I discovered this when I tried to do simple changes which was also not working so I reverted to my backup and was able to change the fle.

Thanks guys

Archived

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

×
×
  • Create New...