Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2006
    Location
    Australia
    Posts
    80
    Plugin Contributions
    0

    Default Error opening Admin Control Panel

    I am upgrading from 1.3.5 to 1.3.7.

    It's pretty much a fresh install at the moment with only the config file having been modified, I haven't even transferred any of my override files over yet.

    When I try to log into the admin control panel I'm getting the following errors:

    Warning: main(DIR_WS_INCLUDESauto_loaders/config.core.php) [function.main]: failed to open stream: No such file or directory in /home/sites/live2knit.com.au/public_html/xxxx/admin/includes/application_top.php on line 127

    Warning: main(DIR_WS_INCLUDESauto_loaders/config.core.php) [function.main]: failed to open stream: No such file or directory in /home/sites/live2knit.com.au/public_html/xxxx/admin/includes/application_top.php on line 127

    Warning: main(DIR_WS_INCLUDESauto_loaders/config.core.php) [function.main]: failed to open stream: No such file or directory in /home/sites/live2knit.com.au/public_html/xxxx/admin/includes/application_top.php on line 127

    Warning: main() [function.include]: Failed opening 'DIR_WS_INCLUDESauto_loaders/config.core.php' for inclusion (include_path='.:/usr/share/pear') in /home/sites/live2knit.com.au/public_html/xxxx/admin/includes/application_top.php on line 127

    Warning: dir(DIR_WS_INCLUDESauto_loaders) [function.dir]: failed to open dir: No such file or directory in /home/sites/live2knit.com.au/public_html/test/admin/includes/application_top.php on line 128

    Warning: main(DIR_FS_CATALOGincludes/autoload_func.php) [function.main]: failed to open stream: No such file or directory in /home/sites/live2knit.com.au/public_html/xxxx/admin/includes/application_top.php on line 147

    Warning: main(DIR_FS_CATALOGincludes/autoload_func.php) [function.main]: failed to open stream: No such file or directory in /home/sites/live2knit.com.au/public_html/xxxx/admin/includes/application_top.php on line 147

    Warning: main(DIR_FS_CATALOGincludes/autoload_func.php) [function.main]: failed to open stream: No such file or directory in /home/sites/live2knit.com.au/public_html/xxxx/admin/includes/application_top.php on line 147

    Fatal error: main() [function.require]: Failed opening required 'DIR_FS_CATALOGincludes/autoload_func.php' (include_path='.:/usr/share/pear') in /home/sites/live2knit.com.au/public_html/xxxx/admin/includes/application_top.php on line 147

    Am I missing a file or something?
    Any help would be much appreciated

    Thanks
    Katie
    www.live2knit.com.au

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

    Default Re: Error opening Admin Control Panel

    It looks like your configure.php file(s) are bad ...

    Can you post, from the server, without your username and password:
    /includes/configure.php
    /admin/includes/configure.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!]
    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!

  3. #3
    Join Date
    Sep 2006
    Location
    Australia
    Posts
    80
    Plugin Contributions
    0

    Default Re: Error opening Admin Control Panel

    Ajeh, thanks for that, I thought I had modified the configure file but I must have wiped it instead, I've fixed that up but now I'm getting this error:

    0 DB_ERROR_NOT_CONNECTED
    in:
    [select * from project_version WHERE project_version_key = 'Zen-Cart Database' ]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

    Thanks
    Katie
    www.live2knit.com.au

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

    Default Re: Error opening Admin Control Panel

    That sounds like an error on the database name, server, username or password ...

    Make sure both files match and look for typos ...
    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!]
    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!

  5. #5
    Join Date
    Aug 2006
    Posts
    166
    Plugin Contributions
    2

    Default Re: Error opening Admin Control Panel

    hi ajeh
    i have installed my zen cart 1.3.7, i get access to the shop, but in admin page, it give me this error:
    Warning: main(DIR_WS_INCLUDESauto_loaders/config.core.php) [function.main]: failed to open stream: No such file or directory in /home/regine/public_html/portal/admin/includes/application_top.php on line 127

    Warning: main(DIR_WS_INCLUDESauto_loaders/config.core.php) [function.main]: failed to open stream: No such file or directory in /home/regine/public_html/portal/admin/includes/application_top.php on line 127

    Warning: main(DIR_WS_INCLUDESauto_loaders/config.core.php) [function.main]: failed to open stream: No such file or directory in /home/regine/public_html/portal/admin/includes/application_top.php on line 127

    Warning: main() [function.include]: Failed opening 'DIR_WS_INCLUDESauto_loaders/config.core.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/regine/public_html/portal/admin/includes/application_top.php on line 127

    Warning: dir(DIR_WS_INCLUDESauto_loaders) [function.dir]: failed to open dir: No such file or directory in /home/regine/public_html/portal/admin/includes/application_top.php on line 128

    Warning: main(DIR_FS_CATALOGincludes/autoload_func.php) [function.main]: failed to open stream: No such file or directory in /home/regine/public_html/portal/admin/includes/application_top.php on line 147

    Warning: main(DIR_FS_CATALOGincludes/autoload_func.php) [function.main]: failed to open stream: No such file or directory in /home/regine/public_html/portal/admin/includes/application_top.php on line 147

    Warning: main(DIR_FS_CATALOGincludes/autoload_func.php) [function.main]: failed to open stream: No such file or directory in /home/regine/public_html/portal/admin/includes/application_top.php on line 147

    Fatal error: main() [function.require]: Failed opening required 'DIR_FS_CATALOGincludes/autoload_func.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/regine/public_html/portal/admin/includes/application_top.php on line 147
    ***************
    you can see my configure.php
    admin/include/configure.php
    <?php
    define('HTTP_SERVER', 'http://www.mydomain.com');
    define('HTTPS_SERVER', 'https://www.mydomain.com');
    define('HTTP_CATALOG_SERVER', 'http://www.mydomain.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.com');

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

    //note: my shop is located in www.mydomain.com/portal//
    define('DIR_WS_ADMIN', '/portal/admin/');
    define('DIR_WS_CATALOG', '/portal/');
    define('DIR_WS_HTTPS_ADMIN', '/portal/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/portal/');

    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/xxxx/public_html/portal/admin/');
    define('DIR_FS_CATALOG', '/home/xxxx/public_html/portal/');
    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', '');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'xxxx_xxxx');
    define('DB_SERVER_PASSWORD', 'xxxxx');
    define('DB_DATABASE', 'aaaa_aaaa');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage
    define('SQL_CACHE_METHOD', 'file');
    define('DIR_FS_SQL_CACHE', '/home/xxxx/public_html/portal/cache');
    ?>
    ****************************************************************************
    my include/configure.php

    <?php

    // 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
    define('HTTP_SERVER', 'http://www.nabyab.ir');
    define('HTTPS_SERVER', 'https://www.nabyab.ir');
    // 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', '/portal/');
    define('DIR_WS_HTTPS_CATALOG', '/portal/');
    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', '/home/xxxxx/public_html/portal/');
    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_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'xxxxx_reza');
    define('DB_SERVER_PASSWORD', 'xxxx');
    define('DB_DATABASE', 'xxxxx_xxxxx');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage
    define('SQL_CACHE_METHOD', 'file');
    define('DIR_FS_SQL_CACHE', '/home/xxxxx/public_html/portal/cache');
    ?>

  6. #6
    Join Date
    Aug 2006
    Posts
    166
    Plugin Contributions
    2

    Default Re: Error opening Admin Control Panel

    Oops
    I Did Again Installation Process And Now It Works. ALTHOUGH THE CONFIGURE FILES ARE AGAIN THE SAME!!!!!!!!!!!

 

 

Similar Threads

  1. Problem accessing admin control panel
    By Twaddle in forum Basic Configuration
    Replies: 1
    Last Post: 11 Feb 2010, 11:36 AM
  2. Admin Control Panel is missing!
    By gizmo_girl in forum Basic Configuration
    Replies: 2
    Last Post: 22 Jan 2010, 11:02 PM
  3. Admin Control Panel or CSS?
    By jaggers in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 16 Nov 2007, 06:33 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