Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2011
    Posts
    59
    Plugin Contributions
    0

    Default admin blank page "tracker.php No such file"

    I have a problem with a website constructed with zen cart. The site is www.babyselections.com and the I can access specifically my admin area...I have checked several times the configure.php files and are configured correct. I also checked the errors log file and it does shows these php warnings..

    [07-Jun-2012 10:42:50 UTC] PHP Warning: include(tracker.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /var/www/vhosts/babyselections.com/httpdocs/index.php on line 112
    [07-Jun-2012 10:42:50 UTC] PHP Warning: include(tracker.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /var/www/vhosts/babyselections.com/httpdocs/index.php on line 112
    [07-Jun-2012 10:42:50 UTC] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'tracker.php' for inclusion (include_path='.:') in /var/www/vhosts/babyselections.com/httpdocs/index.php on line 112

    Of course as you can see I cannot determine where the problem is in the admin section...The errors does not show anything about the back end...

    the admin area is: http://www.babyselections.com/babyselectionadmin2012/ and the config file is this

    define('HTTP_SERVER', 'http://www.babyselections.com');
    define('HTTPS_SERVER', 'https://www.babyselections.com');
    define('HTTP_CATALOG_SERVER', 'http://www.babyselections.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.babyselections.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', '/babyselectionadmin2012/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/babyselectionadmin2012/');
    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', '/var/www/vhosts/babyselections.com/httpdocs/babyselectionadmin2012/');
    define('DIR_FS_CATALOG', '/var/www/vhosts/babyselections.com/httpdocs/');

    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', 'xxxxxxxx');
    define('DB_SERVER_USERNAME', 'xxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxx');
    define('DB_DATABASE', 'xxxxxx');
    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', '/var/www/vhosts/babyselections.com/httpdocs/cache');

    // EOF

    Could anyone please tell me what could be possibly went wrong....We changed servers that the only thing we did. First both the front end and the admin page(back end) was showing a blank page..However I manged to solve the front end due to a fatal PHP error that was showing on the errors log file. Unfortunately I wasn't able to solve the back end...and now I really need your help.

  2. #2
    Join Date
    Jan 2004
    Posts
    58,258
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: admin blank page

    Quote Originally Posted by gmartakis View Post
    [07-Jun-2012 10:42:50 UTC] PHP Warning: include(tracker.php) : failed to open stream: No such file or directory in /var/www/vhosts/babyselections.com/httpdocs/index.php on line 112
    You've got some sort of addon that's looking for a file named "tracker.php", and that file doesn't exist ... hence the error message.

    Solution:
    Two choices:
    a) put back the file that it's looking for
    b) remove whatever was added to make it look for it

    There is no "tracker.php" file in any official core Zen Cart code.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  3. #3
    Join Date
    Feb 2011
    Posts
    59
    Plugin Contributions
    0

    Default Re: admin blank page

    Hi DrByte,
    Thanks for your quick response...I did find the tracker.php but still I get a blank page.. it was not an php error it was a warning so I don't think it has to do with the admin area...and I don't know what version I'm having as well because I cannot log in...Could you please tell me what else I could do in order to solve this..

  4. #4
    Join Date
    Jan 2004
    Posts
    58,258
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: admin blank page

    Do a compare of all your server's files against a fresh clean set of Zen Cart files, and fix whatever doesn't belong.
    http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 10 Oct 2009, 02:38 AM
  2. Replies: 1
    Last Post: 5 Sep 2009, 08:00 PM
  3. Fatal error: class_base.php: failed to open stream: No such file or directory
    By ellivir in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 4 Jun 2009, 06:11 AM
  4. Admin error (Warning: main(includes/application_top.php) No such file or directory
    By mparkes1 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 21 Feb 2009, 06:01 PM
  5. /includes/languages/spanish/modules/payment/paypal.php: no such file or directory
    By thosecars82 in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 2 Oct 2008, 06:45 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
  •