Zen Cart Logo
Forums / General Questions / admin giving blank page

admin giving blank page

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

admin giving blank page

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

Re: admin giving blank page

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, 9:31 PM
#4
irishshopper avatar

irishshopper

Zen Follower

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

Re: admin giving blank page

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

Re: admin giving blank page

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

What version php are you using?

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

drbyte

Sensei

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

Re: admin giving blank page

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

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

Re: admin giving blank page

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

Re: admin giving blank page

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.

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

Re: admin giving blank page

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

mc12345678

Totally Zenned

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

Re: admin giving blank page

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?

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

drbyte

Sensei

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

Re: admin giving blank page

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.

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

Re: admin giving blank page

/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

Re: admin giving blank page

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,845
Plugin Contributions:
0

Re: admin giving blank page

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

you need to upgrade that site