Page 5 of 7 FirstFirst ... 34567 LastLast
Results 41 to 50 of 68
  1. #41
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Cannot access admin

    In post #12 of this thread you posted your "admin/includes/configure.php" file and yet, the image shows no such file. Either find the previous one and upload it or upload the default one; which is named "dist-configure.php" and you rename it.

  2. #42
    Join Date
    Apr 2010
    Posts
    149
    Plugin Contributions
    0

    Default Re: Cannot access admin

    Quote Originally Posted by Website Rob View Post
    In post #12 of this thread you posted your "admin/includes/configure.php" file and yet, the image shows no such file. Either find the previous one and upload it or upload the default one; which is named "dist-configure.php" and you rename it.
    That was throwdown. I will upload the default one. Where can i find it? Thanks!
    Last edited by gamenet; 20 Oct 2010 at 04:24 PM.

  3. #43
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Cannot access admin

    You should always have a default copy of any script being used on the site. If you don't have one for Zen Cart you can get one using the Download link on the Home page of this site: http://zen-cart.com/

  4. #44
    Join Date
    Aug 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: Cannot access admin

    I continue to get the same error on my includes/configure.php file of [a fatal error or timeout occurred while processing this directive]

    everytime I try to go back in and save. I try to change the permissions before hand but they don't seem to save. Could that be the issue (although they somehow worked when I saved it to true for enable ssl).

    At this point, I just need to be able to access my admin area again.
    Last edited by Throwdown; 20 Oct 2010 at 09:47 PM.

  5. #45
    Join Date
    Aug 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: Cannot access admin

    Oh and if anyone is able to help I'd be more than happy to buy you a cup of coffee, a case of beer, etc.

    Thanks!
    Posted via Mobile Device

  6. #46
    Join Date
    Apr 2010
    Posts
    149
    Plugin Contributions
    0

    Default Re: Cannot access admin

    Just keep trying, mine fixed its self and i was able to once again change permission of the file :).

  7. #47
    Join Date
    Apr 2010
    Posts
    149
    Plugin Contributions
    0

    Default Re: Cannot access admin

    Okay Sir, I have now downloaded the default dis-configure file for /admin/includes.
    I renamed it the file configure.php
    This whole problem started when I redirected my url to include the www. And I was told I need to change both configure files.
    My URL is http://www.gamenet.net.au/
    If you, or anyone could put my URL where it is needed I will be eternally great-full.

    Code:
    <?php
    /**
     * dist-configure.php
     *
     * @package Configuration Settings
     * @package Admin
     * @copyright Copyright 2003-2007 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: dist-configure.php 6329 2007-05-16 15:36:56Z drbyte $
     * @private
     */
    
    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.yourdomain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.yourdomain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.yourdomain.com
    /* 
     * URL's 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
     *
     * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
     */
      define('HTTP_SERVER', 'http://localhost');
      define('HTTPS_SERVER', 'https://localhost');
      define('HTTP_CATALOG_SERVER', 'http://localhost');
      define('HTTPS_CATALOG_SERVER', 'https://localhost');
    
      // 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', '/');
      define('DIR_WS_HTTPS_ADMIN', '/admin/');
      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)
      //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
      define('DIR_FS_ADMIN', '/admin/');
      define('DIR_FS_CATALOG', '/');
    
      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', 'localhost'); 
      define('DB_SERVER_USERNAME', 'root');
      define('DB_SERVER_PASSWORD', '');
      define('DB_DATABASE', '');
      define('USE_PCONNECT', 'false');
      define('STORE_SESSIONS', 'db'); 
      // 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', '/enter/your/path/to/public_html_or_htdocs/and/zencart/here/zen/cache');
    
    ?>
    I have tried several different ways but it just tells me i have an error. If someone could post the correct code i shuld have...then hopefully i be able to get into admin again!

    Thanks in advance!

  8. #48
    Join Date
    Sep 2010
    Location
    US
    Posts
    26
    Plugin Contributions
    0

    Default Re: Cannot access admin

    Finally!! I had not removed all the files from IH2.... It was causing errors that caused my admin to fail. I have to redo some things, but it is worth it now that I can get into the backend...

    Thanks

  9. #49
    Join Date
    Aug 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: Cannot access admin

    Quote Originally Posted by Ampboy View Post
    Finally!! I had not removed all the files from IH2.... It was causing errors that caused my admin to fail. I have to redo some things, but it is worth it now that I can get into the backend...

    Thanks
    What's IH2?

  10. #50
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Cannot access admin

    Throwdown ... reload your file:
    /admin/index.php

    NOTE: if your real Admin directory is:
    /fred

    load the file:
    /fred/index.php
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 5 of 7 FirstFirst ... 34567 LastLast

Similar Threads

  1. I cannot access my admin?!
    By df1810 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 14 Jan 2009, 06:14 AM
  2. Replies: 11
    Last Post: 4 Oct 2007, 06:53 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