Zen Cart Logo
Forums / Customization from the Admin / Admin Page Won't Display.

Admin Page Won't Display.

Locked

Views: 13,267

Results 1 to 20 of 53
This thread is locked. New replies are disabled.
5 Jun 2006, 2:16 AM
#1
alias101 avatar

alias101

New Zenner

Join Date:
May 2006
Location:
Philippines
Posts:
24
Plugin Contributions:
0

Admin Page Won't Display.

Hi guyz,

I just installed zen-cart. At first i had some problems with the installation. But it was fixed. Thanks to all your help.

Now i have another problem. This time is with the admin page. When i try to open the page. an error occurred. I'm using a Fire Fox browser.

Unable to connect

Firefox can't establish a connection to the server at https://www.costaricapharmacyonline.com.

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

this is the url of the site http://www.costaricapharmacyonline.com/store/admin/login.php

5 Jun 2006, 2:24 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin Page Won't Display.

Compare the settings in your files:

/includes/configure.php (this one works)

with the ones in:
/admin/includes/configure.php

I would almost suspect the error is either you need to reload all files in:

/admin

Or you have a permissions issue on the /admin directory ...

5 Jun 2006, 2:38 AM
#3
alias101 avatar

alias101

New Zenner

Join Date:
May 2006
Location:
Philippines
Posts:
24
Plugin Contributions:
0

Re: Admin Page Won't Display.

Ajeh:

Compare the settings in your files:

/includes/configure.php (this one works)

with the ones in:
/admin/includes/configure.php

I would almost suspect the error is either you need to reload all files in:

/admin

Or you have a permissions issue on the /admin directory ...

both files have the same settings

the permissions of the /admin directory is 755. do i have to change it? if yes, to what permission should i change it?

5 Jun 2006, 2:59 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin Page Won't Display.

Should not need to change them ... 755 is fine ...

Reload all of your files for the /admin

NOTE: make sure that the /admin was not originally used by your host for something else ...

If it was, you may not be loading the /admin/index.php

5 Jun 2006, 3:23 AM
#5
alias101 avatar

alias101

New Zenner

Join Date:
May 2006
Location:
Philippines
Posts:
24
Plugin Contributions:
0

Re: Admin Page Won't Display.

ok thanx. i'll try this ryt away.

Is the same problem still occurs? is there any other solution to it?

6 Jun 2006, 5:32 AM
#6
alias101 avatar

alias101

New Zenner

Join Date:
May 2006
Location:
Philippines
Posts:
24
Plugin Contributions:
0

Re: Admin Page Won't Display.

Hi guyz,

i did wat u asked me to do. I re-uploaded the admin folder to the server. but this time the error is different.

now, i dont know what went wrong. this is the error.

Warning: main(/includes/filenames.php): failed to open stream: No such file or directory in /homepages/13/d161596823/htdocs/costarica/store/admin/includes/application_top.php on line 100

Fatal error: main(): Failed opening required '/includes/filenames.php' (include_path='.:/usr/local/lib/php') in /homepages/13/d161596823/htdocs/costarica/store/admin/includes/application_top.php on line 100

Thanx For the Help.

6 Jun 2006, 5:39 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: Admin Page Won't Display.

alias101:

both files have the same settings
Can you post the files here, without passwords?

/includes/configure.php
/admin/includes/configure.php

6 Jun 2006, 11:16 PM
#8
porlybe avatar

porlybe

New Zenner

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

Re: Admin Page Won't Display.

Now i have another problem. This time is with the admin page. When i try to open the page. an error occurred. I'm using a Fire Fox browser.

I have the same problem. Also happens with Internet Explorer

admin/includes/configure.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
  // 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.newcastleprosound.com.au');
  define('HTTPS_SERVER', 'https://secure.giga-sj-001.net/prosound');
  define('HTTP_CATALOG_SERVER', 'http://www.newcastleprosound.com.au');
  define('HTTPS_CATALOG_SERVER', 'https://secure.giga-sj-001.net/prosound');

  // 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', '/store/admin/');
  define('DIR_WS_CATALOG', '/store/');
  define('DIR_WS_HTTPS_ADMIN', '/prosound/store/admin/');
  define('DIR_WS_HTTPS_CATALOG', '/prosound/store/');

  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', '/s101/home4/prosound/store/admin/');
  define('DIR_FS_CATALOG', '/s101/home4/prosound/store/');

  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', 'store_');
  define('DB_SERVER', 'mysql.trimcomputers.com'); // eg, localhost - should not be empty
  define('DB_SERVER_USERNAME', 'database');
  define('DB_SERVER_PASSWORD', 'password');
  define('DB_DATABASE', 'database');
  define('USE_PCONNECT', 'false'); // use persistent connections?
  define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

  // 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', '/s101/cache');

?>

includes/configure.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.newcastleprosound.com.au');
  define('HTTPS_SERVER', 'https://secure.giga-sj-001.net');

  // 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', '/store/');
  define('DIR_WS_HTTPS_CATALOG', '/prosound/store/');

  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', '/s101/home4/prosound/forums/');

// * 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', '/s101/home4/prosound/store/');

  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', 'store_');
  define('DB_SERVER', 'mysql.trimcomputers.com'); // eg, localhost - should not be empty
  define('DB_SERVER_USERNAME', 'database');
  define('DB_SERVER_PASSWORD', 'password');
  define('DB_DATABASE', 'database');
  define('USE_PCONNECT', 'false'); // use persistent connections?
  define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

  // 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', '/s101/cache');

?>

I found THIS
. There's an article "The page never loads, or you receive a browser error about redirection:" but this didn't help me though

6 Jun 2006, 11:41 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin Page Won't Display.

These are a problem:

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

Use:

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

And this is a problem based on the other settings to your root:

  define('DIR_FS_SQL_CACHE', '/s101/cache');

Then in the /includes/configure.php this is a problem:

  define('DIR_WS_CATALOG', '/store/');
  define('DIR_WS_HTTPS_CATALOG', '/prosound/store/');

Should be:

  define('DIR_WS_CATALOG', '/store/');
  define('DIR_WS_HTTPS_CATALOG', '/store/');
7 Jun 2006, 12:03 AM
#10
porlybe avatar

porlybe

New Zenner

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

Re: Admin Page Won't Display.

Thank you very much for your quick response. Unfortunately this did not fix the problem. Any other ideas?

7 Jun 2006, 12:53 AM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin Page Won't Display.

Unfortunately, you are using the Classic template and this means I cannot have you switch to Classic to see if this is your template ...

You can try this ...

Rename the directory:

/includes/templates/classic

to be:

/includes/templates/classic_HIDE

Does this allow the page to draw completely?

If so, then something in the template is broken ...

If not, then something in one of the main files could be broken ...

What sidebox do you have loading after the sidebox for the banner?

7 Jun 2006, 1:12 AM
#12
porlybe avatar

porlybe

New Zenner

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

Re: Admin Page Won't Display.

Renamed classic template but problem still occurs.

No page will load

Try here - www.newcastleprosound.com.au/store/admin

7 Jun 2006, 1:23 AM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin Page Won't Display.

Add to your tpl_main_page.php before the first IF statement the code, approximately line 40:

$flag_disable_footer = true;

Can your Catalog load now?

As to your Admin ... repost your file:

/admin/includes/configure.php

from the server, without your username and password ...

It strikes me that you are in a loop due to a typo in the configure.php or have bad or corrupt files loaded in the directory:

/admin

EDITED: NOTE CODE CHANGE DUE TO TRANSLATION ERROR:

$flag_disable_footer = true;
7 Jun 2006, 1:43 AM
#14
porlybe avatar

porlybe

New Zenner

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

Re: Admin Page Won't Display.

Added the line to tpl_main_page.php - admin page still won't load.

admin/includes/configure.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
  // 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.newcastleprosound.com.au');
  define('HTTPS_SERVER', 'https://secure.giga-sj-001.net/prosound');
  define('HTTP_CATALOG_SERVER', 'http://www.newcastleprosound.com.au');
  define('HTTPS_CATALOG_SERVER', 'https://secure.giga-sj-001.net/prosound');

  // 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', '/store/admin/');
  define('DIR_WS_CATALOG', '/store/');
  define('DIR_WS_HTTPS_ADMIN', '/store/admin/');
  define('DIR_WS_HTTPS_CATALOG', '/store/');

  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', '/s101/home4/prosound/store/admin/');
  define('DIR_FS_CATALOG', '/s101/home4/prosound/store/');

  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', 'store_');
  define('DB_SERVER', 'sql server'); // eg, localhost - should not be empty
  define('DB_SERVER_USERNAME', 'database');
  define('DB_SERVER_PASSWORD', 'password');
  define('DB_DATABASE', 'database');
  define('USE_PCONNECT', 'false'); // use persistent connections?
  define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

  // 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', '/s101/home4/prosound/store/cache');

?>
7 Jun 2006, 1:53 AM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin Page Won't Display.

Reload all the files to:

/admin

from a clean download of Zen Cart ...

I am assuming that you are on v1.3.0.1 ...

And let's make sure that you do not have any bad, corrupt or otherwise damaged files on your site ...

7 Jun 2006, 1:55 AM
#16
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin Page Won't Display.

Had a typo on that tpl_main_page.php file ... the code should of read:

$flag_disable_footer = true;
7 Jun 2006, 2:32 AM
#17
porlybe avatar

porlybe

New Zenner

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

Re: Admin Page Won't Display.

Backed up configure.php. Deleted all files in the admin folder. Re-uploaded all admin files and configure.php. Problem still occurs.

Is the tpl_main_page.php you're talking about located in "/includes/templates/template_default/common"?

7 Jun 2006, 2:53 AM
#18
alias101 avatar

alias101

New Zenner

Join Date:
May 2006
Location:
Philippines
Posts:
24
Plugin Contributions:
0

Re: Admin Page Won't Display.

DrByte:

Can you post the files here, without passwords?

/includes/configure.php
/admin/includes/configure.php

This is the code for the admin/includes

// $Id: dist-configure.php 277 2004-09-10 23:03:52Z wilt $
//

// Define the webserver and path parameters
  // Main webserver: eg, http://localhost - should not be empty for productive servers
  define('HTTP_SERVER', 'http://localhost');
  // Secure webserver: eg, https://localhost - should not be empty for productive servers
  define('HTTPS_SERVER', 'https://127.0.0.1'); // eg, https://localhost 
  define('HTTP_CATALOG_SERVER', 'http://localhost');
  define('HTTPS_CATALOG_SERVER', 'https://localhost');

  // 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', '/store/admin/');
  define('DIR_WS_CATALOG', '/store/');
  define('DIR_WS_HTTPS_ADMIN', '/store/admin/');
  define('DIR_WS_HTTPS_CATALOG', '/store/');

  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/');
  define('DIR_WS_BLOCKS', DIR_WS_INCLUDES . 'blocks/');

// * 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', '/admin/');
  define('DIR_FS_CATALOG', '/');

  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_CATALOG_BLOCKS', DIR_FS_CATALOG . 'includes/blocks/');
  define('DIR_FS_CATALOG_BOXES', DIR_FS_CATALOG . 'includes/boxes/');
  define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
  define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
  define('DIR_FS_FILE_MANAGER_ROOT', '/'); // path to starting directory of the file manager

// define our database connection
  define('DB_TYPE', 'mysql');
  define('DB_PREFIX', 'zen_');
  define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
  define('DB_SERVER_USERNAME', 'root');
  define('DB_SERVER_PASSWORD', '');
  define('DB_DATABASE', '');
  define('USE_PCONNECT', 'false'); // use persistent connections?
  define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db' or optionally 'mysql' in some cases

  // 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', '/s101/cache');

And this is from the includes/configure.php

// Define the webserver and path parameters
  // Main webserver: eg, http://localhost - should not be empty for productive servers
  define('HTTP_SERVER', 'http://www.costaricapharmacyonline.com');
  // Secure webserver: eg, https://localhost - should not be empty for productive servers
  define('HTTPS_SERVER', 'https://www.costaricapharmacyonline.com');
  // secure webserver for checkout procedure?
  define('ENABLE_SSL', 'true');

// 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', '/store/');
  define('DIR_WS_HTTPS_CATALOG', '/store/');

  define('DIR_WS_IMAGES', 'images/');
  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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
  define('DIR_WS_BLOCKS', DIR_WS_INCLUDES . 'blocks/');
  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', '/kunden/homepages/13/d161596823/htdocs/costarica/store/');

  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', 'db404.perfora.net'); // eg, localhost - should not be empty
  define('DB_SERVER_USERNAME', 'dbo165975190');
  define('DB_SERVER_PASSWORD', 'jpandlean');
  define('DB_DATABASE', 'db165975190');
  define('USE_PCONNECT', 'false'); // use persistent connections?
  define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

  // 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', 'file'); 
  define('DIR_FS_SQL_CACHE', '/kunden/homepages/13/d161596823/htdocs/costarica/store/cache');
7 Jun 2006, 2:54 AM
#19
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin Page Won't Display.

Yes that file ...

7 Jun 2006, 3:07 AM
#20
porlybe avatar

porlybe

New Zenner

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

Re: Admin Page Won't Display.

Added that line. Still no avail