Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / admin giving blank page

admin giving blank page

Started by irishshopper on 19 Feb 2015, 6:30 PM · Views: 1,361

Results 1 to 14 of 14
19 Feb 2015, 6:30 PM
#1
irishshopper avatar

irishshopper

Zen Follower

Join Date:
Apr 2010
Location:
County Down, Northern Ireland
Posts:
302
Plugin Contributions:
0

Post #1 by irishshopper

I have just installed 1.5.4 on https://www.marybeth-jewelry.com (Brand new installation)

Appears to look OK with test products but I cannot get into admin - just receiving blank page even if I use
https://www.marybeth-jewelry.com/newadminfoldername/index.php. Have checked the index.php is there in the renamed admin directory.

Have done all the normal things for an installation and after installing deleted the install directory, renamed the admin directory and changed the permissions for the 2 configure.php files and same for those other folders mentioned in the 1.5.4 documentation which were changed before I ran zc_install.

What could be wrong ?

19 Feb 2015, 6:41 PM
#2
irishshopper avatar

irishshopper

Zen Follower

Join Date:
Apr 2010
Location:
County Down, Northern Ireland
Posts:
302
Plugin Contributions:
0

Post #2 by irishshopper

This is what is in log file. Have replaced the renamed admin directrory with the word renamed below.

[19-Feb-2015 11:22:48] PHP Parse error: syntax error, unexpected T_STATIC in /home1/irishisb/public_html/marybethjewelry/renamed/includes/classes/class.admin.zcObserverLogEventListener.php on line 118

19 Feb 2015, 6:43 PM
#3
ajeh avatar

ajeh

Oba-san

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

Post #3 by ajeh

Have you had a read through the Known Bug Fixes for v1.5.4:
http://www.zen-cart.com/showthread.php?215694-Known-Bugs-%28and-fixes%29-with-v1-5-4

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

19 Feb 2015, 9:31 PM
#4
irishshopper avatar

irishshopper

Zen Follower

Join Date:
Apr 2010
Location:
County Down, Northern Ireland
Posts:
302
Plugin Contributions:
0

Post #4 by irishshopper

Took on board NOTE 7 in Dr. Bytes post but still getting

ATTENTION: Problems Found
Admin Password required to proceed with upgrade more info...

I know the password and username are correct.

How do I restart this process ?

19 Feb 2015, 11:32 PM
#5
ajeh avatar

ajeh

Oba-san

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

Post #5 by ajeh

I was thinking post #2 might be what you need ...

What version php are you using?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

20 Feb 2015, 2:52 AM
#6
drbyte avatar

drbyte

Sensei

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

Post #6 by drbyte

irishshopper:

Took on board NOTE 7 in Dr. Bytes post but still getting

ATTENTION: Problems Found
Admin Password required to proceed with upgrade more info...

I know the password and username are correct.

How do I restart this process ?
Since you're using the old PHP version, you'll need to apply the relevant patches for that old PHP version.

THEN you'll be able to import the copy of your old database and do the upgrade. (Do NOT try logging into your admin after importing and before upgrading, else you'll mangle the passwords in the database, since it'll try to update the password but won't be able to store the new longer data because the upgrade has to change the length of the data fields first. That's why the instructions don't say there's any need to login to admin after importing data.)

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

20 Feb 2015, 10:31 AM
#7
irishshopper avatar

irishshopper

Zen Follower

Join Date:
Apr 2010
Location:
County Down, Northern Ireland
Posts:
302
Plugin Contributions:
0

Post #7 by irishshopper

Bluehost tell me it is using PHP 1.5.4

20 Feb 2015, 5:00 PM
#8
mc12345678 avatar

mc12345678

Totally Zenned

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

Post #8 by mc12345678

irishshopper:

Bluehost tell me it is using PHP 1.5.4

There is no PHP 1.5.4 at this time (if PHP Version 1.5.4 ever existed it has been long deprecated). Please verify the information and repost.

Further it could be that a newer version of PHP is offered/available; however, there may be commands in place to have an older version of PHP applied to the site. I thought I also saw a post a couple weeks back where a completely different solution was required because of the host's configuration, but I do not recall if it applied to the T_STATIC error or a completely different issue and at the moment am unable to relocate it based on my memory alone.

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

20 Feb 2015, 8:42 PM
#9
irishshopper avatar

irishshopper

Zen Follower

Join Date:
Apr 2010
Location:
County Down, Northern Ireland
Posts:
302
Plugin Contributions:
0

Post #9 by irishshopper

20 Feb 2015, 9:19 PM
#10
mc12345678 avatar

mc12345678

Totally Zenned

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

Post #10 by mc12345678

So have you applied the suggested fix, and what error logs if any are generated after applying the suggested fix of post #2 of the above referenced link when attempting to access the admin panel?

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

20 Feb 2015, 9:21 PM
#11
drbyte avatar

drbyte

Sensei

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

Post #11 by drbyte

If you're getting T_STATIC errors, then while your server MIGHT be capable of running PHP 5.4, it is not. It is still using PHP 5.2 ... which with BlueHost means you need to go into cPanel, find the PHP configuration, and choose the latest PHP version. That's explained in fine print in the Bug Reports article that was mentioned above.

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

20 Feb 2015, 11:37 PM
#12
irishshopper avatar

irishshopper

Zen Follower

Join Date:
Apr 2010
Location:
County Down, Northern Ireland
Posts:
302
Plugin Contributions:
0

Post #12 by irishshopper

/admin/includes/configure.php does not exist more info...
store configure.php is not writeable more info...

20 Feb 2015, 11:39 PM
#13
irishshopper avatar

irishshopper

Zen Follower

Join Date:
Apr 2010
Location:
County Down, Northern Ireland
Posts:
302
Plugin Contributions:
0

Post #13 by irishshopper

Since Bluehost moved to PHP 5.4 one of my other ZenCarts using V1.3.9 is now showing a blank page when I try to log on to the admin area.

21 Feb 2015, 12:01 AM
#14
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Post #14 by barco57

Zen Cart v1.3.9 series is compatible with PHP 5.2.10 thru PHP 5.3.x.

you need to upgrade that site

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!