PDA


View Full Version : Error


knobster
07-23-2005, 11:25 AM
Hello,
This is a new install of VB3.5 and CMPS 2.0. When I click on the Edit Pages link under vBa CMPS, I get this error. Warning: Invalid argument supplied for foreach() in \admincp\vba_cmps_admin.php on line 1003
It did work fine. I made a couple modifications to what was on the page like removing a couple items and now it gives this error.

Brian
07-23-2005, 12:37 PM
Try running this query and let me know if it solves the problem.
UPDATE adv_pages SET parentid = 0 WHERE name = 'home';

knobster
07-23-2005, 01:10 PM
Yep, that fixed it. Thanks Brian.