PDA

View Full Version : Man, I think I messed up.


Ryan Ashbrook
01-20-2004, 06:57 PM
This is where I ask for help isn't it? Well I sure as hell need it.
I've just being trying to install the VB3 arcade hack and I just couldn't get it to work. I'm not sure why, I went over everything twice.
So in the end I decided to just reload all the unedited php but know for some reason I'm getting errors like

Warning: Invalid argument supplied for foreach() in /home/terra/public_html/tgp/forums/includes/functions.php on line 2768

and this when I try to enter a forum or admin cp.

Unable to add cookies, header already sent.
File: /home/terra/public_html/tgp/forums/includes/functions.php
Line: 2768

I don't get why there should be an error there or anything because I uploaded the unedited php so really there should have been nothing wrong. But I cannot even get to the Admin CP to delete the other arcade hack stuff, templete edits and phrases etc. I don't know if they are effecting it at all.

Sorry if I posted this in the wrong place, I wasn't sure if I should put it in the arcade thread or here.

Can someone help?

Dark_Wizard
01-20-2004, 10:18 PM
Make sure there is no space after this ?> at the end of your functions.php file or before this <? at the beginning of the file...

Ryan Ashbrook
01-21-2004, 02:54 PM
Thanks, there was, at the start, <?php so i put a space between it = <? php but now I have.

Parse error: parse error in /home/terra/public_html/tgp/forums/includes/functions.php on line 15

Fatal error: Call to undefined function: is_browser() in /home/terra/public_html/tgp/forums/global.php on line 59

I looked on the lines but can't work out what's worng....

NTLDR
01-21-2004, 02:58 PM
Its a known issue listed in the first post of the hack ;)

Don't use Dreamweaver to edit functions.php.

Ryan Ashbrook
01-21-2004, 07:45 PM
But I didn't :s I used wordpad.
Thanks for trying to help anyway.