kansasskydiver 0 #1 May 19, 2006 I'm in need of some php help. I've got a template I'm installing onto a zen cart store and I'm getting this php error after installation: QuoteWarning: main(includes/modules/header.php): failed to open stream: No such file or directory in /home/httpd/~~~~~~/~~~~~/vstore/includes/templates/tm000/common/tpl_main_page.php on line 45 Fatal error: main(): Failed opening required 'includes/modules/header.php' (include_path='.:/usr/lib/php') in /home/httpd/~~~~~~~/~~~~~~/vstore/includes/templates/tm000/common/tpl_main_page.php on line 45***<--- See look, pink dolphins DO exist! Quote Share this post Link to post Share on other sites
Buried 0 #2 May 19, 2006 just looks like things aren't in the right directories Where is my fizzy-lifting drink? Quote Share this post Link to post Share on other sites
ChrisL 2 #3 May 19, 2006 I saw a lot of this when I was building a PHP/MySQL logbook. I replaced any variables that represented paths with full path names and the trouble stopped. The variables were valid and they should have worked, but they just didnt. Try replacing all path variables with hard coded full pathnames... I think the problem was that when a file called or included another file, the environments didnt always get passed properly__ My mighty steed Quote Share this post Link to post Share on other sites
Buried 0 #4 May 19, 2006 that reminds me you need to make sure use global vars is turned on in the php config.. that should fix that. Where is my fizzy-lifting drink? Quote Share this post Link to post Share on other sites