PDA

View Full Version : What does this mean and how do I fix it?


GrabAssGirl
10-26-2006, 10:36 AM
I have had the following error on my home page ever since we switched servers. What does it mean and how do I fix it?

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


Here is what is on that line when I look it up:

foreach ($sgvalue AS $vname => $valu)

Anyone? I know it has to do with the cmps hack...

GrabAssGirl
10-27-2006, 10:10 AM
Please take a look at this post:

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

Can anyone help? This error is due to me installing the CMPS hack. It popped up when we changed servers a while back and I have tried to fix it. It's been there for the last several months now.

Please help.

TIA!

CyberAlien
10-27-2006, 11:51 AM
Try reupload that file. Looks like some array isn't being set, and most likely that is happening because of ether missing or incomplete file or because of error made while moving database.

davidw
10-27-2006, 01:17 PM
Please do not create separate threads on the same topic - I have merged your threads together.

GrabAssGirl
10-27-2006, 04:04 PM
I wouldn't have, but my initial one was getting lost in more recent posts and was going to page 2 with no responses... I tried to respond to my own thread to bump it but apparently, y'all don't allow that.

So, I did get help (although, not sure if it will work as I haven't tried it yet) because of my second post, thank you!

:)

Try reupload that file. Looks like some array isn't being set, and most likely that is happening because of ether missing or incomplete file or because of error made while moving database.

:(

I just tried this and it didn't fix it... Anything else I could do to fix the error?

I even uploaded the file from another site of mine that doesn't have the error (and made it thru the server switch without errors), and it still didn't fix it.

davidw
10-27-2006, 04:23 PM
Have you tried requesting support from the vbadvanced forums?
http://www.vbadvanced.com/forum/forumdisplay.php?f=88

GrabAssGirl
10-27-2006, 05:41 PM
Thank you for that! I asked there and got the fix in no time!!

davidw
10-27-2006, 05:44 PM
No problem - a lot of the time its easier to get the answer at the site where you got the modifcation/hack from. Although there are a lot of people who do help out here, not everyone will be knowledgeable in all areas. I try to recommend the original place first - to save headache. Personally I had no idea how to fix that problem, but I suspected vbadvanced support could definately point you in the right direction considering it is their product.