Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Apr 2011
    Location
    San Diego, CA
    Posts
    7
    Plugin Contributions
    0

    Default Admin trouble after changing servers

    After moving my zencart based site to another server (for a fixed I/P and SSL), the user end of the site appears connected to the database and working, but the admin side fails to connect to the database. I checked that the username and password are correct.

    I'm using the current version of zen cart and
    Apache version 2.2.14
    PHP version 5.2.12
    MySQL version 5.0.91

    I should mention that while following the transfer instructions I ran into two puzzling conflicts:
    1. The instructions were talking about an 'admin' directory where as my admin directory is 'zc_admin' and
    2. In the zc_admin folder I have no 'configure.php' but I do have 'configuration.php'.

    I NEED HELP!! PLEASE!!
    Last edited by DannyFischman; 9 May 2011 at 05:30 PM.

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Admin trouble after changing servers

    the file is here...

    zc_admin/ includes/ configure.php
    What do you have here:
    define('DB_PREFIX', '');

    Reason why.. are you using a database prefix?????

  3. #3
    Join Date
    Apr 2011
    Location
    San Diego, CA
    Posts
    7
    Plugin Contributions
    0

    Default Re: Admin trouble after changing servers

    Thanks for the reply!
    The prefix is zen_ and it is correct both in the configure files and the database.

  4. #4
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Admin trouble after changing servers

    You might have to call the host and ask about these fields then..
    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'XXXXXXXXXX');
    define('DB_SERVER_PASSWORD', 'XXXXXXXX');
    define('DB_DATABASE', 'XXXXXXXXX');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    I used XXXXXXX to hide my original... Ask your host company..

  5. #5
    Join Date
    Apr 2011
    Location
    San Diego, CA
    Posts
    7
    Plugin Contributions
    0

    Default Re: Admin trouble after changing servers

    Thank you again!
    Now, here's the problem --
    you know how there are two configure files, right?
    So them vars you mention are in both, ok, and they are the same.
    The one used for the store is obviously correct because the store works. Accesses the database - no problem.
    The admin, now it gives me a general error about "internal error" when I try to log in as admin.
    What to do? Oh what to do???

  6. #6
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

 

 

Similar Threads

  1. v139h Cannot log in to Admin after changing servers - have read FAQ's
    By shags38 in forum General Questions
    Replies: 5
    Last Post: 31 Jul 2013, 02:18 PM
  2. v139h admin showing "system set up required" after changing servers
    By shags38 in forum Installing on a Linux/Unix Server
    Replies: 14
    Last Post: 21 Jun 2012, 03:09 AM
  3. Downloads broke after changing servers
    By makelightreal in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 26 Jan 2011, 12:30 AM
  4. restoring after changing servers
    By modwerx in forum General Questions
    Replies: 10
    Last Post: 30 Jun 2009, 06:13 AM
  5. Warning session _save_path error after changing servers
    By ginar in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 7 Jan 2007, 03:19 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