Zen Cart Logo
Forums / Installing on a Windows Server / dummy with white page after admin login

dummy with white page after admin login

Locked

Views: 4,665

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
26 Apr 2010, 8:05 PM
#1
domrepcigars avatar

domrepcigars

New Zenner

Join Date:
Apr 2010
Posts:
8
Plugin Contributions:
0

dummy with white page after admin login

Hi Pro's
after 2 days reading and trying I have the main page working,
but after the admin log in just a plain white page.

re downloadet, re instaled a cuple of times, I dont give up easy but now I am on a "ask somebody point"

vers 1.3.9.a

its a windows server on host excellence

http://www.domrepcigars.com/

I need the force !!!

26 Apr 2010, 8:33 PM
#2
domrepcigars avatar

domrepcigars

New Zenner

Join Date:
Apr 2010
Posts:
8
Plugin Contributions:
0

Re: dummy with white page after admin login

found this in the cache debug log

[26-Apr-2010 13:57:18] PHP Fatal error: Cannot redeclare zen_date_raw()
(previously declared in d:\hshome\netpoint\domrepcigars.com\admin\includes\languages\english.php:36)
in d:\hshome\netpoint\domrepcigars.com\admin\includes\languages\english.php on line 36

26 Apr 2010, 10:23 PM
#3
domrepcigars avatar

domrepcigars

New Zenner

Join Date:
Apr 2010
Posts:
8
Plugin Contributions:
0

Re: dummy with white page after admin login

i found this in a older thread

but still the same

There was a structural change to primary language files in v1.3, which you need to incorporate into your translation pack:

english.php is an example (but applies equally to french.php, for example):
PHP Code:
function zen_date_raw($date, $reverse = false) {
if ($reverse) {
return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
} else {
return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);
}
}
should now read:
PHP Code:
if (!function_exists('zen_date_raw')) {
function zen_date_raw($date, $reverse = false) {
if ($reverse) {
return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
} else {
return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);
}
}
}

26 Apr 2010, 10:24 PM
#4
domrepcigars avatar

domrepcigars

New Zenner

Join Date:
Apr 2010
Posts:
8
Plugin Contributions:
0

Re: dummy with white page after admin login

did a brand new clean installation but I got the same error

26 Apr 2010, 10:32 PM
#5
domrepcigars avatar

domrepcigars

New Zenner

Join Date:
Apr 2010
Posts:
8
Plugin Contributions:
0

Re: dummy with white page after admin login

my admin includes configure.PHP file

/netpoint/duarte-cigars.com/admin/includes

<?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 2010-04-26 02:53:33 */ /*************** 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.domrepcigars.com'); define('HTTPS_SERVER', 'https://www.domrepcigars.com'); define('HTTP_CATALOG_SERVER', 'http://www.domrepcigars.com'); define('HTTPS_CATALOG_SERVER', 'https://www.domrepcigars.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', '/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', 'd:/hshome/netpoint/domrepcigars.com/admin/'); define('DIR_FS_CATALOG', 'd:/hshome/netpoint/domrepcigars.com/'); 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', '%%%%%%%%%'); define('DB_SERVER_USERNAME', '%%%%%%%%'); define('DB_SERVER_PASSWORD', '%%%%%%%%'); define('DB_DATABASE', '%%%%%%%%'); 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', 'd:/hshome/netpoint/domrepcigars.com/cache'); // EOF
26 Apr 2010, 10:36 PM
#6
domrepcigars avatar

domrepcigars

New Zenner

Join Date:
Apr 2010
Posts:
8
Plugin Contributions:
0

Re: dummy with white page after admin login

my include configure.php 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 2010-04-26 04:54:21 */ /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com define('HTTP_SERVER', 'http://www.duarte-cigars.com'); define('HTTPS_SERVER', 'https://www.duarte-cigars.com'); // 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', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); 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', 'd:/hshome/netpoint/duarte-cigars.com/'); 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', '%%%%%%%%'); define('DB_SERVER_USERNAME', '%%%%%%%%%%'); define('DB_SERVER_PASSWORD', '%%%%%%%%%'); define('DB_DATABASE', '%%%%%%%%'); 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', 'd:/hshome/netpoint/duarte-cigars.com/cache'); // EOF
26 Apr 2010, 10:55 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: dummy with white page after admin login

A brand new totally clean ZC 1.3.9a installation does NOT manifest the problem you describe.

Perhaps you have a bad upload? Or you have addons installed that are breaking things.

27 Apr 2010, 12:03 AM
#8
domrepcigars avatar

domrepcigars

New Zenner

Join Date:
Apr 2010
Posts:
8
Plugin Contributions:
0

Re: dummy with white page after admin login

I am sorry, I downloaded 2 times the new file
I installed more then 5 times on 3 different accounts
I uploaded the files several times to different domains and folders
I did a new plain installation on a domain i had, where I even don't need a Shopping cart

Please give me another guess

27 Apr 2010, 12:07 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: dummy with white page after admin login

Are you getting the SAME error message in the debug logs on EVERY one of those different sites? Or does the message change?
Are all those sites on the same server?

I just can't see how that can happen unless you've got something extra installed that's doing it.

27 May 2010, 9:59 AM
#10
freddylocks avatar

freddylocks

New Zenner

Join Date:
May 2010
Posts:
3
Plugin Contributions:
0

Re: dummy with white page after admin login

Hi
I am having exactly the same problem

I am using WAMP server 2.0i for my test installation and I receive the same problem.

Has there been any resolution yet?

Thanks
Freddy

27 May 2010, 10:33 AM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: dummy with white page after admin login

freddylocks:

Hi
I am having exactly the same problem

I am using WAMP server 2.0i for my test installation and I receive the same problem.

Has there been any resolution yet?

Thanks
Freddy
You will have that if you're using an old version of Zen Cart which doesn't support PHP 5.3 (WAMP 2.0i uses PHP 5.3).
Either use the latest version of Zen Cart or downgrade your WAMP to 2.0h or older.

27 May 2010, 10:39 AM
#12
freddylocks avatar

freddylocks

New Zenner

Join Date:
May 2010
Posts:
3
Plugin Contributions:
0

Re: dummy with white page after admin login

Thanks for your reply DrByte

I can confirm that I downloaded zen-cart-v1.3.9c-full-fileset-05162010.zip

Regards
Freddy

27 May 2010, 10:50 AM
#13
freddylocks avatar

freddylocks

New Zenner

Join Date:
May 2010
Posts:
3
Plugin Contributions:
0

Re: dummy with white page after admin login

I have also just downgraded PHP to 5.2.11 and the same problem exists.

It just says "Waiting for login.php".

Regards
Freddy

27 May 2010, 4:43 PM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: dummy with white page after admin login

You may have to use a more traditional webserver setup. WAMP can be flakey.
Try a live webserver ... you'll meet with better success that way.

25 Sep 2010, 12:07 PM
#15
domrepcigars avatar

domrepcigars

New Zenner

Join Date:
Apr 2010
Posts:
8
Plugin Contributions:
0

Re: dummy with white page after admin login

well, I changed my host with a pre-installed zencart, now I am a happy zenner.