e_jammosc Posted July 7, 2005 Posted July 7, 2005 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
Guest Posted July 8, 2005 Posted July 8, 2005 On some servers permissions will not allow you to overwrite the file using an FTP client - rename it then upload your new file. Matti
e_jammosc Posted July 9, 2005 Author Posted July 9, 2005 On some servers permissions will not allow you to overwrite the file using an FTP client - rename it then upload your new file. Matti <{POST_SNAPBACK}> 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
rommany Posted July 9, 2005 Posted July 9, 2005 You change categories to what you like in english.php, just look for "categories" and replace with "what ever" Regards
e_jammosc Posted July 9, 2005 Author Posted July 9, 2005 You change categories to what you like in english.php, just look for "categories" and replace with "what ever" Regards <{POST_SNAPBACK}> Thanks David, that worked
e_jammosc Posted July 9, 2005 Author Posted July 9, 2005 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.