Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Oct 2006
    Location
    New Jersey, USA
    Posts
    116
    Plugin Contributions
    0

    Default Can't Get Store to Open after migrate to web

    Hi

    I just migrated from my localhost to my web server. I can get into Admin, but not the store.

    I am getting this message:
    Warning: require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [function.require]: failed to open stream: No such file or directory in /home/.servername/acctname/magicfoxden.com/index.php on line 43

    Fatal error: require() [function.require]: Failed opening required 'DIR_WS_TEMPLATEStemplate_default/common/html_header.php' (include_path='.:/usr/local/php5/lib/php') in /home/.servername/acctname/magicfoxden.com/index.php on line 43

    I do have the template_default/common/html_header.php in my store's include directory.

    I've been working on and researching this for the past hour and am stuck. Where do I go now? Please point me in the right direction.

    Thanks
    John D

  2. #2
    Join Date
    Mar 2004
    Posts
    16,019
    Plugin Contributions
    5

    Default Re: Can't Get Store to Open after migrate to web

    try to re-upload the file it may be corrupt

  3. #3
    Join Date
    Oct 2006
    Location
    New Jersey, USA
    Posts
    116
    Plugin Contributions
    0

    Default Re: Can't Get Store to Open after migrate to web

    Thanks for the reply Merlin, unfortunately this attempted fix was unsuccessful.

    I uploaded from both my local site and also from the original install files. Neither worked.

    Next step?

  4. #4
    Join Date
    Oct 2006
    Location
    New Jersey, USA
    Posts
    116
    Plugin Contributions
    0

    Default Re: Can't Get Store to Open after migrate to web

    Perhaps this will help you help me?

    Here is what I did to get me into this situation:
    • installed 1.3.7 on local machine
    • did my configurations and was satisfied with my local store
    • backed up my local db
    • installed 1.3.7 on remote
    • deleted the zc_install folder
    • uploaded all of my local files and overwrote what was on the remote
    • confirmed that my config files were ok
    • restored my db to remote
    • went to store URL -- got the messages in question
    • went to admin -- no problem getting in
    Based on Merlin's advice:
    • re-uploaded the html_header.php
    • re-upload from local store, then from local copy of installl files
    • no luck

  5. #5
    Join Date
    Oct 2006
    Location
    New Jersey, USA
    Posts
    116
    Plugin Contributions
    0

    Default Re: Can't Get Store to Open after migrate to web

    I am no further along than I was yesterday. I am dead in the water. Any clues?

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    21,093
    Plugin Contributions
    25

    Default Re: Can't Get Store to Open after migrate to web

    Sorry, this is not my field of expertise.

    However, I do notice that you have a call for

    'DIR_WS_TEMPLATEStemplate_default/common/html_header.php'

    which is messed up. DIR_WS_TEMPLATES should be replaced by the filepath leading to template_default. So it seems that your configure.php may not be entirely correct, or else the file looking for it is not looking correctly - probably the latter.

  7. #7
    Join Date
    Oct 2006
    Location
    New Jersey, USA
    Posts
    116
    Plugin Contributions
    0

    Default Re: Can't Get Store to Open after migrate to web

    Thanks Glenn.

    I can only hope that someone comes by to get me out of this hole.

  8. #8
    Join Date
    May 2004
    Posts
    102
    Plugin Contributions
    2

    Default Re: Can't Get Store to Open after migrate to web

    In your error it says

    /home/.servername/acctname/magicfoxden.com/index.php

    It looks to me like your paths are not done right. You need to ask your webhost what your server paths should be.

    Another question...what did you use to put the files from your localhost to your webhost?

  9. #9
    Join Date
    Oct 2006
    Location
    New Jersey, USA
    Posts
    116
    Plugin Contributions
    0

    Default Re: Can't Get Store to Open after migrate to web

    Quote Originally Posted by cjmarley View Post
    In your error it says

    /home/.servername/acctname/magicfoxden.com/index.php
    It looks to me like your paths are not done right. You need to ask your webhost what your server paths should be.

    I took the path that was in the error message and overwrote the actual server name and acct name with servername/acctname. Where I have servername -- that's really my filer. I verified that the path was correct with my provider.

    Another question...what did you use to put the files from your localhost to your webhost?
    I used SmartFTP Client.

  10. #10
    Join Date
    May 2004
    Posts
    102
    Plugin Contributions
    2

    Default Re: Can't Get Store to Open after migrate to web

    Okay. I just noticed:

    DIR_WS_TEMPLATEStemplate_default/common/html_header.php

    there is no / between DIR_WS_TEMPLATES and template_default. Again, that's an issue with your paths in the config file. You forgot a / somewhere.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Errors! Help, store supposed to open today!
    By gourmets in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Mar 2007, 04:07 AM
  2. Clarifying ZC issues w/ Web Site Payments Pro: It doesn't work yet in v1.3.7
    By teksimple in forum PayPal Express Checkout support
    Replies: 17
    Last Post: 20 Mar 2007, 01:01 AM
  3. moving the store
    By Erica in forum General Questions
    Replies: 2
    Last Post: 23 Aug 2006, 09:10 PM
  4. Advice on best way to migrate store
    By glanceup in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 15 Aug 2006, 10:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •