sudden error messages

i have used hostmonster for my site since i started it. i used the pagewizard builder that they had and zenphoto for my gallery. recently the took away the availability of pagewizard and i started using kompozer and filezilla. about a week ago i went to check my gallery (customer rigs) and the page came up with an error.

Warning: require_once(zp-core/template-functions.php) [function.require-once]: failed to open stream: No such file or directory in /home1/whiteknu/public_html/home1/whiteknu/public_html/customerrigs/index.php on line 14

Fatal error: require_once() [function.require]: Failed opening required 'zp-core/template-functions.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home1/whiteknu/public_html/home1/whiteknu/public_html/customerrigs/index.php on line 14

that is the error is gives me. i created a whole new zenphoto install and it works fine but wont link to my main site. i am not even able to get into the admin for the gallery i am getting the error message on. i didnt update it before i got the error, so i updated it thinking it was that, and still got the errors. im not sure what else to do to fix it so any suggestions or info would be a great help.

Comments

  • acrylian Administrator, Developer
    I quickly look at your site itself. I don't see any Zenphoto there but some links are broken as well.

    You probably need to define the WEBPATH within `/zp-data/zp-config.php` manually as the path is doubled within the urls above. See the comments in the file. Otherwise contact your host about that. If that happened suddenly they might have changed something.
  • so i did what you suggested, and still got an error. so i contacted hostmonster and here is what they said

    Thank you for contacting us. That index file is trying to include /zp-core/template-functions.php. This PHP file within the /zp-core does not exist. Please contact the developer of the ZenCart about obtaining this file to upload to the /zp-core. Sometimes a fresh install of script can provide that file as well.

    i transfered the missing file via filezilla and the error messaged changed. i am not getting this:

    Warning: require_once(/home1/whiteknu/public_html/home1/whiteknu/public_html/customerrigs/zp-core/lib-utf8.php) [function.require-once]: failed to open stream: No such file or directory in /home1/whiteknu/public_html/home1/whiteknu/public_html/customerrigs/zp-core/functions-basic.php on line 45

    Fatal error: require_once() [function.require]: Failed opening required '/home1/whiteknu/public_html/home1/whiteknu/public_html/customerrigs/zp-core/lib-utf8.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home1/whiteknu/public_html/home1/whiteknu/public_html/customerrigs/zp-core/functions-basic.php on line 45

    im really lost. ive tried replacing the files with unedited ones, editing them, etc. im not sure what else to do with it.
  • acrylian Administrator, Developer
    So did you set the WEBPATH as I suggested to fix this wrong URL?:
    `home1/whiteknu/public_html/home1/whiteknu/public_html/customerrigs/..`
    As you see and your host should have as well the `home1/whiteknu/public_html/` is doubled.
Sign In or Register to comment.