PDA

View Full Version : parse error


lil7rocket
03-30-2007, 08:46 PM
Parse error: parse error, unexpected $ in /home/content/r/a/p/rapauthority/html/forums/register.php(480) : eval()'d code on line 46

nico_swd
03-31-2007, 11:00 AM
Try adding a closing curly bracket after line 43:
(This line)

$threaddm =& datamanager_init('Thread_FirstPost', $vbulletin, ERRTYPE_ARRAY, 'threadpost');


So it looks like this.

else
{
$threaddm =& datamanager_init('Thread_FirstPost', $vbulletin, ERRTYPE_ARRAY, 'threadpost');
}

sinisterpain
03-31-2007, 12:02 PM
You also need to have and option for creating a thread title

lil7rocket
04-01-2007, 07:33 AM
nico I did that and I get this

Fatal error: Call to a member function on a non-object in /home/content/r/a/p/rapauthority/html/forums/register.php(480) : eval()'d code on line 15

but when I try to remove those dataman lines it gives me a "Username already in use" error