Forums / General Questions / admin blank page "tracker.php No such file"

admin blank page "tracker.php No such file"

Views: 1,031

Results 1 to 4 of 4
8 Jun 2012, 6:29 PM
#1
gmartakis avatar

gmartakis

New Zenner

Join Date:
Feb 2011
Posts:
73
Plugin Contributions:
0

admin blank page "tracker.php No such file"

I have a problem with a website constructed with zen cart. The site is https://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.

8 Jun 2012, 10:32 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: admin blank page "tracker.php No such file"

gmartakis:

[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!
Donate to: DrByte directly or to the Zen Cart team as a whole

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.

11 Jun 2012, 6:27 PM
#3
gmartakis avatar

gmartakis

New Zenner

Join Date:
Feb 2011
Posts:
73
Plugin Contributions:
0

Re: admin blank page "tracker.php No such file"

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

13 Jun 2012, 6:02 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: admin blank page "tracker.php No such file"

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.php/Troubleshoot_-_Diagnosing_Obscure_Issues

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

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.