osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Cannot login to admin

This is a discussion on Cannot login to admin within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Dear all, Hope someone can help me out on this. Unfortunately I cannot get the admin section working. As soon ...

      
  1. #1
    Member
    Join Date
    Dec 2008
    Location
    MALTA
    Posts
    34
    Rep Power
    0


    Default Cannot login to admin

    Dear all,

    Hope someone can help me out on this. Unfortunately I cannot get the admin section working. As soon as I go to Admin the following url comes up in a blank page:

    AABox Web Hosting | Web Hosting for the 21st centrury

    Seen both configre files and they look good too. As well as the store which is working normal. I appreciate and thank you in advance for your help.

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Cannot login to admin

    Re upload all the admin files except the configure.php file. Looks like your FTP upload missed a few files or corrupted them.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Member
    Join Date
    Dec 2008
    Location
    MALTA
    Posts
    34
    Rep Power
    0


    Default Re: Cannot login to admin

    Hi Michael... Many thanks for your email. Unfortunately still doesn't work even after i have replaced all the files as suggested. Please note that yesterday I have also replaced the conf file since the installation path had changed. Basically I had installed the store under the main server and after I have added the domain and connected it to the folder where the store was installed. I don't think that should have interrfered.

    Here is the cong file code:

    <?php
    /*
    osCMax v2.0, Open Source E-Commerce Solutions
    osCommerce Documentation by OSCdox :: osCommerce and osCMax documentation
    Copyright 2006 osCMax2005 osCMax
    Released under the GNU General Public License
    */
    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', 'http://www.kazooikids.com'); // eg, cPanel - should not be empty for productive servers
    define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
    define('ENABLE_SSL', false); // secure webserver for checkout procedure?
    define('HTTP_COOKIE_DOMAIN', 'www.kazooikids.com');
    define('HTTPS_COOKIE_DOMAIN', '');
    define('HTTP_COOKIE_PATH', '/catalog/');
    define('HTTPS_COOKIE_PATH', '');
    define('DIR_WS_HTTP_CATALOG', '/catalog/');
    define('DIR_WS_HTTPS_CATALOG', '');
    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    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_DOWNLOAD_PUBLIC', 'pub/');
    define('DIR_FS_CATALOG', '/home/switchp1/public_html/kazooi/catalog/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    // define our database connection
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
    define('DB_SERVER_USERNAME', '*******');
    define('DB_SERVER_PASSWORD', '*******');
    define('DB_DATABASE', 'switchp1_kazooi');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
    ?>

  4. #4
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Cannot login to admin

    Hi there,

    When I try to get your admin login page by going to the url

    kazooikids.com/catalog/admin/index.php
    I get bounced to the following

    which has got a config bit in it - namely "dir_ws_admin"

    Did you update the other configure.php file? (catalog/admin/includes/configure.php) The one in admin will need to be changed as well if you have moved your dir structure.

    pgmarshall
    Last edited by pgmarshall; 04-09-2009 at 01:00 AM.

  5. #5
    Member
    Join Date
    Dec 2008
    Location
    MALTA
    Posts
    34
    Rep Power
    0


    Default Re: Cannot login to admin

    Many thanks for you reply. Yes basically both files are updated and now all I'm getting is a blank page. AABox Web Hosting | Web Hosting for the 21st centrury

  6. #6
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Cannot login to admin

    The url will not work since is it badly formed and includes "dir_ws_admin" rather than "catalog/admin/" - This would make me think that you have missed something in the ADMIN configure.php file.

    When I click your link - I get the following in my url bar.


    Do you want to post the contents of your admin/configure.php file? (take out the passwords etc first)

    pgmarshall

  7. #7
    Member
    Join Date
    Dec 2008
    Location
    MALTA
    Posts
    34
    Rep Power
    0


    Default Re: Cannot login to admin

    There you:

    <?php
    /*
    osCMax v2.0, Open Source E-Commerce Solutions
    osCommerce Documentation by OSCdox :: osCommerce and osCMax documentation
    Copyright 2006 osCMax2005 osCMax
    Released under the GNU General Public License
    */
    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', 'http://www.kazooikids.com'); // eg, cPanel - should not be empty for productive servers
    define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
    define('ENABLE_SSL', false); // secure webserver for checkout procedure?
    define('HTTP_COOKIE_DOMAIN', 'www.kazooikids.com');
    define('HTTPS_COOKIE_DOMAIN', '');
    define('HTTP_COOKIE_PATH', '/catalog/');
    define('HTTPS_COOKIE_PATH', '');
    define('DIR_WS_HTTP_CATALOG', '/catalog/');
    define('DIR_WS_HTTPS_CATALOG', '');
    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    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_DOWNLOAD_PUBLIC', 'pub/');
    define('DIR_FS_CATALOG', '/home/switchp1/public_html/kazooi/catalog/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    // define our database connection
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
    define('DB_SERVER_USERNAME', '*****');
    define('DB_SERVER_PASSWORD', '*****');
    define('DB_DATABASE', 'switchp1_kazooi');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
    ?>

  8. #8
    Member
    Join Date
    Dec 2008
    Location
    MALTA
    Posts
    34
    Rep Power
    0


    Default Re: Cannot login to admin

    Sorry here it is:

    PHP Code:
    <?php
    /*
      osCMax v2.0, Open Source E-Commerce Solutions
      http://www.osCDox.com
      Copyright 2006 osCMax2005 osCMax
      Released under the GNU General Public License
    */
    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
      
    define('HTTP_SERVER''http://www.kazooikids.com'); // eg, http://localhost - should not be empty for productive servers
      
    define('HTTPS_SERVER'''); // eg, https://localhost - should not be empty for productive servers
      
    define('ENABLE_SSL'false); // secure webserver for checkout procedure?
      
    define('HTTP_COOKIE_DOMAIN''www.kazooikids.com');
      
    define('HTTPS_COOKIE_DOMAIN''');
      
    define('HTTP_COOKIE_PATH''/catalog/');
      
    define('HTTPS_COOKIE_PATH''');
      
    define('DIR_WS_HTTP_CATALOG''/catalog/');
      
    define('DIR_WS_HTTPS_CATALOG''');
      
    define('DIR_WS_IMAGES''images/');
      
    define('DIR_WS_ICONS'DIR_WS_IMAGES 'icons/');
      
    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_DOWNLOAD_PUBLIC''pub/');
      
    define('DIR_FS_CATALOG''/home/switchp1/public_html/kazooi/catalog/');
      
    define('DIR_FS_DOWNLOAD'DIR_FS_CATALOG 'download/');
      
    define('DIR_FS_DOWNLOAD_PUBLIC'DIR_FS_CATALOG 'pub/');
    // define our database connection
      
    define('DB_SERVER''localhost'); // eg, localhost - should not be empty for productive servers
      
    define('DB_SERVER_USERNAME''*****');
      
    define('DB_SERVER_PASSWORD''*****');
      
    define('DB_DATABASE''switchp1_kazooi');
      
    define('USE_PCONNECT''false'); // use persistent connections?
      
    define('STORE_SESSIONS''mysql'); // leave empty '' for default handler or set to 'mysql'
    ?>

  9. #9
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Smile Re: Cannot login to admin

    I think we have found your problem.

    I am no expert at OSCMAX but it looks like you have mixed up the configure.php files.

    There are two of these
    1) catalog/includes/configure.php
    2) catalog/admin/includes/configure.php

    Both files look fairly similar BUT they are not the same ...

    Your ADMIN configure files should look something like this: (clean copy from install file)

    Code:
    
    <?php
    /*
    osCMax v2.0, Open Source E-Commerce Solutions
    http://www.osCDox.com
    Copyright 2006 osCMax2005 osCMax, 2003 osCommerce
    Released under the GNU General Public License
    */
    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers
    define('HTTP_CATALOG_SERVER', '');
    define('HTTPS_CATALOG_SERVER', '');
    define('ENABLE_SSL_CATALOG', ''); // secure webserver for catalog module
    define('DIR_FS_DOCUMENT_ROOT', ''); // where the pages are located on the server
    define('DIR_WS_ADMIN', ''); // absolute path required
    define('DIR_FS_ADMIN', ''); // absolute pate required
    define('DIR_WS_CATALOG', ''); // absolute path required
    define('DIR_FS_CATALOG', ''); // absolute path required
    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
    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', DIR_WS_CATALOG . 'includes/languages/');
    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_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FCKEDITOR', DIR_FS_CATALOG . 'FCKeditor/');
    define('DIR_WS_FCKEDITOR', DIR_WS_CATALOG . 'FCKeditor/');
    // define our database connection
    define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers
    define('DB_SERVER_USERNAME', '');
    define('DB_SERVER_PASSWORD', '');
    define('DB_DATABASE', '');
    define('USE_PCONNECT', 'false'); // use persisstent connections?
    define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
    ?>
    
    Note all the references to ADMIN, FCKEDITOR etc.

    Your post is either a copy of the configure file from the catalog side or you have overwritten the ADMIN configure file with the one from CATALOG.

    Hope this helps,

    pgmarshall

  10. #10
    Member
    Join Date
    Dec 2008
    Location
    MALTA
    Posts
    34
    Rep Power
    0


    Default Re: Cannot login to admin

    Many thanks for your reply but unfortunately I am still getting the same result... blank page! This thing is driving mad.

Page 1 of 2 12 LastLast

Similar Threads

  1. Admin Login
    By torweb in forum osCmax v2 Installation issues
    Replies: 16
    Last Post: 01-29-2010, 03:05 AM
  2. RC2 Admin Login for MS2
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 09-03-2008, 05:50 AM
  3. Admin Login Problem - my customer can't login, I can
    By pram0310 in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 10-29-2004, 10:46 AM
  4. Admin Login Help
    By SyraxSinister in forum osCMax v1.7 Installation
    Replies: 3
    Last Post: 07-09-2004, 06:37 AM
  5. Well crap... admin login not allowing login-no errors
    By tauras911 in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 07-06-2004, 11:12 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
  •