PDA

View Full Version : Registration error, Help


katie hunter
07-13-2007, 02:22 PM
Hi, recently I've recived these errors whenver ppl try to register, how can i fix them?

Parse error: syntax error, unexpected T_IF in /home/nihonoma/public_html/forum/register.php(880) : eval()'d code on line 5

Fatal error:
• The following users were not found:
1. user1
Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 765

Distance
07-13-2007, 02:35 PM
Have you edited your register.php file at all?

katie hunter
07-13-2007, 03:03 PM
Not that i can remmeber ;l don't think so

dyna88
07-13-2007, 03:17 PM
Did you just install any mods???

katie hunter
07-13-2007, 03:25 PM
I did install this proxy mod, it prevent ppl that register with proxies and ban them, i unistall it and the second error dissapeared ! but the first error this one didn't dissapear.

Parse error: syntax error, unexpected T_IF in /home/nihonoma/public_html/forum/register.php(880) : eval()'d code on line 5

That first error ^ been with me for 3 weeks and don't know what to do about it.

dyna88
07-13-2007, 03:33 PM
Did you install any other mods such as this one?

https://vborg.vbsupport.ru/showthread.php?t=134000

katie hunter
07-13-2007, 03:41 PM
Oh Ya i think i installed a refferal hack to that u have to put who reffered u to my forum if you want to.

dyna88
07-13-2007, 03:57 PM
Try disabling it...

Distance
07-13-2007, 04:18 PM
I suggest doing the following:

In your Admincp find Maintenance -> Diagnostics -> Suspect File Versions and hit submit.If there are any files that don't match up, reupload them.


Next, create a new style by doing the following:
Styles & Templates -> Style Manager ->[Add New Style]

Now finally edit your /includes/config.php fileFind

<?php Add below

define('DISABLE_HOOKS', true);


Now, once you have done those steps try doing it again, using the new style you made.

If you still get an error I suggest opening a ticket at vBulletin.com.


If it works, try removing the line you added to your config file, if you get the error it means its a modification causing the error, if you use another style, it means the style is the problem and so on.


Hope this helps

Distance

katie hunter
07-13-2007, 05:53 PM
It is that refferal mod that causing it, when i disable it , the error didn't show up ;o

P.S thanks for your time Distance giving more more info and thanks for the help dyna <3
I guess i will either disable it or reported to the person who made that hack x3

dyna88
07-13-2007, 06:02 PM
Glad you found the problem...:)

Distance
07-14-2007, 09:28 PM
Which hack was it katie?

katie hunter
07-14-2007, 10:22 PM
Which hack was it katie?

It was that one https://vborg.vbsupport.ru/showthread.php?t=134000

Distance
07-14-2007, 10:42 PM
Okay, well its supported anyway so I'm sure Ziki will fix it

katie hunter
07-15-2007, 12:17 AM
Ya I think so ^^x