No Admin Page

Locked

Started by papamelon on 8 Nov 2006, 6:18 AM · Views: 5,161

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
8 Nov 2006, 6:18 AM
#1
papamelon avatar

papamelon

New Zenner

Join Date:
Nov 2006
Posts:
15
Plugin Contributions:
0

No Admin Page

I have been installing all versions of Zen Cart all day and connot get one to log into admin.

Current version is 1.3.2
Windows machine
http://www.mousewarez.com/zcart // store runs good with sample data

http://www.mousewarez.com/zcart/admin
mike/12345

I have installed this software twice before with great results.
Any help would be apreciated.
Papa

8 Nov 2006, 6:28 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: No Admin Page

What are your server specs?

  • PHP version
  • MySQL version
  • operating system version
  • hosting company

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

8 Nov 2006, 8:54 AM
#3
papamelon avatar

papamelon

New Zenner

Join Date:
Nov 2006
Posts:
15
Plugin Contributions:
0

Re: No Admin Page

The PHP version is 4.4.2
The MySQL version is 4.0.26
Windows Server 2003 with SP1.

8 Nov 2006, 8:59 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: No Admin Page

papamelon:

I have installed this software twice before with great results.

Where did you install it previously? On this server or another?
During install, on the system-inspection screen, which items were flagged red or orange?
What are your settings for sessions and cookies from your phpinfo details?

... and is your server's errorlog telling you anything about errors occurring when you're encountering these errors?

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

8 Nov 2006, 9:02 AM
#5
papamelon avatar

papamelon

New Zenner

Join Date:
Nov 2006
Posts:
15
Plugin Contributions:
0

Re: No Admin Page

Oh and hosting at Webhost4life.com. They use Godaddy services I think.

8 Nov 2006, 9:11 AM
#6
papamelon avatar

papamelon

New Zenner

Join Date:
Nov 2006
Posts:
15
Plugin Contributions:
0

Re: No Admin Page

I have it running at the same host at:
http://www.woodheatstoves.com/zcart
Pretty sure they are different servers though.

As far as flags I may have to run the install again but as I recall,
It will not let me install in the root at all. And does not identify the paths on the server completely. So I have to type them in. I set it up without SSL to at least get it working on the catalog side.

I also run a couple wordpress (php mysql) blogs in folders right in the same root with no troubles.

8 Nov 2006, 7:10 PM
#7
papamelon avatar

papamelon

New Zenner

Join Date:
Nov 2006
Posts:
15
Plugin Contributions:
0

Re: No Admin Page

Here is my includes/config

<?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.mousewarez.com'); define('HTTPS_SERVER', 'http://www.mousewarez.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', '/zcart/'); define('DIR_WS_HTTPS_CATALOG', '/zcart//'); 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/mightyone/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 define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'zen_'); define('DB_SERVER', 'server138.mysite4now.com'); // eg, localhost - should not be empty define('DB_SERVER_USERNAME', 'mike'); define('DB_SERVER_PASSWORD', 'frag'); define('DB_DATABASE', 'armaggeddon'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // 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', 'c:/hosting/webhost4life/member/mightyone/zcart/cache'); ?>
8 Nov 2006, 7:11 PM
#8
papamelon avatar

papamelon

New Zenner

Join Date:
Nov 2006
Posts:
15
Plugin Contributions:
0

Re: No Admin Page

Here is my admin/includes config

<?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.mousewarez.com'); define('HTTPS_SERVER', 'http://www.mousewarez.com'); define('HTTP_CATALOG_SERVER', 'http://www.mousewarez.com'); define('HTTPS_CATALOG_SERVER', 'http://www.mousewarez.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', '/zcart/admin/'); define('DIR_WS_CATALOG', '/zcart/'); define('DIR_WS_HTTPS_ADMIN', '/zcart//admin/'); define('DIR_WS_HTTPS_CATALOG', '/zcart//'); 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/mightyone/zcart/admin/'); define('DIR_FS_CATALOG', 'c:/hosting/webhost4life/member/mightyone/zcart/'); 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', 'zen_'); define('DB_SERVER', 'server138.mysite4now.com'); // eg, localhost - should not be empty define('DB_SERVER_USERNAME', 'mike'); define('DB_SERVER_PASSWORD', 'frag'); define('DB_DATABASE', 'armaggeddon'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // 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', 'c:/hosting/webhost4life/member/mightyone/zcart/cache'); ?>
8 Nov 2006, 7:15 PM
#9
papamelon avatar

papamelon

New Zenner

Join Date:
Nov 2006
Posts:
15
Plugin Contributions:
0

Re: No Admin Page

Register Globals is the only flag aside from suggested cache folder which is a wrong suggestion.
Papa

System Inspection ResultsSystem Inspection Results
Webserver =
HTTP Host = https://www.mousewarez.com
Path_Translated = c:\hosting\webhost4life\member\mightyone
Server Free Disk Space = 198.7 GB
PHP O/S = WINNT
PHP API Mode = isapi
PHP Max Execution Time per page = 30
Register Globals = ON Click here for more info
MySQL Support = ON
MySQL Version = 4.0.24-nt-max
PHP Version = 4.4.2
PHP Safe Mode = OFF
PHP Sessions Support = ON
PHP Session.AutoStart = OFF
PHP session.use_trans_sid = OFF
Current SQL Cache Folder = c:/hosting/webhost4life/member/mightyone/zcart/cache -->Writeable
Suggested SQL Cache Folder = c:/hosting/webhost4life/cache Click here for more info
PHP magic_quotes_runtime setting = OFF
PHP GD Support = ON
GD Version = GD bundled (2.0.28 compatible)
PHP ZLIB Compression Support = ON
PHP cURL Support = ON
PHP Upload Support = ON upload_max_filesize=2M; post_max_size=8M
PHP Upload TMP dir = C:\PHP\uploadtemp
PHP XML Support = ON
PHP FTP Support = ON

View PHPINFO for your server

8 Nov 2006, 7:18 PM
#10
papamelon avatar

papamelon

New Zenner

Join Date:
Nov 2006
Posts:
15
Plugin Contributions:
0

Re: No Admin Page

session
Session Support enabled
Registered save handlers files user

Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path C:\PHP\sessiondata C:\PHP\sessiondata
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off

9 Nov 2006, 1:34 AM
#12
papamelon avatar

papamelon

New Zenner

Join Date:
Nov 2006
Posts:
15
Plugin Contributions:
0

Re: No Admin Page

If there is no more help available please delete this thread for security. I am unable to edit these posts

10 Nov 2006, 12:00 AM
#13
phid avatar

phid

Totally Zenned

Join Date:
Nov 2005
Location:
Narnia
Posts:
696
Plugin Contributions:
0

Re: No Admin Page

You might want to change your db password right about now.

10 Nov 2006, 1:45 AM
#14
papamelon avatar

papamelon

New Zenner

Join Date:
Nov 2006
Posts:
15
Plugin Contributions:
0

Re: No Admin Page

Yes I did more than that.
I moved to another host and everything is fine.
http://www.hopkinspress.com
Thanks for all the help. I love Zen Cart again.
:D

10 Nov 2006, 2:52 PM
#15
broads avatar

broads

New Zenner

Join Date:
Nov 2006
Posts:
4
Plugin Contributions:
0

Re: No Admin Page

HI,

I also am having problems with the login page. I am using php5.x and have fixed the session / cache issue..

I can now login and did last night. However cameback to it today and now when I access the admin page, it takes my password, but the admin page no longer exists php renders a blank page...

any ideas?

15 Nov 2006, 6:53 PM
#16
phid avatar

phid

Totally Zenned

Join Date:
Nov 2005
Location:
Narnia
Posts:
696
Plugin Contributions:
0

Re: No Admin Page

Check your error log to see if there's an error message being sent.

4 Dec 2006, 5:29 PM
#17
chac416 avatar

chac416

Zen Follower

Join Date:
May 2006
Posts:
102
Plugin Contributions:
0

Re: No Admin Page

i am facing the same issue.
last night, everything was working fine.
today, nothing
i can't access my admin page anymore. no error is given. just indicates that it's loading.... but nothing shows up.

how can I check the session/cache issue? guide me plllllzz :cry: