Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2012
    Posts
    11
    Plugin Contributions
    0

    Default upgraded 1.3.8a - now no admin login page

    upgrade from 1.3.8a to 1.5
    done manually via FTP
    no addons

    I've spent 4 hours getting this upgrade done. I followed the Zen-cart tutorials as closely as I can. The front area seems to work fine, but I can't get to the admin login page.

    The old store is still running at http://toolpusherparts.com/ with the admin folder named office.

    I installed the upgrade at http://toolpusherparts.com/zen_new/ with the admin folder still named admin.

    I made changes to the admin configure.php file, but when I go to http://toolpusherparts.com/zen_new/admin/index.php , it flips over to http://toolpusherparts.com/admin/alert_page.php with a 404 error message.

    Here is my configure.php file:

    define('HTTP_SERVER', 'http://toolpusherparts.com');
    define('HTTPS_SERVER', 'http://toolpusherparts.com');
    define('HTTP_CATALOG_SERVER', 'http://toolpusherparts.com');
    define('HTTPS_CATALOG_SERVER', 'http://toolpusherparts.com');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', 'false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_ADMIN', '/admin/');
    define('DIR_WS_CATALOG', '/zen_new/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/zen_new/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_ADMIN', '/home/users/web/b1482/moo.worksharp/zen_new/admin/');
    define('DIR_FS_CATALOG', '/home/users/web/b1482/moo.worksharp/zen_new/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_');
    define('DB_SERVER', 'worksharp.fatcowmysql.com');
    define('DB_SERVER_USERNAME', '**********');
    define('DB_SERVER_PASSWORD', '********');
    define('DB_DATABASE', '************');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/home/users/web/b1482/moo.worksharp/zen_new/cache');

    Can anyone see what I am doing wrong?

    Thanks!

  2. #2
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: upgraded 1.3.8a - now no admin login page

    Should be this.

    define('DIR_WS_ADMIN', '/zen_new/admin/');
    define('DIR_WS_CATALOG', '/zen_new/');
    define('DIR_WS_HTTPS_ADMIN', '/zen_new/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/zen_new/');

  3. #3
    Join Date
    Mar 2012
    Posts
    11
    Plugin Contributions
    0

    Default Re: upgraded 1.3.8a - now no admin login page

    That did it! I can't believe I didn't see that! At least now I get the 'rename the admin folder' message.

    Thank you, thank you, thank you!

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

    Default Re: upgraded 1.3.8a - now no admin login page

    If you were actually using the new configure.php files things would be simpler. Looks like you copied your old configure.php files and simply edited them, instead of doing a fresh new install of the new version.
    .

    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
    Mar 2012
    Posts
    11
    Plugin Contributions
    0

    Default Re: upgraded 1.3.8a - now no admin login page

    Yup, that's what the zen-cart.com instructions said to do.

    "If your /zen_new folder doesn't have "/includes/configure.php" and "/admin/includes/configure.php" files, copy them from your old store folder."

    Thanks again!

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

    Default Re: upgraded 1.3.8a - now no admin login page

    Hmmmm ... better would be to do a clean fresh install of the new version, using NONE of your old site's files. That way it will generate the new configure.php files for you, since you need new ones with different content in them when you're installing in a different folder than where your live store is at.

    Something to consider for next time.
    .

    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.

  7. #7
    Join Date
    Apr 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: upgraded 1.3.8a - now no admin login page

    I copied the new install files to a separate folder /New_store and ran the install there (choosing database upgrade) but configure.php files did not generate. So like the user on this thread, I had to copy them from my old 1.3.8a folders and I am getting 404 error even though i have the correct admin folder name changes.

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: upgraded 1.3.8a - now no admin login page

    Did you change the dist_configure.php files to configure.php? On many servers, the zc_install process is able to do that for you, but some may not allow it.

 

 

Similar Threads

  1. Replies: 7
    Last Post: 12 Apr 2015, 08:38 PM
  2. Upgraded to 1.5.4........now my admin page doesn't open
    By lrfowler in forum General Questions
    Replies: 8
    Last Post: 23 Jan 2015, 09:04 PM
  3. Replies: 2
    Last Post: 11 Nov 2009, 12:07 PM
  4. Upgraded to PHP5 and now can't login
    By Sigel in forum Installing on a Linux/Unix Server
    Replies: 12
    Last Post: 15 Apr 2008, 06:53 AM
  5. Host upgraded to PHP5 now I can't login to admin
    By erikcw in forum General Questions
    Replies: 1
    Last Post: 15 Jan 2007, 04:57 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