Zen Cart Logo
Forums / General Questions / login get error blank page after install fast and easy checkout

login get error blank page after install fast and easy checkout

Views: 2,059

Results 1 to 18 of 18
17 Jun 2015, 12:49 AM
#1
louisapple avatar

louisapple

Zen Follower

Join Date:
Apr 2009
Posts:
151
Plugin Contributions:
0

login get error blank page after install fast and easy checkout

hi, all,

i recently install the fast and easy checkout plugin and get error blank page when login, and i checked my log file and here is the message "PHP Fatal error: Call to undefined function password_needs_rehash() in /home/igrabcom/public_html/includes/modules/pages/login/header_php.php on line 99", my website is igrab.com.au

can anyone help with this, thank you

17 Jun 2015, 1:15 AM
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: login get error blank page after install fast and easy checkout

louisapple:

hi, all,

i recently install the fast and easy checkout plugin and get error blank page when login, and i checked my log file and here is the message "PHP Fatal error: Call to undefined function password_needs_rehash() in /home/igrabcom/public_html/includes/modules/pages/login/header_php.php on line 99", my website is igrab.com.au

can anyone help with this, thank you

Just pulled up your login page without problems. Seems you fixed the error - what was the problem?

Frank

17 Jun 2015, 6:30 AM
#3
lruskauff avatar

lruskauff

Totally Zenned

Join Date:
Sep 2008
Location:
WA
Posts:
559
Plugin Contributions:
0

Re: login get error blank page after install fast and easy checkout

I just tried to login w different results. It wouldn't accept my email or city. Are you making progress?

17 Jun 2015, 8:08 AM
#4
louisapple avatar

louisapple

Zen Follower

Join Date:
Apr 2009
Posts:
151
Plugin Contributions:
0

Re: login get error blank page after install fast and easy checkout

hi, frank, try using bulleatpig at gmail.com as user name and password: MwuQ7qU

17 Jun 2015, 8:11 AM
#5
louisapple avatar

louisapple

Zen Follower

Join Date:
Apr 2009
Posts:
151
Plugin Contributions:
0

Re: login get error blank page after install fast and easy checkout

what email and city did you enter? i've never heard of this before?

17 Jun 2015, 6:42 PM
#6
lruskauff avatar

lruskauff

Totally Zenned

Join Date:
Sep 2008
Location:
WA
Posts:
559
Plugin Contributions:
0

Re: login get error blank page after install fast and easy checkout

louisapple:

what email and city did you enter? i've never heard of this before?
I made up email and city. It told me to pick city from list but there was no list. I don't remember the email, it was late but I'll try again.

17 Jun 2015, 6:50 PM
#7
johnies avatar

johnies

New Zenner

Join Date:
Jun 2015
Posts:
9
Plugin Contributions:
0

Re: login get error blank page after install fast and easy checkout

I just updated FEC as well because the credit card form does not show on mobile devices and I had the same exact problem/error. Looking at the PHP manual the code in the header_php.php file doesn't seem to follow the usage of password_needs_rehash --> > password_needs_rehash — Checks if the given hash matches the given options. and/but > PASSWORD_DEFAULT is not shown anywhere else on the site so I don't know what its value is supposed to be.

Did anyone find the solution?

17 Jun 2015, 7:06 PM
#8
lruskauff avatar

lruskauff

Totally Zenned

Join Date:
Sep 2008
Location:
WA
Posts:
559
Plugin Contributions:
0

Re: login get error blank page after install fast and easy checkout

louisapple:

what email and city did you enter? i've never heard of this before?

Hello again.
Today I could create an account and login. But if I don't put in a proper city, it wants me to select one from drop down list. Minor problem but I thought you would want to know. And you will find 2 customers that u can delete, loll and lala.

But, if I logged out and tried to log in again I would get the blank screen.

What version of zencart, fast and easy, and php are you using? Did u check the documentation to see if certain versions won't work w others?

17 Jun 2015, 7:22 PM
#9
johnies avatar

johnies

New Zenner

Join Date:
Jun 2015
Posts:
9
Plugin Contributions:
0

Re: login get error blank page after install fast and easy checkout

lruskauff:

What version of zencart, fast and easy, and php are you using? Did u check the documentation to see if certain versions won't work w others?

I think the FEC version is different, supposedly newer according to this thread (starts on #5) Upgraded to 1.5.1,+ Products w/Attributes Stock and now get blank page at checkout

I'm trying to merge it with original from bckup so I don't lose any FEC functions but I'm not sure if it's possible because of the FEC_MASTER_PASSWORD which can't be merged withoout using the "password_needs_rehash" portion.

I'll try again and post if I can get the FEC_MASTER_PASSWORD portion merged.

17 Jun 2015, 7:35 PM
#10
johnies avatar

johnies

New Zenner

Join Date:
Jun 2015
Posts:
9
Plugin Contributions:
0

Re: login get error blank page after install fast and easy checkout

According to the manual, password_needs_rehash wasn't introduced until PHP ver. 5.5

17 Jun 2015, 11:41 PM
#11
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: login get error blank page after install fast and easy checkout

louisapple:

hi, frank, try using bulleatpig at gmail.com as user name and password: MwuQ7qU

Assuming your cart is v 1.5.1 (as per heading of this thread), that function did not exist in 1.5.1 and was first introduced in 1.5.3.

Check if you have these files (there are others referring to that function):

includes/functions/password_compat.php

Line #39 : function password_needs_rehash($hash, $algo = null)

includes/modules/pages/login/header_php.php

Line #68 : if (password_needs_rehash($dbPassword, PASSWORD_DEFAULT)) {

If these don't exist, then suggest you roll back to pre FEC installation, upgrade your cart to 1.5.4 and reinstall FEC.

Frank

18 Jun 2015, 12:04 AM
#12
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: login get error blank page after install fast and easy checkout

Also pls check which PHP version is active on your server. You can find this in your Admin or cPanel.

18 Jun 2015, 1:18 AM
#13
louisapple avatar

louisapple

Zen Follower

Join Date:
Apr 2009
Posts:
151
Plugin Contributions:
0

Re: login get error blank page after install fast and easy checkout

Hi, frank, there is no such file includes/functions/password_compat.php, and i can see includes/modules/pages/login/header_php.php and Line #68 : if (password_needs_rehash($dbPassword, PASSWORD_DEFAULT)) { is in it, and what function are you talking about?

18 Jun 2015, 1:21 AM
#14
louisapple avatar

louisapple

Zen Follower

Join Date:
Apr 2009
Posts:
151
Plugin Contributions:
0

Re: login get error blank page after install fast and easy checkout

and the PHP Version is 5.4.39, and according to the lastest FEC Log “ bug fix for backwards compatibility for ZC versions < 1.5.3, does that mean this plugin support 1.5.1?

18 Jun 2015, 1:23 AM
#15
louisapple avatar

louisapple

Zen Follower

Join Date:
Apr 2009
Posts:
151
Plugin Contributions:
0

Re: login get error blank page after install fast and easy checkout

my zen cat version is 1.5.1, PHP Version: 5.4.39, and strange that i use FEC 1.14.4 BEFORE and after upload the lastest FEC files version remains 1.14.4 in my admin???

18 Jun 2015, 1:38 AM
#16
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: login get error blank page after install fast and easy checkout

louisapple:

my zen cat version is 1.5.1, PHP Version: 5.4.39, and strange that i use FEC 1.14.4 BEFORE and after upload the lastest FEC files version remains 1.14.4 in my admin???

Just looked at the FEC plugins page for https://www.zen-cart.com/downloads.php?do=file&id=594 - the latest version is 2.1.1, can't see a version 1.14.4 though.

As suggested earlier I would roll back, upgrade the cart to ZC 1.5.4 and then install the latest version of FEC.

18 Jun 2015, 10:04 AM
#17
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: login get error blank page after install fast and easy checkout

Louis, I see you fixed the error, what was your approach?

19 Jun 2015, 1:25 AM
#18
louisapple avatar

louisapple

Zen Follower

Join Date:
Apr 2009
Posts:
151
Plugin Contributions:
0

Re: login get error blank page after install fast and easy checkout

frank18:

Louis, I see you fixed the error, what was your approach?

i restore the web files, i asked for support from numinix but never get reply :(