Jump to content

[HELP] authentication problem - white screen


Recommended Posts

Hello,
I've installed and customized prestashop recently. Everything seemed to work just fine on localhost, but when I finally installed (and i mean installed, not just copied from my machine) the shop on real server, things started to screw up.

So my problem is authentification.php i guess. Every time I try to register, I fill all the required information, click on the button aaaand...WHITE SCREEN! It's no random bug, it happens really every time i try. However, accound itself IS created and when I manually refresh the page, I can then log in.

I think it's some server related error - maybe some PHP flags badly set, but i have no clue which ones.

I've also noticed kinda similar error with the payment modules - validation.php. It's the same...worked perfect on localhost, on real server it doesn't. Now there is no white screen, just the half of the website (with rendering stopped just in point where PHP gets to interpret code inside validation.php).

Again - no clue...

I would REALLY appreciate your help :)

Link to comment
Share on other sites

  • 2 months later...

Hi 2Nine!
Did you ever get this figured? I have just moved my site onto the server after months of working on local host and I am having the exact same problem as you described above. I see no-one answered you and you haven't reported back... If you have a fix I'd be happy to post it on here!

Thanks to anyone who can help.

Link to comment
Share on other sites

It is easier to help when error messages are provided. Check your PHP errorlog or edit config/config.inc.php and temporarily change 'display_errors' from 'off' to 'on' so that you get an error message and post it here.

Link to comment
Share on other sites

Hi - I have found the problem - and it is now resolved. Here it is:

For some strange reason, the FTP didn't upload the main core SWIFT files in the tools folder. I just restored them and now everything is working. (the emails were no longer working either...) I also noted that the 'icon' folder in the themes image file hadn't transfered either. (I use Filezilla)

Very strange behaviour! I am going to check everything now to make sure this hasn't happened elsewhere!

I'm joining a screenshot of the files that where missing for those of you who may encounter the problem. If it is not exactly the same, the source is definately within the SWIFT file so my advice would be to reupload it to fix the issue.

Thanks Rock for your quick response- I now know how to turn on the errorlog!

Kind regards

Link to comment
Share on other sites

×
×
  • Create New...