Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Jun 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: Help Help Help! I cannot login to Admin

    I've got a similar problem as well. I reinstalled my shop from a backup and now I get this error when I try to go to the admin page:

    Fatal error: Cannot redeclare zen_href_link() (previously declared in /home/myUsername/public_html/shop/admin/includes/functions/html_output.php:28) in /home/myusername/public_html/shop/admin/includes/functions/extra_functions/html_output.php on line 31
    line 31 in functions/html_output is
    if ($connection == 'NONSSL') {
    Any ideas on what I should do?

  2. #12
    Join Date
    Mar 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: Help Help Help! I cannot login to Admin

    Hey!

    I have very similar problem as the other people had in this thred.

    When I try to load the admin login page I get this error

    Warning: require(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php) [function.require]: failed to open stream: No such file or directory in /home/deborah/public_html/hallintaDeborah1999/includes/languages/english.php on line 50

    Warning: require(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php) [function.require]: failed to open stream: No such file or directory in /home/deborah/public_html/hallintaDeborah1999/includes/languages/english.php on line 50

    Fatal error: require() [function.require]: Failed opening required 'DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/deborah/public_html/hallintaDeborah1999/includes/languages/english.php on line 50

    I have added to admin/includes/configure.php deffinition for LANGUAGES but the I still have the same problem. Can someone see whats wrong? (admin is actually hallintaDeborah1999)

    here is part of the configure.php
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
    define('DIR_WS_PHPBB', '/');

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

    Default Re: Help Help Help! I cannot login to Admin

    That looks like the configure.php file for the Catalog rather than the Admin ...

    Check that you have not mixed up the two files ...
    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!

  4. #14
    Join Date
    Mar 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: Help Help Help! I cannot login to Admin

    Hey!

    Thank you for spotting that mistake I had mixed up those two configuration files. I corrected that but now I get only this when I'm trying to login:

    /home/deborah/public_html/includes/languages/english//meta_tags.php

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

    Default Re: Help Help Help! I cannot login to Admin

    Looks like you may still have errors in the:
    /your_secret_admin_dir/includes/configure.php

    You are showing double // in that ...

    If you can post, from the server, without your secret admin directory and database password the file:
    /your_secret_admin_dir/includes/configure.php

    we could look at it and see if we spot anything ...
    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!

  6. #16
    Join Date
    Mar 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: Help Help Help! I cannot login to Admin

    Hey!

    I reinstalled and I got rid of the problem, but I couldn't copy all files back (I didn't try to overwrite two configure files). Otherwise the problem came back. When tried to ovewrite admin/includes/languages folder the problem came back. So maybe the problem is there. Here is stilll my admin/includes configure file

    <?php
    /**
    * @package Configuration Settings circa 1.3.9
    * @copyright Copyright 2003-2009 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 2011-03-20 04:24:16
    */


    /*************** 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. ***********/

    // 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
    *
    * 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://www.hidden.com');
    define('HTTPS_SERVER', 'http://www.hidden.com');
    define('HTTP_CATALOG_SERVER', 'http://www.hidden.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.hidden.com');

    // Use 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', '/hidden/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/hidden/');
    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', '/home/deborah/public_html/hidden/');
    define('DIR_FS_CATALOG', '/home/deborah/public_html/');

    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', 'hidden');
    define('DB_SERVER_PASSWORD', 'hidden');
    define('DB_DATABASE', 'hidden');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, 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', '/home/deborah/public_html/cache');

    // EOF

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

    Default Re: Help Help Help! I cannot login to Admin

    What new debug logs are created in the:
    /cache

    directory now?
    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!

  8. #18
    Join Date
    Mar 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: Help Help Help! I cannot login to Admin

    There doesn't come anything new when I copy old admin/includes/language folder over new ones. Admin login just gaves the same /home/deborah/public_html/includes/languages/english//meta_tags.php

    I quess I can go around this by reinstalling languages.

    This is error I found from the log. But I think it is because I reinstalled without owerwriting the language folder.


    [20-Mar-2011 05:05:35] PHP Warning: include_once(includes/languages/french.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /home/hidden/public_html/includes/init_includes/init_templates.php on line 72
    [20-Mar-2011 05:05:35] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'includes/languages/french.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hidden/public_html/includes/init_includes/init_templates.php on line 72
    [20-Mar-2011 05:05:35] PHP Warning: require(includes/languages/french/html_includes/define_main_page.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/hidden/public_html/includes/templates/theme197/templates/tpl_index_default.php on line 45
    [20-Mar-2011 05:05:35] PHP Warning: require(includes/languages/french/html_includes/define_main_page.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/hidden/public_html/includes/templates/theme197/templates/tpl_index_default.php on line 45
    [20-Mar-2011 05:05:35] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/french/html_includes/define_main_page.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hidden/public_html/includes/templates/theme197/templates/tpl_index_default.php on line 45

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Cannot access Admin login page after several attempts and FAQ suggestions, HELP!
    By jnb41578 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 6 Jul 2011, 02:57 AM
  2. Help??? Cannot login to admin
    By arteklektrika in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Jul 2009, 12:29 AM
  3. cannot login please help
    By amopro in forum Basic Configuration
    Replies: 8
    Last Post: 24 Jul 2007, 05:02 AM
  4. HELP! Cannot Admin Login
    By nextebizguy in forum General Questions
    Replies: 4
    Last Post: 10 Sep 2006, 06:12 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