Zen Cart Logo
Forums / Installing on a Windows Server / The page cannot be displayed

The page cannot be displayed

Locked

Views: 3,734

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
19 Jul 2006, 5:26 PM
#1
rlantigua avatar

rlantigua

New Zenner

Join Date:
Jun 2006
Posts:
51
Plugin Contributions:
0

The page cannot be displayed

At login page after pressing login

Have sen installed on
ISp\zcart

the gome domain point to zcart

I see this on my config File.. is this correct

define('DIR_FS_ADMIN', 'c:\\\\\\\\\\\\\\\\hosting\\\\\\\\\\\\\\\\webhost4life\\\\\\\\\\\\\\\\member\\\\\\\\\\\\\\\\rlantigua\\\\\\\\\\\\\\\\Zcart//admin/');
define('DIR_FS_CATALOG', 'c:\\\\\\\\\\\\\\\\hosting\\\\\\\\\\\\\\\\webhost4life\\\\\\\\\\\\\\\\member\\\\\\\\\\\\\\\\rlantigua\\\\\\\\\\\\\\\\Zcart//');

why so many \\\\\\\\ ?

20 Jul 2006, 1:50 AM
#2
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: The page cannot be displayed

That is not correct, you shouldn't have all of those backslashes.

Vger

20 Jul 2006, 1:18 PM
#3
rlantigua avatar

rlantigua

New Zenner

Join Date:
Jun 2006
Posts:
51
Plugin Contributions:
0

Re: The page cannot be displayed

Just installed everyting from scratch.. Files, database etc.

This is what I have

here is my configuratios.

I have the zn files here
c:\hosting\webhost4life\member\rlantigua\Zcart\

My domanin points to
c:\hosting\webhost4life\member\rlantigua\Zcart\

I can hit the page by entering
http://tainostore.com\admin
or
http://tainostore.com\scart\admin

Afte login I get page can not be displayed

http://www.tainostore.com/zcart/admin/login.php?zenAdminID=7d56d66bbe5a877ed9ead3db4d8638e1

Any ideas?

This is the config.php<?php
/**
*

  • @package Configuration Settings
  • @copyright Copyright 2003-2006 Zen Cart Development Team
  • @copyright Portions Copyright 2003 osCommerce
  • @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */

// 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.tainostore.com\zcart');
define('HTTPS_SERVER', 'https://http://www.tainostore.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', 'https://http://www.tainostore./');

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', 'c:\hosting\webhost4life\member\rlantigua\Zcart/');

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

// 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', 'database');
define('DIR_FS_SQL_CACHE', 'c:/hosting/webhost4life/member/cache');

?>

This the Admin config file

Just installed everyting from scratch.. Files, database etc.

This is what I have

here is my configuratios.

I have the zn files here
c:\hosting\webhost4life\member\rlantigua\Zcart\

My domanin points to
c:\hosting\webhost4life\member\rlantigua\Zcart\

I can hit the page by entering
http://tainostore.com\admin
or
http://tainostore.com\scart\admin

Afte login I get page can not be displayed

http://www.tainostore.com/zcart/admin/login.php?zenAdminID=7d56d66bbe5a877ed9ead3db4d8638e1

Any ideas?

This is the config.php<?php
/**
*

  • @package Configuration Settings
  • @copyright Copyright 2003-2006 Zen Cart Development Team
  • @copyright Portions Copyright 2003 osCommerce
  • @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */

// 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.tainostore.com\zcart');
define('HTTPS_SERVER', 'https://http://www.tainostore.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', 'https://http://www.tainostore./');

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', 'c:\hosting\webhost4life\member\rlantigua\Zcart/');

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

// 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', 'database');
define('DIR_FS_SQL_CACHE', 'c:/hosting/webhost4life/member/cache');

?>

This the Admin config file

<?php // /** * * @package Configuration Settings * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ // Define the webserver and path parameters // Main webserver: eg, <http://localhost> - should not be empty for productive servers // HTTP_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> // HTTP_CATALOG_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_CATALOG_SERVER is your Secure webserver: eg, <https://www.yourdomain.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 */ define('HTTP_SERVER', 'http://www.tainostore.com\zcart'); define('HTTPS_SERVER', 'https://http://www.tainostore.com'); define('HTTP_CATALOG_SERVER', 'http://www.tainostore.com'); define('HTTPS_CATALOG_SERVER', 'https://http://www.tainostore.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', 'https://http://www.tainostore./admin/'); define('DIR_WS_HTTPS_CATALOG', 'https://http://www.tainostore./'); 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', 'c:\hosting\webhost4life\member\rlantigua\Zcart/admin/'); define('DIR_FS_CATALOG', 'c:\hosting\webhost4life\member\rlantigua\Zcar/'); 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 Bla bla bla // 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', 'database'); define('DIR_FS_SQL_CACHE', 'c:/hosting/webhost4life/member/cache'); ?>
20 Jul 2006, 1:54 PM
#4
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: The page cannot be displayed

includes/configure.php

define('HTTP_SERVER', 'http://www.tainostore.com');
define('HTTPS_SERVER', 'https://www.tainostore.com');

define('DIR_WS_CATALOG', '/zcart/');
define('DIR_WS_HTTPS_CATALOG', '/zcart/');

admin/includes/configure.php

define('HTTP_SERVER', 'http://www.tainostore.com');
define('HTTPS_SERVER', 'https://http://www.tainostore.com');
define('HTTP_CATALOG_SERVER', 'http://www.tainostore.com');
define('HTTPS_CATALOG_SERVER', 'https://www.tainostore.com');

define('DIR_WS_ADMIN', '/zcart/admin/');
define('DIR_WS_CATALOG', '/zcart/');
define('DIR_WS_HTTPS_ADMIN', '/zcart/admin/');
define('DIR_WS_HTTPS_CATALOG', '/zcart/');

define('DIR_FS_ADMIN', 'c:\hosting\webhost4life\member\rlantigua\zcart/admin/');
define('DIR_FS_CATALOG', 'c:\hosting\webhost4life\member\rlantigua\zcart/');

Vger

20 Jul 2006, 3:43 PM
#5
rlantigua avatar

rlantigua

New Zenner

Join Date:
Jun 2006
Posts:
51
Plugin Contributions:
0

Re: The page cannot be displayed

Just tried that.
At firat it will not appy the CSS In order to fix that
I had to do a Virtual directory. zcart..

now it works. Thanks man.!!

Vger:

includes/configure.php

define('HTTP_SERVER', 'http://www.tainostore.com');
define('HTTPS_SERVER', 'https://www.tainostore.com');

define('DIR_WS_CATALOG', '/zcart/');
define('DIR_WS_HTTPS_CATALOG', '/zcart/');

admin/includes/configure.php

define('HTTP_SERVER', 'http://www.tainostore.com');
define('HTTPS_SERVER', 'https://http://www.tainostore.com');
define('HTTP_CATALOG_SERVER', 'http://www.tainostore.com');
define('HTTPS_CATALOG_SERVER', 'https://www.tainostore.com');

define('DIR_WS_ADMIN', '/zcart/admin/');
define('DIR_WS_CATALOG', '/zcart/');
define('DIR_WS_HTTPS_ADMIN', '/zcart/admin/');
define('DIR_WS_HTTPS_CATALOG', '/zcart/');

define('DIR_FS_ADMIN', 'c:\hosting\webhost4life\member\rlantigua\zcart/admin/');
define('DIR_FS_CATALOG', 'c:\hosting\webhost4life\member\rlantigua\zcart/');

Vger

20 Jul 2006, 3:51 PM
#6
rlantigua avatar

rlantigua

New Zenner

Join Date:
Jun 2006
Posts:
51
Plugin Contributions:
0

Re: The page cannot be displayed

rlantigua:

Just tried that.
At firat it will not appy the CSS In order to fix that
I had to do a Virtual directory. zcart..

now it works. Thanks man.!!

I'll take that back... worked 1 time... now just tried again and NADA.
this is very weird!!

the odd thing is that tryping the wrong infomation returns the
correct message

20 Jul 2006, 4:04 PM
#7
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: The page cannot be displayed

Well, in the info you posted you already had it installed in a folder called 'zcart', which is why I followed that when I posted the changes to the configure.php files.

Even though your site is hosted on a Windows server you can try changing the backslashes in those files () to forward slashes (/).

Vger

20 Jul 2006, 4:28 PM
#8
rlantigua avatar

rlantigua

New Zenner

Join Date:
Jun 2006
Posts:
51
Plugin Contributions:
0

Re: The page cannot be displayed

Vger:

Well, in the info you posted you already had it installed in a folder called 'zcart', which is why I followed that when I posted the changes to the configure.php files.

Even though your site is hosted on a Windows server you can try changing the backslashes in those files () to forward slashes (/).

Vger

I will give that a try.. Thanks again

FireFox gives this error

he connection was reset

The connection to the server was reset while the page was loading.
* The site could be temporarily unavailable or too busy. Try again in a few
moments.

*   If you are unable to load any pages, check your computer's network
      connection.

*   If your computer or network is protected by a firewall or proxy, make sure
      that Firefox is permitted to access the Web.
20 Jul 2006, 4:46 PM
#9
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: The page cannot be displayed

If you are getting that error then make sure that use_pconnect is set to false in your configure.php files, and that no file has permissions higher than 644.

Vger

20 Jul 2006, 6:22 PM
#10
rlantigua avatar

rlantigua

New Zenner

Join Date:
Jun 2006
Posts:
51
Plugin Contributions:
0

Re: The page cannot be displayed

Vger:

If you are getting that error then make sure that use_pconnect is set to false in your configure.php files, and that no file has permissions higher than 644.

Vger

yes they are like that. This is very frustrating.

21 Jul 2006, 2:44 AM
#12
rlantigua avatar

rlantigua

New Zenner

Join Date:
Jun 2006
Posts:
51
Plugin Contributions:
0

Re: The page cannot be displayed

DrByte:

How about accessing it like this:
http://www.tainostore.com/catalog/admin/

Same issue. I think is a problem at the ISP!!

The connection was reset

The connection to the server was reset while the page was loading.

21 Jul 2006, 2:56 AM
#13
drbyte avatar

drbyte

Sensei

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

Re: The page cannot be displayed

I'm seeing an admin login prompt, in IE, FF, Opera.

21 Jul 2006, 3:06 AM
#14
rlantigua avatar

rlantigua

New Zenner

Join Date:
Jun 2006
Posts:
51
Plugin Contributions:
0

Re: The page cannot be displayed

DrByte:

I'm seeing an admin login prompt, in IE, FF, Opera.

YES if type wrong user and pass it gives an error

use the correct one... is when it hangs and gives the error.

21 Jul 2006, 3:47 AM
#15
drbyte avatar

drbyte

Sensei

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

Re: The page cannot be displayed

This may be an issue with your server being unable to contact the zen-cart versioning server to determine whether your software is current or not. Timeouts often occur in offline or local-server testing situations.

To disable the automated checking, edit the /admin/includes/local/skip_version_check.ini file

set "admin_configure_php_check" = off

It's recommended that you leave this setting to "on" for your live website.

21 Jul 2006, 4:16 AM
#16
rlantigua avatar

rlantigua

New Zenner

Join Date:
Jun 2006
Posts:
51
Plugin Contributions:
0

Re: The page cannot be displayed

DrByte:

This may be an issue with your server being unable to contact the zen-cart versioning server to determine whether your software is current or not. Timeouts often occur in offline or local-server testing situations.

To disable the automated checking, edit the /admin/includes/local/skip_version_check.ini file

set "admin_configure_php_check" = off

It's recommended that you leave this setting to "on" for your live website.

:lol: :thumbsup: that works...

thanks man!!

I will informm the ISP of the problem.