PDA

View Full Version : Error in Site Nav In admincp


axecity
06-16-2005, 07:55 PM
I just upgraded to cmps 2 from version 1.

1) Since this upgrade the "who's online" page has stopped refreshing on its assigned interval (every 60 secs). Why would this upgrade affect this page?

2) The module BBcode wysiwyg editor has no icons in the toolbar. They appear to be missing. I have several styles so I need to know where to change the relative path so icons will appear without messing up the user editor view.

3) I get this error message when I click to edit some modules (site nav, news etc). This error is appearing in the admincp just below the "Usergroups" options for that module.

Warning: Invalid argument supplied for foreach() in /admin/vba_cmps_admin.php on line 764

Warning: Invalid argument supplied for foreach() in /admin/vba_cmps_admin.php on line 764

Warning: Invalid argument supplied for foreach() in /admin/vba_cmps_admin.php on line 764

Warning: Invalid argument supplied for foreach() in /admin/vba_cmps_admin.php on line 764

Warning: Invalid argument supplied for foreach() in /admin/vba_cmps_admin.php on line 764

Warning: Invalid argument supplied for foreach() in /admin/vba_cmps_admin.php on line 764

Warning: Invalid argument supplied for foreach() in /admin/vba_cmps_admin.php on line 764

Brian
06-17-2005, 09:27 AM
1). Wouldn't have anything to do with the CMPS unless you have the CMPS integrated with your who's online page.

2). Admin CP => Style Manager => {select style} => All Style Options => Text Editor Controls Folder

3). Try editing one of your pages and save it so that the options with that page will be updated.

Our Sponsors
 

axecity
06-17-2005, 10:49 AM
1). Wouldn't have anything to do with the CMPS unless you have the CMPS integrated with your who's online page.

2). Admin CP => Style Manager => {select style} => All Style Options => Text Editor Controls Folder

3). Try editing one of your pages and save it so that the options with that page will be updated.

1) ok, but it is odd that it just quit working after the upgrade
2) fixed
3) did not help. I tried editing and saving both modules and pages. Still the same error from admincp when I try to edit an existing module. This error only occurs the "Edit Module" page for the pre-packaged modules. None of the modules I created myself show this error message.

Brian
06-17-2005, 01:15 PM
Strange... Would you mind submitting a support ticket so I can have a look?

Our Sponsors
 

axecity
06-17-2005, 01:29 PM
I also noticed that when I load the quickmod module (it comes up with those errors) and when I save it I get another similar error.

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

See the attached.

LEAD_WEIGHT
06-17-2005, 01:52 PM
I also noticed that when I load the quickmod module (it comes up with those errors) and when I save it I get another similar error.

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

See the attached.

This is the fix for that error.
http://www.vbadvanced.com/forum/showthread.php?t=8513&highlight=Line+634

axecity
06-22-2005, 02:57 AM
You guys are the best. I really appreciate all you have done to help me get my errors out of the way. Everything is working great now.