Hi,
Before my submit text I get this message:
Deprecated: Function ereg() is deprecated in /home/63/w128447/www/components/com_chronocontact/libraries/mails.php on line 117
Alf Kvassheim,
Norway
Thanks for very quick response. I have tried both "None" and "System default", but the error message still displays. I go for the preg_match option. Thanks.
Alf
Hi, I had exactly the same problem. But how did u fix it?
I changed "ereg" by preg_match" on line 117 and now I have this following message by sending post :
"Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in C:\wamp\www\joomlasite\components\com_chronocontact\libraries\mails.php on line 117"
please help.
Thanks for answer.
No it doesen't work with and the same message appears.
I have an other message in the administration page in the form manager :
"Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\joomlasite\administrator\components\com_chronocontact\admin.chronocontact.php on line 1589".
and this one :
Your Chronoforms install at localhost is NOT Validated, No limited features but for a small fee you get link free forms and help us continue the development and support
I can't figure out what I make wrong.
Hi snoopy,
Not sure I believe that the changed code didn't fix the ereg error. Please post the code you used here.
The Deprecation is just a notice. Set Site Error reporting to System Default and it will disappear.
The NOT validated message is probably because your ChronoForms installation isn't validated. That isn't a problem.
Bob
Hi GreyHead,
ok, "if(!preg_match('/\{IPADDRESS\}/', $email_body)){" works well sry, I forgot a "\". So thanks for that, very good support.
And for the other error, how do I can set site error reporting to system default? Do you have a link?
Thanks in advance.
Hi snoopy,
It's a setting in the Site Admin | Global Configuration.
Bob
Hi GreyHead,
On site -> configuration générale -> serveur, "rapport d'erreurs" is already set on default.
And the message : "Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\joomlasite\administrator\components\com_chronocontact\admin.chronocontact.php on line 1589" is still here.
But you said it is just a notice, so I guess it dosent matter, all right?
Thanks, and this is the last question😉.
It's working now. Thanks a lot.🙂