Announcement

Collapse
No announcement yet.

Widget/CMS Crashed Randomly - Had to clear CMS Cache?

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • [CMS] Widget/CMS Crashed Randomly - Had to clear CMS Cache?

    Wow I don't know WTF happened but if this is going to be a semi-regular issue that we experience with vB4 this is not going to be fun having vb4.

    I was getting an error about Widget cache keys and it would timeout my MySQL server. The database error messages that I was getting e-mailed to me were 1mb in size and crashes Thunderbird if I try to open it. If I try to open it in webmail, it completely effs my browser's output to:

    Database error in vBulletin 4.0.1:

    Invalid SQL:

    REPLACE INTO cache
    SET cacheid = 'widget.beb52656a86384c715e10a2176e71dcd',
    expires = 1265079118,
    created = 1265078818,
    locktime = 0,
    data = "O:17:\"vB_Search_Results\":10:{s:23:\"\0vB_Search_Results\0user\";O:21:\"vB_Legacy_Curren tUser\":5:{s:14:\"\0*\0attachments\";N;s:16:\"\0*\0hidden_forums\";N;s:22:\"\0*\0unsearcha ble_forums\";N;s:11:\"\0*\0registry\";O:11:\"vB_Registry\":103:{s:9:\"datastore\";O:12:\"v B_Datastore\":5:{s:12:\"defaultitems\";a:13:{i:0;s:7:\"options\";i:1;s:9:\"bitfields\";i:2 ;s:15:\"attachmentcache\";i:3;s:10:\"forumcache\";i:4;s:14:\"usergroupcache\";i:5;s:10:\"s tylecache\";i:6;s:13:\"languagecache\";i:7;s:8:\"products\";i:8;s:10:\"pluginlist\";i:9;s: 4:\"cron\";i:10;s:12:\"profilefield\";i:11;s:9:\"loadcache\";i:12;s:11:\"noticecache\";}s: 8:\"registry\";R:6;s:8:\"dbobject\";O:11:\"vB_Database\":18:{s:9:\"functions\";a:21:{s:7:\ "connect\";s:13:\"mysql_connect\";s:8:\"pconnect\";s:14:\"mysql_pconnect\";s:9:\"select_db \";s:15:\"mysql_select_db\";s:5:\"query\";s:11:\"mysql_query\";s:16:\"query_unbuffered\";s :22:\"mysql_unbuffered_query\";s:9:\"fetch_row\";s:15:\"mysql_fetch_row\";s:11:\"fetch_arr ay\";s:17:\"mysql_fetch_array\";s:11:\"fetch_field\";s:17:\"mysql_fetch_field\";s:11:\"fre e_result\";s:17:\"mysql_free_result\";s:9:\"data_seek\";s:15:\"mysql_data_seek\";s:5:\"err or\";s:11:\"mysql_error\";s:5:\"errno\";s:11:\"mysql_errno\";s:13:\"affected_rows\";s:19:\ "mysql_affected_rows\";s:8:\"num_rows\";s:14:\"mysql_num_rows\";s:10:\"num_fields\";s:16:\ "mysql_num_fields\";s:10:\"field_name\";s:16:\"mysql_field_name\";s:9:\"insert_id\";s:15:\ "mysql_insert_id\";s:13:\"escape_string\";s:19:\"mysql_escape_string\";s:18:\"real_escape_ string\";s:24:\"mysql_real_escape_string\";s:5:\"close\";s:11:\"mysql_close\";s:15:\"clien t_encoding\";s:21:\"mysql_client_encoding\";}s:8:\"registry\";R:6;s:10:\"fetchtypes\";a:3: {i:2;i:2;i:1;i:1;i:0;i:3;}s:7:\"appname\";s:9:\"vBulletin\";s:12:\"appshortname\";s:9:\"vB ulletin\";s:8:\"database\";s:17:\"mifbody_vbulletin\";s:17:\"connection_master\";i:0;s:16: \"connection_slave\";R:52;s:17:\"connection_recent\";R:52;s:11:\"multiserver\";b:0;s:15:\" shutdownqueries\";a:1:{s:9:\"lastvisit\";s:85:\"\n UPDATE user\n SET lastactivity = 1265078818\n WHERE userid = 193\n \";}s:3:\"sql\";s:0:\"\";s:11:\"reporterror\";b:1;s:5:\"error\";s:0:\"\";s:5:\"errno\";i:0 ;s:9:\"maxpacket\";i:0;s:6:\"locked\";b:0;s:10:\"querycount\";i:67;}s:6:\"prefix\";N;s:15: \"checked_options\";b:1;}s:5:\"input\";O:16:\"vB_Input_Cleaner\":11:{s:9:\"shortvars\";a:1 2:{s:1:\"f\";s:7:\"forumid\";s:1:\"t\";s:8:\"threadid\";s:1:\"p\";s:6:\"postid\";s:1:\"u\" ;s:6:\"userid\";s:1:\"a\";s:14:\"announcementid\";s:1:\"c\";s:10:\"calendarid\";s:1:\"e\"; s:7:\"eventid\";s:1:\"q\";s:5:\"query\";s:2:\"pp\";s:7:\"perpage\";s:4:\"page\";s:10:\"pag enumber\";s:4:\"sort\";s:9:\"sortfield\";s:5:\"order\";s:9:\"sortorder\";}s:18:\"superglob al_lookup\";a:7:{s:1:\"g\";s:4:\"_GET\";s:1:\"p\";s:5:\"_POST\";s:1:\"r\";s:8:\"_REQUEST\" ;s:1:\"c\";s:7:\"_COOKIE\";s:1:\"s\";s:7:\"_SERVER\";s:1:\"e\";s:4:\"_ENV\";s:1:\"f\";s:6: \"_FILES\";}s:10:\"scriptpath\";s:0:\"\";s:9:\"reloadurl\";s:0:\"\";s:7:\"wolpath\";s:0:\" \";s:3:\"url\";s:0:\"\";s:9:\"ipaddress\";s:0:\"\";s:6:\"alt_ip\";s:0:\"\";s:8:\"registry\ ";r:6;s:12:\"cleaned_vars\";a:19:{s:18:\"vbulletin_collapse\";i:7;s:18:\"mifbody_referreri d\";i:3;s:14:\"mifbody_userid\";i:3;s:16:\"mifbody_password\";i:7;s:17:\"mifbody_lastvisit \";i:3;s:20:\"mifbody_lastactivity\";i:3;s:20:\"mifbody_threadedmode\";i:9;s:19:\"mifbody_ sessionhash\";i:9;s:19:\"mifbody_userstyleid\";i:3;s:18:\"mifbody_languageid\";i:3;s:1:\"s \";i:9;s:7:\"styleid\";i:2;s:6:\"langid\";i:2;s:10:\"referrerid\";i:3;s:1:\"a\";i:7;s:4:\" nojs\";i:1;s:4:\"ajax\";i:1;s:10:\"pagenumber\";i:3;s:16:\"mifbody_cms_rate\";i:7;}s:12:\" friendly_uri\";s:0:\"\";}s:2:\"db\";R:22;s:8:\"userinfo\";a:198:{s:6:\"userid\";s:3:\"193\ ";s:4:\"temp\";N;s:6:\"field2\";s:14:\"Macomb Twp, MI\";s:6:\"field3\";s:34:\"Camaros, Firebirds, computers, etc\";s:6:\"field4\";s:20:\"Service Desk Analyst\";s:6:\"field5\";s:5:\"48042\";s:6:\"field7\";s:13:\"Brian Meissen\";s:6:\"field8\";s:37:\"1994 Camaro "Red Alert" LT1\";s:7:\"field66\";s:7:\"meissen\";s:7:\"field67\";s:8:\"38501391\";s:7:\"field68\";s:7 :\"mifbody\";s:7:\"field69\";s:0:\"\";s:10:\"subfolders\";N;s:9:\"pmfolders\";s:21:\"a:1:{ i:1;s:4:\"Save\";}\";s:9:\"buddylist\";s:163:\"254 305 386 395 453 470 757 789 806 954 981 1366 1515 1619 1653 1743 1749 1771 1855 1889 1895 1918 1990 1993 2053 2127 2135 2189

    (I had to delete it because it was just all gibberish and was past the size limit)
    WTF???

    Thankfully clearing CMS cache fixed it but this is completely unacceptable. What causes this?

  • #2
    Can you copy the bottom section of the error where it gives the error code etc and post it below please
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

    Comment


    • #3
      The data portion is actually so long that it times out the MySQL server. The error message is MySQL server has gone away. It seems like the Widget ran amock and tried to insert the entire HTML into the data and that's why it locks up.

      Comment


      • #4
        I had this with the latest forums post widget, appeared from nowhere and locked up browser when trying to view the error, I was told my host needed to increase the max php packet, which seemed a bit strange as it had worked previously then suddenly appeared, clearing CMS cache never worked for us though

        Comment


        • #5
          I just had this happen again and clearing my cache fixed the problem. I'll try disabling the Latest Forums Post Widget and see if that fixes it.

          Comment


          • #6
            Yeah removing it fixed it for us, but a shame we can't use it, was strange because it worked fine in IE, only crashed in Firefox and Chrome

            Comment


            • #7
              4.02 should fix this.
              Please- I'm not tech support. Don't send your problem reports to me unless I've asked you to.

              Comment


              • #8
                Happy to hear that. In the meantime, this has happened twice in 12 hours. If removing the latest posts widget does not fix it, can you provide the steps to replicate what the fix is in 4.0.2?

                Comment


                • #9
                  The fix is in the caching, so it's not a simple fix. Sorry. If that doesn't fix it, PM me and I'll work with you.
                  Please- I'm not tech support. Don't send your problem reports to me unless I've asked you to.

                  Comment

                  widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                  Working...
                  X
                  😀
                  🥰
                  🤢
                  😎
                  😡
                  👍
                  👎