Dakota Posted March 4, 2004 Share Posted March 4, 2004 Here is what I have done to replace the main page with my own: Replaced define('TEXT_MAIN'..) with $mystr = file_get_contents('yourpage.html'); define('TEXT_MAIN', $mystr); then created yourpage.html and uploaded it to the english folder. In the html page I had an image. I uploaded that image to the english folder too. Then came the moment of truth. What did I get? Warning: file_get_contents(yourpage.html): failed to open stream: No such file or directory in /var/www/html/oscommerce/includes/languages/english/index.php on line 13 I can see the html file so I don' t know why it can't find it? Link to comment Share on other sites More sharing options...
wizardsandwars Posted March 4, 2004 Share Posted March 4, 2004 Check to make sure you have granted read and execute accress to it. Give it 766 jsut to be safe. ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help. Link to comment Share on other sites More sharing options...
241 Posted March 4, 2004 Share Posted March 4, 2004 Try placing your html file in the catalog/ instead of catalog/includes/english/ 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! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Dakota Posted March 4, 2004 Author Share Posted March 4, 2004 Thanks 241, that did it.! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.