vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Cannot access widgets page, please help! (https://vborg.vbsupport.ru/showthread.php?t=269297)

sick adam 08-29-2011 02:10 AM

Cannot access widgets page, please help!
 
So long story short, I tried adding a new CMS Slider Widget, and now the widget page is all screwy. My widgets are still showing on my site, but I cannot modify them at all. This is what the page looks like this:

https://vborg.vbsupport.ru/external/2011/08/7.jpg


Trying to get widgettype class from invalid widgettype '23' on line 270 in /home/content/05/8081105/html/forum/packages/vbcms/types.php
#0 /home/content/05/8081105/html/forum/packages/vbcms/collection/widget.php(230): vBCms_Types->getWidgetTypeClass('23')
#1 /home/content/05/8081105/html/forum/vb/collection.php(448): vBCms_Collection_Widget->createItem(Array, 1)
#2 /home/content/05/8081105/html/forum/packages/vbcms/collection/widget.php(162): vB_Collection->applyLoad(Resource id #34, 1)
#3 /home/content/05/8081105/html/forum/vb/model.php(348): vBCms_Collection_Widget->applyLoad(Resource id #34, 1)
#4 /home/content/05/8081105/html/forum/vb/model.php(302): vB_Model->loadInfo()
#5 /home/content/05/8081105/html/forum/vb/collection.php(408): vB_Model->Load(false)
#6 /home/content/05/8081105/html/forum/vb/collection.php(843): vB_Collection->Load()
#7 /home/content/05/8081105/html/forum/admincp/cms_admin.php(1834): vB_Collection->valid()
#8 {main}


Fatal error: Trying to get widgettype class from invalid widgettype '23' on line 270 in [path]/packages/vbcms/types.php in [path]/vb/vb.php on line 287
#0 vb_error_handler(256, Trying to get widgettype class from invalid widgettype '23' on line 270 in /home/content/05/8081105/html/forum/packages/vbcms/types.php , /home/content/05/8081105/html/forum/vb/vb.php, 287, Array ([exception] => vB_Exception_Warning Object ([] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => Trying to get widgettype class from invalid widgettype '23',[] => ,[] => 0,[] => /home/content/05/8081105/html/forum/packages/vbcms/types.php,[] => 270,[] => Array ([0] => Array ([file] => /home/content/05/8081105/html/forum/packages/vbcms/collection/widget.php,[line] => 230,[function] => getWidgetTypeClass,[class] => vBCms_Types,[type] => ->,[args] => Array ([0] => 23)),[1] => Array ([file] => /home/content/05/8081105/html/forum/vb/collection.php,[line] => 448,[function] => createItem,[class] => vBCms_Collection_Widget,[type] => ->,[args] => Array ([0] => Array ([itemid] => 57,[title] => CMS SLIDER,[description] => ,[widgettypeid] => 23),[1] => 1)),[2] => Array ([file] => /home/content/05/8081105/html/forum/packages/vbcms/collection/widget.php,[line] => 162,[function] => applyLoad,[class] => vB_Collection,[type] => ->,[args] => Array ([0] => Resource id #34,[1] => 1)),[3] => Array ([file] => /home/content/05/8081105/html/forum/vb/model.php,[line] => 348,[function] => applyLoad,[class] => vBCms_Collection_Widget,[type] => ->,[args] => Array ([0] => Resource id #34,[1] => 1)),[4] => Array ([file] => /home/content/05/8081105/html/forum/vb/model.php,[line] => 302,[function] => loadInfo,[class] => vB_Model,[type] => ->,[args] => Array ()),[5] => Array ([file] => /home/content/05/8081105/html/forum/vb/collection.php,[line] => 408,[function] => Load,[class] => vB_Model,[type] => ->,[args] => Array ([0] => )),[6] => Array ([file] => /home/content/05/8081105/html/forum/vb/collection.php,[line] => 843,[function] => Load,[class] => vB_Collection,[type] => ->,[args] => Array ()),[7] => Array ([file] => /home/content/05/8081105/html/forum/admincp/cms_admin.php,[line] => 1834,[function] => valid,[class] => vB_Collection,[type] => ->,[args] => Array ()))),[code] => 256)) #1 trigger_error(Trying to get widgettype class from invalid widgettype '23' on line 270 in /home/content/05/8081105/html/forum/packages/vbcms/types.php , 256) called at [/home/content/05/8081105/html/forum/vb/vb.php:287] #2 vB::handleException(vB_Exception_Warning Object ([] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => Trying to get widgettype class from invalid widgettype '23',[] => ,[] => 0,[] => /home/content/05/8081105/html/forum/packages/vbcms/types.php,[] => 270,[] => Array ([0] => Array ([file] => /home/content/05/8081105/html/forum/packages/vbcms/collection/widget.php,[line] => 230,[function] => getWidgetTypeClass,[class] => vBCms_Types,[type] => ->,[args] => Array ([0] => 23)),[1] => Array ([file] => /home/content/05/8081105/html/forum/vb/collection.php,[line] => 448,[function] => createItem,[class] => vBCms_Collection_Widget,[type] => ->,[args] => Array ([0] => Array ([itemid] => 57,[title] => CMS SLIDER,[description] => ,[widgettypeid] => 23),[1] => 1)),[2] => Array ([file] => /home/content/05/8081105/html/forum/packages/vbcms/collection/widget.php,[line] => 162,[function] => applyLoad,[class] => vB_Collection,[type] => ->,[args] => Array ([0] => Resource id #34,[1] => 1)),[3] => Array ([file] => /home/content/05/8081105/html/forum/vb/model.php,[line] => 348,[function] => applyLoad,[class] => vBCms_Collection_Widget,[type] => ->,[args] => Array ([0] => Resource id #34,[1] => 1)),[4] => Array ([file] => /home/content/05/8081105/html/forum/vb/model.php,[line] => 302,[function] => loadInfo,[class] => vB_Model,[type] => ->,[args] => Array ()),[5] => Array ([file] => /home/content/05/8081105/html/forum/vb/collection.php,[line] => 408,[function] => Load,[class] => vB_Model,[type] => ->,[args] => Array ([0] => )),[6] => Array ([file] => /home/content/05/8081105/html/forum/vb/collection.php,[line] => 843,[function] => Load,[class] => vB_Collection,[type] => ->,[args] => Array ()),[7] => Array ([file] => /home/content/05/8081105/html/forum/admincp/cms_admin.php,[line] => 1834,[function] => valid,[class] => vB_Collection,[type] => ->,[args] => Array ()))))

all help on this will be VERY thankful for, thank you in advance!

--------------- Added [DATE]1314588527[/DATE] at [TIME]1314588527[/TIME] ---------------

If it helps, I'm pretty sure its a widget I created that's causing the mess, but I cannot get INTO the widgets page to delete it! When I put the widget on the page, the page doesn't load, when I take it off, works fine. Hope this helps!

Juggernaut 08-29-2011 03:14 AM

I had the same problem with my widget manager a while back after uninstalling a top poster widget type, here is what I did to fix my problem, I am not running the CMS in my website, so I can't recall the exact steps I took, but this is a post I made at that time. It seems to be a problem with the CMS not uninstalling the widgets completely.

https://vborg.vbsupport.ru/showpost....9&postcount=48

Badshah93 08-29-2011 01:29 PM

Run This sql query in Maintenance -> execute sql query

Code:

DELETE FROM cms_widget where widgettypeid = 23
This problem was there in version earlier than 2.1.

You got this problem,

because you removed the product before deleting all content slider widgets from VBulletin CMS -> Widgets. (i clearly mention this in the thread.)

sick adam 08-29-2011 08:42 PM

You sir, are AMAZING! Fixed, I will listen to everything you say from here on in :)


All times are GMT. The time now is 04:18 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02594 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete