Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2015
    Location
    United States
    Posts
    4
    Plugin Contributions
    0

    help question Can't access admin area "You are seeing this page for one or more reasons"

    I have a store setup at http://ubkcstore.com with the admin at: http://ubkcstore.com/workhere/. Someone prior to me getting involved moved it from a different server. The store seems to work fine, but I can't access the admin. Right now it states on the admin page where the login should be:

    "Hello. Thank you for loading Zen Cart®.

    You are seeing this page for one or more reasons:"

    I have done as the page suggested and went into the configure.php and changed the domain name to match the new domain, this did not solve the problem. I'm not sure what else needs to be done to fix this. Any help would be very appreciated.

    please reply or email me at [email protected] and I will give you assess to the server, cpanel and the file manager.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Can't access admin area "You are seeing this page for one or more reasons"

    Seeing that page almost always means that the path information in admin/includes/configure.php is wrong. Please post the contents of that file after Xing out the database information. Also, if 'workhere' is the actual name of your admin folder, you'll need to change it now for security reasons.

  3. #3
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Can't access admin area "You are seeing this page for one or more reasons"

    Quote Originally Posted by jacobcane View Post
    ... Someone prior to me getting involved moved it from a different server. The store seems to work fine, but I can't access the admin. ... I'm not sure what else needs to be done to fix this. ...
    If you want some help fixing this on your own... Can you provide the contents of "/includes/configure.php" and "/workhere/includes/configure.php" (remove the lines for DB_SERVER_USERNAME and DB_SERVER_PASSWORD)? Please wrap the file contents with code tags (EX: [CODE]contents of the file[/CODE][CODE]contents of another file[/CODE]).

    Can you also provide the output from phpinfo (place the file in the root of your store). Again use code tags around the content (makes them easier to read).


    Quote Originally Posted by jacobcane View Post
    ... please reply or email me at ... and I will give you assess to the server, cpanel and the file manager.
    I would not trust a random stranger with access to those... But I am sure if you want someone else to just investigate and fix the issue(s), you can probably find a reputable consultant charging a reasonable fee...
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhūngīl : Plugin / Module Tracker

  4. #4
    Join Date
    Jan 2015
    Location
    United States
    Posts
    4
    Plugin Contributions
    0

    Default Re: Can't access admin area "You are seeing this page for one or more reasons"

    http://ubkcstore.com/phpinfo.php

    Code:
    <?php
    /**
     * @package Configuration Settings circa 1.5.1
     * @copyright Copyright 2003-2012 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * File Built by zc_install on 2013-10-07 11:04:29
     */
    
    
    /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
    /***************       The 2 files should be kept separate and not used to overwrite each other.      ***********/
    
    /**
     * WE RECOMMEND THAT YOU USE SSL PROTECTION FOR YOUR ENTIRE ADMIN:
     * To do that, make sure you use a "https:" URL for BOTH the HTTP_SERVER and HTTPS_SERVER entries:
     */
      define('HTTP_SERVER', 'https://ubkcstore.com/');
      define('HTTPS_SERVER', 'https://ubkcstore.com/');
      define('HTTP_CATALOG_SERVER', 'https://ubkcstore.com/');
      define('HTTPS_CATALOG_SERVER', 'https://ubkcstore.com/');
    
      // secure webserver for admin?  Valid choices are 'true' or 'false' (including quotes).
      define('ENABLE_SSL_ADMIN', 'true');
    
      // secure webserver for storefront?  Valid choices are 'true' or 'false' (including quotes).
      define('ENABLE_SSL_CATALOG', 'true');
    
    // 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)
      $t1 = parse_url(HTTP_SERVER);$p1 = $t1['path'];$t2 = parse_url(HTTPS_SERVER);$p2 = $t2['path'];
    
      define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p1) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
      define('DIR_WS_CATALOG', '/');
      define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p2) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
      define('DIR_WS_HTTPS_CATALOG', '/');
    
      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)
      define('DIR_FS_ADMIN', realpath(dirname(__FILE__) . '/../') . '/');
      //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
      define('DIR_FS_CATALOG', '/home/users/web/b316/sl.kmcintyre/');
    
      //the following path is a COMPLETE path to the /logs/ folder  eg: /var/www/vhost/accountname/public_html/store/logs ... and no trailing slash
      define('DIR_FS_LOGS', '/home/users/web/b316/sl.kmcintyre/logs');
    
      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_CHARSET', 'utf8');
      define('DB_SERVER', 'localhost');
     // USERNAME AND PASSWORD REMOVED
      define('DB_DATABASE', 'musicman_zen');
    
      // 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/b316/sl.kmcintyre/cache');
    
    
    // Define the webserver and path parameters
      // Main webserver: eg-http://www.your_domain.com - 
      // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
      // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
      // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
      // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com
      /* 
       * URLs for your site will be built via:  
       *     HTTP_SERVER plus DIR_WS_ADMIN or
       *     HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or 
       *     HTTP_SERVER plus DIR_WS_CATALOG or 
       *     HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
       * ...depending on your system configuration settings
       */
    // EOF

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

    Default Re: Can't access admin area "You are seeing this page for one or more reasons"

    All references there to /home/users/web/b316/sl.kmcintyre/ need to be changed to /home/musicman/public_html/UBKCstore.com/
    .

    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.

  6. #6
    Join Date
    Jan 2015
    Location
    United States
    Posts
    4
    Plugin Contributions
    0

    Default Re: Can't access admin area "You are seeing this page for one or more reasons"

    I made the changes suggested above which removed the page above. Now when I go to http://ubkcstore.com/workhere it go to: https://www.x3shops.com/workhere/log...from=index.php First it was stating that the site doesn't have a valid security certificate, but now it just forwards to this page.

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

    Default Re: Can't access admin area "You are seeing this page for one or more reasons"

    What's your relationship to x3shops ? Is there a rewrite rule in your server's configuration (maybe a .htaccess file you added) or in apache vhost settings?
    .

    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.

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

    Default Re: Can't access admin area "You are seeing this page for one or more reasons"

    Actually, it appears to be your SSL certificate ... it's for www.x3shops.com ... you can see the same problem when engaging SSL on your storefront too.

    It's not a Zen Cart problem. It's just that your Zen Cart is engaging SSL which is in turn triggering the certificate which belongs to another domain.

    Your hosting company is Arvixe ... and they're always advertising themselves as experts on hosting and especially for Zen Cart hosting. I suggest you take this configuration problem to them and see if they can live up to their advertising.
    .

    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.

  9. #9
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Can't access admin area "You are seeing this page for one or more reasons"

    I concur, this sounds like something your hosting provider will need to address (or can help you address - if there is a .htaccess file causing the redirect).

    In addition to DrByte's note, I also see "define('HTTP_SERVER', 'https://ubkcstore.com/');". The last slash (in red) should not be there for the *_SERVER lines. Not the cause of your issue, but something to note.

    Once the "redirection" issue is corrected, it may be worth installing a "clean" copy of Zen Cart (following the rebuilding instructions on this site) and let Zen Cart generate new "configure.php" files for you... This way the files will have the correct paths (and be 1.5.4 versions of the configuration).
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhūngīl : Plugin / Module Tracker

  10. #10
    Join Date
    Jan 2015
    Location
    United States
    Posts
    4
    Plugin Contributions
    0

    Default Re: Can't access admin area "You are seeing this page for one or more reasons"

    Thanks, I have contacted support for the hosting provider and have setup a dedicated IP and a SSL for the domain. It hasn't populated yet, we will see if it solves the problem once setup.

 

 

Similar Threads

  1. v151 You are seeing this page for one or more reasons
    By jbearnolimits in forum General Questions
    Replies: 3
    Last Post: 23 Sep 2012, 11:18 PM
  2. v139h You are seeing this page for one or more reasons
    By natan26 in forum General Questions
    Replies: 3
    Last Post: 27 Feb 2012, 08:50 PM
  3. "You are seeing this page for one or more reasons:""
    By cogmios in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 28 Dec 2010, 01:54 AM
  4. Replies: 2
    Last Post: 18 Dec 2008, 04:46 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