Jump to content

Register fatal error


Guest soundchok

Recommended Posts

Guest soundchok

hello,

when i try to register a new pilot

i note all the informations and when i click on Register, a blank page open with:

Fatal error: Call to undefined function filter_var() in /mnt/153/sdc/a/8/atlantis.virtual/core/modules/Registration/Registration.php on line 206

how to do?

thanks for your help

Link to comment
Share on other sites

  • Administrators

Looks like you are not running PHP 5.2 or higher on the server or the pecl extension is not enabled on the server.

Try running

www.yoursite.com/install/checkinstall.php

and see what is output. It will tell you the version of PHP the server is running.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
  • Administrators

hello,

the problem was the version of PHP

i have delete the part who control email (line 206) and it's ok

thanks

If you don't update PHP, you'll have a lot of other errors.

Also, removing that filter_var now exposes you do SQL injections, and allows users to use anything they like as an email address

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...