Forums / Installing on a Windows Server / Installed but my admin log in page is blank.

Installed but my admin log in page is blank.

Views: 5,855

Results 1 to 12 of 12
18 Jan 2015, 6:09 PM
#1
tigershark avatar

tigershark

New Zenner

Join Date:
Jan 2015
Location:
Stanwood WA
Posts:
4
Plugin Contributions:
0

Installed but my admin log in page is blank.

I recently installed Zen cart 1.54. It installed successfully and the demo page comes up fine. when I try to log in to the admin page it is blank.

Below is my error log entry.
[17-Jan-2015 14:38:08] PHP Parse error: syntax error, unexpected T_STATIC in /home/williams/public_html/Products/admin-WG/includes/classes/class.admin.zcObserverLogEventListener.php on line 118

And here is line 118:
$levels = static::$levels;

I actually installed it twice. After the first one didn't work, I deleted everything off the server so I wouldn't have duplicates and re-installed. Same result.

What can I do to make it work?

Thanks

18 Jan 2015, 6:27 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Installed but my admin log in page is blank.

tigershark:

Below is my error log entry.
[17-Jan-2015 14:38:08] PHP Parse error: syntax error, unexpected T_STATIC in /home/williams/public_html/Products/admin-WG/includes/classes/class.admin.zcObserverLogEventListener.php on line 118

And here is line 118:
$levels = static::$levels;
Apparently your server is using an obsolete version of PHP.
See here for a workaround: http://www.zen-cart.com/showthread.php?215694-Known-Bugs-%28and-fixes%29-with-v1-5-4&p=1268233#post1268233

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

18 Jan 2015, 6:54 PM
#3
tigershark avatar

tigershark

New Zenner

Join Date:
Jan 2015
Location:
Stanwood WA
Posts:
4
Plugin Contributions:
0

Re: Installed but my admin log in page is blank.

Bingo!!! Thank you.
She works now. :D (cue the dancing girls...)

18 Jan 2015, 6:56 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Installed but my admin log in page is blank.

The footnote of the article I pointed you to talks about how to switch your site to use a newer version of PHP, if you're using cPanel on your webserver.
If you don't have that option, it would be prudent to talk to your hosting company to determine when they're going to get the server up-to-date. Being outdated leaves you open to security issues at the server level.

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

19 Jan 2015, 1:33 AM
#5
tigershark avatar

tigershark

New Zenner

Join Date:
Jan 2015
Location:
Stanwood WA
Posts:
4
Plugin Contributions:
0

Re: Installed but my admin log in page is blank.

OK, got into my admin but the only thing that shows is the banner and the green bar in the header. The rest of the screen is blank. I'm also not getting anymore error log entries. Without those, I have no idea where the error is.

19 Jan 2015, 1:42 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: Installed but my admin log in page is blank.

Unusual. I don't think I've ever seen that, except that it would still create logs in the /logs/ folder.

Could be that it's dying on timezone misconfiguration, or other PHP misconfiguration problems.
Could be incomplete files due to various FTP upload failures.

If it's not creating logs, then look at the server's Apache error_log, since that's where PHP errors are usually recorded before ZC redirects them into the /logs/ folder.

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

19 Jan 2015, 2:10 AM
#7
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Installed but my admin log in page is blank.

DrByte:

Unusual. I don't think I've ever seen that, except that it would still create logs in the /logs/ folder.

Could be that it's dying on timezone misconfiguration, or other PHP misconfiguration problems.
Could be incomplete files due to various FTP upload failures.

If it's not creating logs, then look at the server's Apache error_log, since that's where PHP errors are usually recorded before ZC redirects them into the /logs/ folder.

Actually, I've been seeing that often in upgrades recently, at least once the database has been imported.. (OP has not indicated that they have done that yet.)

For some reason the user_id under the previous version(s) would be 0 as well as the designation for the superuser profile... Both make it required to use the forgot password sql to at least establish a superuser, but then even the absence of a superuser profile (assigned to 0) still requires additional sql commands to bring up-to-date.

Haven't chased down if previous version was a one click install though...

Also, OP didn't indicate the source of 1.5.4: was this a one-click install or obtained from the zen-cart site? And is the current database the default demo database or another? (Database upgrade?)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

19 Jan 2015, 2:16 AM
#8
tigershark avatar

tigershark

New Zenner

Join Date:
Jan 2015
Location:
Stanwood WA
Posts:
4
Plugin Contributions:
0

Re: Installed but my admin log in page is blank.

Nothing in the error logs on the server either. It just stopped showing errors. I'm about to give up and use another cart.

25 Mar 2015, 3:21 AM
#10
ezorb avatar

ezorb

Zen Follower

Join Date:
Apr 2006
Location:
Midland TX
Posts:
426
Plugin Contributions:
0

Re: Installed but my admin log in page is blank.

Have same error message on line 118.....
PHP is now set to 5.4 also tried 5.5 and still get blank page for admin log in.

Installed temp fix and it works. Contacted Hostgator and they are looking into the problem. At this point don't know if problem is on Zen-Cart or something on Hostgator.

25 Mar 2015, 3:43 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: Installed but my admin log in page is blank.

EZorb:

Have same error message on line 118.....
PHP is now set to 5.4 also tried 5.5 and still get blank page for admin log in.

Installed temp fix and it works. Contacted Hostgator and they are looking into the problem. At this point don't know if problem is on Zen-Cart or something on Hostgator.
Chances are you're using an old version of PHP for the directory or subdomain your ZC is in. Hostgator support can help you. If they won't, ask for someone above them who can.

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

27 Mar 2015, 3:56 PM
#12
ezorb avatar

ezorb

Zen Follower

Join Date:
Apr 2006
Location:
Midland TX
Posts:
426
Plugin Contributions:
0

Re: Installed but my admin log in page is blank.

DrByte:

Chances are you're using an old version of PHP for the directory or subdomain your ZC is in. Hostgator support can help you. If they won't, ask for someone above them who can.

And now it works--Thank you Dr Byte