Jump to content

[SOLVED] Help with website please - freezes when customer registers


Recommended Posts

hi all, I've just registered on my website to make sure everything goes through okay and after trying to register an account, all I see is a white screen.

 

Please help as soon as possible as the website is live.

 

 

www(dot)protectandenhance(dot)co(dot)uk

 

 

Thanks,

Link to comment
Share on other sites

you are probably getting an error you can't see, if possible change your config/config.inc.php code and upload to your site, repeat your test and post error here:

 

/* Debug only */
@ini_set('display_errors', 'off');
define('_PS_DEBUG_SQL_', false);
change to
/* Debug only */
@ini_set('display_errors', 'on');
define('_PS_DEBUG_SQL_', false);

Link to comment
Share on other sites

Now the website doesn't even load and gives this error message:

 

Parse error: syntax error, unexpected T_STRING in /home/protect1/public_html/config/config.inc.php on line 31

 

please post the code you put in your config/config.inc.php you may have dropped a ', you only need to set from 'off' to 'on'...

 

only one line change

@ini_set('display_errors', 'off');

 

to

 

@ini_set('display_errors', 'on');

Link to comment
Share on other sites

I tell a lie, it now has the following error messages:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/protect1/public_html/controllers/AuthController.php:2) in /home/protect1/public_html/classes/Cookie.php on line 302

 

Warning: Cannot modify header information - headers already sent by (output started at /home/protect1/public_html/controllers/AuthController.php:2) in /home/protect1/public_html/classes/Tools.php on line 74

Link to comment
Share on other sites

did you modify controller/AuthController.php for anything? I noticed you have pwd/re-enter pwd on your registration which is not in base release...

 

you may consider loading a non-modified ps version of controller/AuthController.php, make sure to back up your existing one.

Link to comment
Share on other sites

did you modify controller/AuthController.php for anything? I noticed you have pwd/re-enter pwd on your registration which is not in base release...

 

you may consider loading a non-modified ps version of controller/AuthController.php, make sure to back up your existing one.

 

Thank you very much for the reply.

 

I believe it was edited when I had the password made so you have to enter it twice when registering.

Where can I get a non-modified version please? and will this affect my installed theme etc in any way?

 

Thanks!

Link to comment
Share on other sites

Thank you very much for the reply.

 

I believe it was edited when I had the password made so you have to enter it twice when registering.

Where can I get a non-modified version please? and will this affect my installed theme etc in any way?

 

Thanks!

 

you can just download the 1.4.7 version you using, unzip it to get vanilla files...I suspect you also made changes to the .tpl file as well...just make sure to back all all your changes and if this fixes it go back and do more testing...

 

it should make no difference to your theme....

Link to comment
Share on other sites

Update, fixed.

 

I copied the authcontroller.php from the origional prestashop and pasted over the one I had and it's solved the problem.

The entering 2 passwords is still active too!

 

Many thanks elpatron for the help and thank you jhnstcks for your input :)

Link to comment
Share on other sites

×
×
  • Create New...