PDA

View Full Version : Warning: Invalid argument supplied for foreach() in /includes/functions.php


Anon47
10-27-2005, 03:35 PM
Hi. I seem to have ran into a big problem when installing kall's "Allow Usergroups to Post HTML" hack. (https://vborg.vbsupport.ru/showthread.php?t=96926&page=1&pp=15)

Okay, after I unzipped the hack, I imported the product xml file. After that I uploaded the bitfield xml to my includes folder. The hack didn't work, so I uninstalled the product and deleted the bitfield xml. I went back to hack's thread to see what I did wrong. I read that the bitfield should be uploaded, then the product imported. I did that. After I imported the product, I really screwed something up on my board. Take a look...

http://hsbb.org/boards/

I get this messsage on every page, including the admin cp, rendering my board useless...

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 1023


Unable to add cookies, header already sent.
File: /home/******/public_html/*****/boards/includes/class_core.php
Line: 2903

So I "unplugged" my board with the unplug.php script I found on vb.com, but I am still getting the above warning message on every page, and the text on the login screen is backwards o_0 Still no access to the board or admin cp either.

Is there any way for me to reverse whatever I have done to my board? I seemed to have killed it. :(

ANY help I can get with this would be very much appreciated.

Thanks.


p.s. If this is in the wrong forum, I apologize.

Reeve of shinra
10-27-2005, 03:40 PM
Try doing a search, I think this has come up before. Off hand I dont remember what the fix is.

Anon47
10-27-2005, 03:49 PM
Thanks for the quick reply. I've done quite a few already but I can't seem to narrow my searches down enough to be really helpful.

Okay I got it working. Just needed to run the tools.php file.

Thanks, kall!