Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2005
    Posts
    211
    Plugin Contributions
    0

    Default New server, same host, same store, shared ssl no worky

    I searched, I found some info, but still I am stuck. I know the answer is probable somewhere in these forums, but I am bit overwhelmed with other unrelated distracting issues.

    My host switched everything over to a new server last weekend, store appears ok, but no one can log in, nor I into Admin.

    I did the following and wait the Host reply for help, but wonder is there something I am overlooking.

    I went to the (2) ZenCart configure.php files and changed the https references from the old "serverxx" to the new "serverXYZ"

    Before these edits, page would not load when trying to log.
    But now, after edits, when I try to log in to Admin or as customer, I get the following errors.

    Warning: Unknown: open_basedir restriction in effect. File(/home/mypassname/public_html/catalog/index.php) is not within the allowed path(s): (/usr/local/apache/htdocs:/usr/lib/php:/usr/local/sqmail:/usr/local/lib/php:/tmp) in Unknown on line 0

    Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

    Fatal error: Unknown: Failed opening required '/home/mypassname/public_html/catalog/index.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0
    I did ask the Host if they had the shared cert up and running, but only recently and yet to get the reply.
    Does these warning ring a clue to anyone that may help me get this store running again?
    Thanks,
    Justwade
    Zen 1.5.5f
    Zen 1.3.9h, Zen 1.27 + (did that, done with that)

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: New server, same host, same store, shared ssl no worky

    You haven't updated the DIR_FS_xxxxxxxx settings in your configure.php file(s) to match the new server's filesystem path information.

    Right now yours is set to something like: /home/mypassname/public_html/catalog/
    but your server is expecting something like: /usr/local/apache/htdocs/...

    Your hosting company will have to give you the correct information.
    Or else you could follow the FAQ tutorial on switching servers:
    https://www.zen-cart.com/tutorials/i...hp?article=100
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Oct 2005
    Posts
    211
    Plugin Contributions
    0

    Default Re: New server, same host, same store, shared ssl no worky

    Thanks for your quick reply.

    My host did respond to my requested help, and they changed something at their end, what I do not know. Now the store appears to be working ok. I did a couple tests with paypal when logged in and with paypal express, and they worked ok.

    My host was upgrading their servers over this last weekend, and moved everything over of mine. I did not ask them to, glad they are trying to improve on things. But I have been away on serous family matters and did not backup just before they did this.

    Now it appears that customers passwords no longer are accepted at log in and you need to use the forgot password set up to get back in. My admin password was ok and the admin area "appears ok", so far.

    Is this "Log in" password not working related to them changing me over?
    And do you think I need to do this below step, being they did the transfer?

    6. Grab the "Fix_Cache_Key" utility to reset your Admin->Sessions->Session Directory key so that it uses the proper folder path for your new server:
    http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_54&products_id=82
    Thanks again,
    Justwade
    Zen 1.5.5f
    Zen 1.3.9h, Zen 1.27 + (did that, done with that)

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: New server, same host, same store, shared ssl no worky

    The fix_cache_key utility is harmless to run as a quick-checkup.
    You can do it yourself manually if you like:

    These should match:
    a) /includes/configure.php ... DIR_FS_SQL_CACHE
    b) Admin->Configuration->Sessions->Session Directory

    If they don't, make sure that DIR_FS_SQL_CACHE is the same as DIR_FS_CATALOG, with 'cache' added to it, and then make sure your Session Directory in Admin matches DIR_FS_SQL_CACHE


    As to your customer passwords not working, I don't know what would cause that unless they mangled or changed your customer password records in the database during their maintenance. Or maybe you've installed some sort of addon that affects customer logins somehow?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: New server, same host, same store, shared ssl no worky

    I've always considered it very rude when a Hoster moves Clients from one Server to another, without first giving 7 - 10 days notice of the move. People need time to prepare for something as Major as a Server move and many things can change.

    If things were working fine before the move and now something is not working fine, then it's safe to say the move caused some problems for you. Presuming your 2 config files are now using the correct information for the new Server and all files were correctly transferred, you might be able to correct your Login problems by having your database Checked / Repaired; through either of your Hosting Control Panel or phpMyAdmin.

    Personally, I think your Hoster should spend whatever time is necessary in helping you get things back to normal.

 

 

Similar Threads

  1. v154 Moving a store within the same host
    By WhitePhantom in forum Installing on a Linux/Unix Server
    Replies: 13
    Last Post: 2 Apr 2015, 06:40 PM
  2. v139h 2 different sites on same server but want to use same product images
    By ultravires in forum General Questions
    Replies: 10
    Last Post: 4 Apr 2013, 08:16 PM
  3. v138a Upgrading server within same host
    By heygretchen in forum Upgrading to 1.5.x
    Replies: 8
    Last Post: 23 Feb 2012, 04:17 AM
  4. Creating test instance on same host server
    By n_t_r in forum General Questions
    Replies: 3
    Last Post: 16 Nov 2011, 02:14 PM
  5. changing domain on same server/host
    By slater555 in forum General Questions
    Replies: 1
    Last Post: 1 Feb 2011, 05:26 AM

Posting Permissions

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