All work fine, but not registration :-( The form is ok, but when I click on REGISTER I get an HTTP ERRO 500
Thank you very mutch.
Patrick
Discussion
Anonymous
-
2020-10-09
Hello Alessandro,
Before upgrading version all working fine, but after upgrading, a new user can't register.
Can you help me please ?
Have a good day and thank you very mutch for you wrok !!
(Sorry for may very bad english)
Patrick
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Never mind I found the error.
ereg_replace was removed from php 7.
It must be replaced with preg_replace.
File is lib/modules/default/auth.inc.php
line 131
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Alessandro,
Before upgrading version all working fine, but after upgrading, a new user can't register.
Can you help me please ?
Have a good day and thank you very mutch for you wrok !!
(Sorry for may very bad english)
Patrick
Can you check the web server logs for any hint on what the error is? Also what version of PHP are you using?
Never mind I found the error.
ereg_replace was removed from php 7.
It must be replaced with preg_replace.
File is lib/modules/default/auth.inc.php
line 131
I've uploaded a new version with the fix. 0.4.4
I Alessandro,
It's working with 0.4.4 version :)
The last little problem is whith special characteres :
For example : "Ce message vous est envoyé pour confirmer..."
Thank a lot to you
Patrick
Oups, ... and my version of php is 7.
Regards,
Patrick
It's a utf8 / iso conversion problem. You should put the Html code for special characters to avoid it.
https://www.rapidtables.com/web/html/html-codes.html