simpson7647 Posted April 17, 2012 Share Posted April 17, 2012 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 More sharing options...
El Patron Posted April 17, 2012 Share Posted April 17, 2012 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 More sharing options...
simpson7647 Posted April 17, 2012 Author Share Posted April 17, 2012 Thank you for the reply! I'll do that, appologises but where will i find the config/config.inc.php? Oops stupid me! Forget all that. So replace the entire data with what you posted? Thanks, Link to comment Share on other sites More sharing options...
simpson7647 Posted April 17, 2012 Author Share Posted April 17, 2012 Just replace this bit i guess? '/* Debug only */ @ini_set('display_errors', 'off'); define('_PS_DEBUG_SQL_', false); Link to comment Share on other sites More sharing options...
simpson7647 Posted April 17, 2012 Author Share Posted April 17, 2012 Just done that now have another error displayed on the website. Please check it out thanks, Link to comment Share on other sites More sharing options...
simpson7647 Posted April 17, 2012 Author Share Posted April 17, 2012 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 Link to comment Share on other sites More sharing options...
El Patron Posted April 17, 2012 Share Posted April 17, 2012 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 More sharing options...
simpson7647 Posted April 17, 2012 Author Share Posted April 17, 2012 I've just done that so now the website works again. But still it doesn't show any error messages. When I fill in the registry form, it goes to a white page still Please help. Thanks, Link to comment Share on other sites More sharing options...
simpson7647 Posted April 17, 2012 Author Share Posted April 17, 2012 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 More sharing options...
simpson7647 Posted April 17, 2012 Author Share Posted April 17, 2012 1.4.7 is the prestashop version too. thanks, Link to comment Share on other sites More sharing options...
El Patron Posted April 17, 2012 Share Posted April 17, 2012 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 More sharing options...
simpson7647 Posted April 17, 2012 Author Share Posted April 17, 2012 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 More sharing options...
El Patron Posted April 17, 2012 Share Posted April 17, 2012 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 More sharing options...
simpson7647 Posted April 17, 2012 Author Share Posted April 17, 2012 Thank you, i'll have a go putting the authcontroller.php. Could I simply copy whats in that file on the 1.4.7 version and paste it in the current authcontroller.php? Link to comment Share on other sites More sharing options...
jhnstcks Posted April 17, 2012 Share Posted April 17, 2012 Have you tried changing back to the Prestashop default theme and see if you still get the errors? Link to comment Share on other sites More sharing options...
simpson7647 Posted April 17, 2012 Author Share Posted April 17, 2012 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 More sharing options...
El Patron Posted April 17, 2012 Share Posted April 17, 2012 con gusto Link to comment Share on other sites More sharing options...
Recommended Posts