|
[HELP] Registration MOD php bug? error...
|
| MustiC |
Posted on 22-02-2010 07:53
|
Newbie

Posts: 6
Joined: 16.02.10
|
I have installed the registermod of Fangree Production but I get a error when I register on my site..
(btw registering is working but I get still that error. Dont know why)
this is the error:
Deprecated: Function eregi_replace() is deprecated in /customers/[*****]*/httpd.www/home/register.php on line 102
Deprecated: Function eregi_replace() is deprecated in /customers/[*****]*/httpd.www/home/register.php on line 103
Deprecated: Function eregi_replace() is deprecated in /customers/[*****]*/httpd.www/home/register.php on line 104
and when I look to the line 102 till 104 I see this code:
Code $username = stripinput(trim(eregi_replace(" +", " ", $_POST['username'])));
$email = stripinput(trim(eregi_replace(" +", "", $_POST['email'])));
$password1 = stripinput(trim(eregi_replace(" +", "", $_POST['password1'])));
I hope somebody can help me out,
Edited by MustiC on 22-02-2010 12:31 |
| |
|
|
| HobbyMan |
Posted on 22-02-2010 10:35
|

Site Admin

Posts: 1556
Joined: 24.03.07
|
upgrade to v7.00.07 and that problem will go away.
moved to coding support |
| |
|
|
| MustiC |
Posted on 22-02-2010 12:30
|
Newbie

Posts: 6
Joined: 16.02.10
|
I have already that version, thats why I have posted the thread in v7 bugs.
btw, my friend told me that error appears because my php version is newer then the php text inside the code.
so the 102 line till 104 line should be changed in the new version code of php.
Edited by MustiC on 22-02-2010 12:32 |
| |
|
|
| Fangree_Craig |
Posted on 22-02-2010 12:36
|
Fusioneer

Posts: 1523
Joined: 09.10.05
|
If it is a problem with my Enhanced Registration then I will have a look for you but please be patient this does not mean I will have a look right away but when I get time I will look at it for you.
Fangree Productions - Mods and Themes for PHP-Fusion 7
 |
| |
|
|
| MustiC |
Posted on 22-02-2010 12:40
|
Newbie

Posts: 6
Joined: 16.02.10
|
Thank you that you will look for my problem,
But if you want to see the register problem online you can look to my site: www.mustic.nl/home
The registering is working but it gives a error .. I think its because my php version is newer then the code that is getting used in the php registering file.
Thanks for your time.
Edited by MustiC on 22-02-2010 12:40 |
| |
|
|
| Fangree_Craig |
Posted on 22-02-2010 12:47
|
Fusioneer

Posts: 1523
Joined: 09.10.05
|
Are you joking with me?
I just went on your site and straight to registration page and what do you know no errors!
Look at my Attached image.
What's the problem?
Fangree_Craig attached the following image:
 [584.63kB]
Fangree Productions - Mods and Themes for PHP-Fusion 7
 |
| |
|
|
| MustiC |
Posted on 24-02-2010 18:44
|
Newbie

Posts: 6
Joined: 16.02.10
|
I know that is working, but try to register.. after registering the problem appears. 
im not joking ..
just fill in that form and press register then there will appear a error
Edited by MustiC on 24-02-2010 18:45 |
| |
|
|
| Fangree_Craig |
Posted on 27-02-2010 10:01
|
Fusioneer

Posts: 1523
Joined: 09.10.05
|
We will edit register.php
look for...
Code$username = stripinput(trim(eregi_replace(" +", " ", $_POST['username'])));
$email = stripinput(trim(eregi_replace(" +", "", $_POST['email'])));
$password1 = stripinput(trim(eregi_replace(" +", "", $_POST['password1'])));
We shall change it to...
Code$username = stripinput(trim(preg_replace("/ +/i", " ", $_POST['username'])));
$email = stripinput(trim(preg_replace("/ +/i", "", $_POST['email'])));
$password1 = stripinput(trim(preg_replace("/ +/i", "", $_POST['password1'])));
Fangree Productions - Mods and Themes for PHP-Fusion 7
 |
| |
|
|
| MustiC |
Posted on 10-03-2010 10:36
|
Newbie

Posts: 6
Joined: 16.02.10
|
Thanks it's working |
| |
|
|
| Fangree_Craig |
Posted on 10-03-2010 10:40
|
Fusioneer

Posts: 1523
Joined: 09.10.05
|
No problem, enjoy.
Fangree Productions - Mods and Themes for PHP-Fusion 7
 |
| |
|
|
| wtfaatp |
Posted on 31-08-2010 22:59
|
Newbie

Posts: 31
Joined: 18.04.09
|
May i ask were this can be downloaded from i went to fangree website and couldnt find it.. |
| |
|