0
kansasskydiver

Php help PLEASE!

Recommended Posts

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:

Quote

Warning: 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!

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

0