PDA

View Full Version : help please - forum is going wrong


jamiepryer@hotm
03-26-2005, 07:21 PM
hey guys and gals, got a bit of a problem with my forum :(
installed some hacks today and all went really well, until i tried to instal one of the stats hack - i didnt realise the other admin had done this too, and so its all gone bad, sorry!

can anyone help ASAP please, i cant even get into my adminCP :eek:

http://www.sussexcarz.com/forum/upload/

Deaths
03-26-2005, 07:28 PM
Whats on line 2991 in includes/functions.php?

jamiepryer@hotm
03-26-2005, 07:36 PM
foreach ($_FIELDNAMES AS $field => $bitvalue)

Deaths
03-26-2005, 07:37 PM
Is that added when adding the hack you installed?

And didnt you make any backups?

jamiepryer@hotm
03-26-2005, 07:43 PM
i dont ever remember editing that bit, thats what i dont understand
i have uploaded the back up and it still dont work

i get this error when i try and log into admin CP

Unable to add cookies, header already sent.
File: /home/smcc/public_html/forum/upload/includes/init.php
Line: 27

Marco van Herwaarden
03-26-2005, 08:00 PM
Check for a space or newline in the top or bottom of any edited php-file (before '<?php' or after '?>')

eva01_
03-26-2005, 08:09 PM
upload all new files and start over on your hacks, that is the best way to fix it

jamiepryer@hotm
03-26-2005, 08:41 PM
done that and still no luck

eva01_
03-26-2005, 09:01 PM
then restore a backup prior to the error

jamiepryer@hotm
03-26-2005, 09:29 PM
thats what i did, restored the origional files i download when i got VB

Marco van Herwaarden
03-26-2005, 09:33 PM
This error got probably something to do with permission fields edited (or a userprofilefield).

Check and undo your edits with permissions bitfields.

Worse case, go back to backup, or even re upload clean files

Marco van Herwaarden
03-26-2005, 09:34 PM
Edit: crossposted

So you uploaded all clean files (except binary files) and you are still getting this?

eva01_
03-26-2005, 09:39 PM
restore the database now, which isn't the files.

jamiepryer@hotm
03-26-2005, 09:58 PM
yeah, i reloaded the files:
--index.php
--member.php
which i changed

i can get into my vb control pannel to undo the other things tho

miz
03-26-2005, 10:04 PM
boofo will be pissed when he will see your last post ;)

edit the post

any cod put under php/code tags and its will be better if u will give a link to hack instead of posting it here

jamiepryer@hotm
03-26-2005, 10:31 PM
ok, have removed the code - i didnt realise i couldnt post it?! sorry