Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Apr 2012
    Posts
    17
    Plugin Contributions
    0

    Default My Server Migrated - No more store

    My hosting company recently migrated their server, and now my zen cart is no longer showing. All they told me was:

    “Your new home directory is: /home/theo
    Database (MySQL/PostgreSQL) Hostname: localhost
    There may be changes to the database name/username of your databases, please double check all of your software that uses any database to confirm that they are working properly. You may need to update the configuration of your software when necessary for the new database name/username.”


    I had/have my zen cart in a folder I will call store.
    After reading much in the forums, I have made the following edits to my:
    public_html/includes/CONFIGURE.PHP:

    define('DIR_WS_CATALOG', '/store/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');

    define('DIR_FS_CATALOG', 'home/theo/public_html/store/');
    define('DIR_FS_SQL_CACHE', 'home/theo/public_html/store/cache');

    And the following edits to my:
    Public_html/store/includes/CONFIGURE.PHP:

    define('DIR_WS_HTTPS_CATALOG', '/store/');

    define('DIR_FS_CATALOG', 'home/theo/ public_html/store/');
    define('DIR_FS_SQL_CACHE', 'home/theo/store/cache');


    Still no website. Am I missing something… a slash in the wrong place, or a misguided directory path? Are there other files I will need to edit?

    Note I do NOT seem to have an ADMIN folder appearing in this newly migrated server and my DIR_FS_ADMIN is not defined. If I indeed need this file, then I must have had one before when it was working before migration? What could have happened to it?
    Any help would be appreciated!

  2. #2
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: My Server Migrated - No more Zen Cart

    So if you're store truly was in a directory called store, the the first file would have been

    Public_html/store/includes/CONFIGURE.PHP:

    And the second would have been
    Public_html/store/MYSECRETADMIN/includes/CONFIGURE.PHP:

    But if your new store is not in a directory, then remove /store from all locations.

    The notification also addressed changes to the database. Values for that are also entered in the same two files, should be the same in both and should match the settings found in your cPanel for your database.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Apr 2012
    Posts
    17
    Plugin Contributions
    0

    Default Re: My Server Migrated - No more Zen Cart

    I do have a store directory and I'm calling it store here for the sake of privacy.
    My only 2 configure.php files are located in
    public_html/includes/
    and
    public_html/store/includes/

    I do not appear to have an Admin folder of any kind under public_html/store... nothing that was renamed either that contains another includes folder and configure file.
    My ecommerce site had been up and functional for the past 2 years until this migration, so I would assume that I must have had an admin folder at one point? Could it have been wiped out during their migration?

  4. #4
    Join Date
    Apr 2012
    Posts
    17
    Plugin Contributions
    0

    Default Re: My Server Migrated - No more Zen Cart

    Site is www.thedealsdiscount.com. I am getting the start-up screen.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: My Server Migrated - No more Zen Cart

    You need to check your /includes/configure.php and/or /YOUR_ADMIN/includes/configure.php as the install screen being displayed indicates:
    Code:
    Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information and/or invalid database-connection information.

  6. #6
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: My Server Migrated - No more Zen Cart

    If ZC is infact in public_html, and "store" is your admin directory, then the values such as:
    Code:
    define('DIR_WS_CATALOG', '/store/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');
    
    define('DIR_FS_CATALOG', 'home/theo/public_html/store/');
    define('DIR_FS_SQL_CACHE', 'home/theo/public_html/store/cache');
    Should be changed to:
    Code:
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    
    define('DIR_FS_CATALOG', 'home/theo/public_html/');
    define('DIR_FS_SQL_CACHE', 'home/theo/public_html/cache');
    Notice like I said earlier, remove /store from the paths... The admin path is autogenerated based on whereever the admin files are, so there is no change needed for that one (really two) variables that contain the word ADMIN.

    There is still question about whether your database information is correct based on the original message, but if your setup is as described, the above modifications to both configure.php files will resolve at least half of the problem.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Apr 2012
    Posts
    17
    Plugin Contributions
    0

    Default Re: My Server Migrated - No more Zen Cart

    IT WORKED!! (Almost)
    I made the changes, and then discovered that I needed to add a slash at the beginning of the path as follows:
    define('DIR_FS_CATALOG', '/home/theo/public_html/');
    define('DIR_FS_SQL_CACHE', '/home/theo/public_html/cache');

    Thank you so much, I'm back in business!
    Dave

  8. #8
    Join Date
    Apr 2012
    Posts
    17
    Plugin Contributions
    0

    Default Re: My Server Migrated - No more Zen Cart

    Well... my site is back up but I am not able to get into my Zen Admin.
    The message I am getting is:
    Secure Connection Failed

    "An error occurred during a connection to www.thedealsdiscount.com. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long)

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified."

    Do I need to go in and redefine any direction to my admin files?

  9. #9
    Join Date
    Apr 2012
    Posts
    17
    Plugin Contributions
    0

    Default Re: My Server Migrated - No more Zen Cart

    Tried to "check-out" on an item as well and get the same error message...

  10. #10
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: My Server Migrated - No more Zen Cart

    Quote Originally Posted by DavidWM View Post
    Well... my site is back up but I am not able to get into my Zen Admin.
    The message I am getting is:
    Secure Connection Failed

    "An error occurred during a connection to www.thedealsdiscount.com. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long)

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified."

    Do I need to go in and redefine any direction to my admin files?
    Quote Originally Posted by DavidWM View Post
    Tried to "check-out" on an item as well and get the same error message...
    Those messages mean your hosting company has not correctly configured your SSL certificate.
    Log a ticket with them to fix it.
    In the meantime, set ENABLE_SSL and ENABLE_SSL_ADMIN and ENABLE_SSL_CATALOG to 'false' in your configure.php files.
    (That will of course mean all your customer logins and checkouts, and your admin logins, will not be encrypted, until you get it fixed.)
    Then once your hosting company has correctly installed your SSL certificate, you can put those settings back to 'true'.
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Migrated store from IIS 7 to Mac OS X Server.app, cannot log in
    By p3rryman in forum Installing on a Mac Server
    Replies: 3
    Last Post: 7 Feb 2014, 06:22 PM
  2. Migrated store to new server... Orders not showing up. Help please
    By josephd79 in forum PayPal Express Checkout support
    Replies: 4
    Last Post: 2 Dec 2011, 07:12 PM
  3. Error after host migrated me to a new server?
    By ksport in forum General Questions
    Replies: 3
    Last Post: 25 Jun 2010, 07:08 PM
  4. Migrated to new server
    By Louieh5 in forum General Questions
    Replies: 0
    Last Post: 4 Nov 2009, 02:11 AM
  5. Migrated/Moved to a new server - information pages not showing/missing
    By gonsman in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 1 Jul 2009, 04:42 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR