PHP Classes
elePHPant
Icontem

Error

Recommend this page to a friend!

      PHP Secure Login and Registration  >  PHP Secure Login and Registration package blog  >  PHP Secure Login Scri...  >  All threads  >  Error  >  (Un) Subscribe thread alerts  
Subject:Error
Summary:Error in registration
Messages:3
Author:sh vastgoed
Date:2018-06-14 10:20:06
 

  1. Error   Reply   Report abuse  
sh vastgoed - 2018-06-14 10:20:06
Dear all,

First of all thank you for this great script which I hope can be very usefull.

When I register a user I get the error below. I have checked how to fix it but couldn't figure it out (maybe because I am relatively new to PHP) and was hoping someone could help.

The files are the exact files from this site. It is installed locally on a PHP Wamp server.

<br />
<b>Fatal error</b>: Call to a member function prepare() on null in <b>..\class\user.php</b> on line <b>255</b><br />

I hope somebody can help.

Regards,

Bouma

  2. Re: Error   Reply   Report abuse  
Kato Monday - 2018-10-22 05:52:50 - In reply to message 1 from sh vastgoed
Hi,

Have you got solution to this challenge yet? As I am having the same challenge

  3. Re: Error   Reply   Report abuse  
TheLegend Mohammed - 2018-12-22 12:21:57 - In reply to message 2 from Kato Monday
i did it by doing this way.
open config.php page and remove pass,
it should look like this ;
define('dbPass', '');
or provide you server details(username and password).
thank you