Results 1 to 10 of 23

Hybrid View

  1. #1
    Join Date
    Feb 2010
    Location
    Minnesota
    Posts
    391
    Plugin Contributions
    0

    Default Cannot access Admin on a new install

    I am going to build a new store with Zencart 1.5.4 I went through the installation process without any problems. (I think)
    I can access the store but not the Admin. I think maybe the URL I am typing may be wrong but everything I try does not work.

    I keep getting the 404 error. Page Not Found

    Any ideas would be greatly appreciated.

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

    Default Re: Cannot access Admin on a new install

    Quote Originally Posted by Maynards View Post
    ... Any ideas would be greatly appreciated.
    Please answers to all of the questions asked in the "Posting Tips". The "Posting Tips" can be found by scrolling up when posting a response. The more verbose you can be with your answers, the better chance a community member will be able to help.

    In addition to all of the questions in the"Posting Tips", please provide a copy of the "/includes/configure.php" file created by Zen Cart during the installation. Remove the lines with DB_SERVER_USERNAME and DB_SERVER_PASSWORD. Please use code tags when supplying the contents of "/includes/configure.php" (this makes the file easier for everyone to read). Code tags can be created by pressing the "#" button when posting (EX: [CODE]file contents[/CODE]).
    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

  3. #3
    Join Date
    Feb 2010
    Location
    Minnesota
    Posts
    391
    Plugin Contributions
    0

    Default Re: Cannot access Admin on a new install

    Quote Originally Posted by lhungil View Post
    Please answers to all of the questions asked in the "Posting Tips". The "Posting Tips" can be found by scrolling up when posting a response. The more verbose you can be with your answers, the better chance a community member will be able to help.
    I can see I am not a savey on this forum as I may need to be. I have no idea what your first paragraph means....

    Any how here is a copy of the file you asked about.



    <?php
    /**
    * @package Configuration Settings circa 1.5.4
    * @copyright Copyright 2003-2014 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 2015-02-02 09:13:48
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://www.maynardstackle.com');
    define('HTTPS_SERVER', 'https://www.maynardstackle.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', '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_CATALOG', '/154zen/catalog/');
    define('DIR_WS_HTTPS_CATALOG', '/154zen/catalog/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    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', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    // * 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_CATALOG', '/hermes/waloraweb081/b1893/moo.maynar/154zen/catalog/');

    //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', '/hermes/waloraweb081/b1893/moo.maynar/154zen/catalog/logs');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_CHARSET', 'utf8');
    define('DB_SERVER', 'maynar.fatcowmysql.com');
    define('DB_SERVER_USERNAME', '*************');
    define('DB_SERVER_PASSWORD', '********');
    define('DB_DATABASE', '154zen');

    // 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', '/hermes/waloraweb081/b1893/moo.maynar/154zen/catalog/cache');

    // EOF

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

    Default Re: Cannot access Admin on a new install

    One of the big questions from the "Posting Tips" is: "HOW did you install Zen Cart? (upload via FTP and run zc_install, a one-click install from your hosting company, etc)?".

    Can you verify the folder you renamed "/admin" to after install exists (via FTP)? Also keep in mind the name should not include any spaces and on most servers the name is case sensitive (capitalization matters). Usually a 404 indicates the folder (or file) does not exist on the server.

    Quote Originally Posted by Maynards View Post
    I can see I am not a savvy on this forum as I may need to be. I have no idea what your first paragraph means....
    If you are not on a phone you can scroll up in your web browser when replying to a post (or creating a new post) to see the "Posting Tips". If on a phone, I would recommend accessing the forum on something with a larger screen (one can click "Full Site" at the bottom of the page from a phone, but navigation gets interesting). The "Posting Tips" look something like:
    Name:  posting-tips.jpg
Views: 623
Size:  83.6 KB
    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

  5. #5
    Join Date
    Feb 2010
    Location
    Minnesota
    Posts
    391
    Plugin Contributions
    0

    Default Re: Cannot access Admin on a new install

    I am on a computer.
    I currently have a store using zencart 139h that I want to keep running until I completely build a new store with zencart 1.5.4
    I downloaded the new version to my computer then uploaded it using a FTP program then ran the install. I am able to open the new versions catalog/store but I am not able to open the Admin panel. I did not rename admin. I have done a search on this forum on that but came up empty.
    I have placed this fresh install in a folder and not to the root directory because it will be weeks till I am ready to go live.

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

    Default Re: Cannot access Admin on a new install

    Quote Originally Posted by Maynards View Post
    ... I did not rename admin. ...
    This is a step required when installing Zen Cart 1.5+ If you skipped this it may be part of the problem. I'd also advise against just overwriting a copy of the 1.3.x site (does not sound like you did this - which is good).

    Please review "How Do I Install Zen Cart" and "How do I rebuild my site on the new version". Both are excellent reference documents (along with the documentation included with the downloaded copy of Zen Cart - if you downloaded from this website).

    Keep in mind Zen Cart 1.5.4 will not run out-of-box under PHP < 5.3.7 and Zen Cart 1.3.x will not run out-of-box under PHP > 5.3. Reference "Zen Cart Server Requirements" for more details.
    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

 

 

Similar Threads

  1. Cannot access /admin/ after new install.
    By JoeToys in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 14 Jul 2015, 11:19 AM
  2. Cannot access admin area after fresh/clean install
    By Schoralous in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 30 Sep 2011, 04:32 PM
  3. cannot access admin error after install
    By gmg_fit in forum Installing on a Windows Server
    Replies: 19
    Last Post: 1 Jul 2011, 08:20 PM
  4. Cannot Access Admin after SSL Install
    By tasha_g in forum Installing on a Mac Server
    Replies: 1
    Last Post: 11 Feb 2011, 07:59 PM
  5. New Install - Can't access Admin
    By Crooked_Halo in forum General Questions
    Replies: 9
    Last Post: 14 Jul 2008, 08:37 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