Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-02-2016, 03:53 AM
cannaculture cannaculture is offline
 
Join Date: Jun 2012
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Infamous An internal error has occurred and the module cannot be displayed.

We are getting the following error when trying to access certain elements of Vb5 version 5.2

"An internal error has occurred and the module cannot be displayed."

It is only happening with a certain admin user it seems.
Reply With Quote
  #2  
Old 03-02-2016, 12:24 PM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try clearing the system cache in the admincp. There is also a tool for rebuilding user profiles in the maintenance section. You can try that too. I had an admin user that couldn't see his message center. It turned out that he was subscribed to a social group that had botched permissions.
Reply With Quote
  #3  
Old 03-03-2016, 01:13 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can also try turning on debug mode and seeing if a more specific error shows up.

To enable debug mode edit the /config.php file and change:

Code:
$config['debug'] = false;
To:
Code:
$config['debug'] = true;
Then edit the /core/includes/config.php file and change:

Code:
// $config['Misc']['debug'] = true;
To:
Code:
$config['Misc']['debug'] = true;
To set that up for only your IP address (replace xxx.xxx.xxx.xxx with your IP), put these lines around the code:

Code:
if($_SERVER['REMOTE_ADDR'] == "xxx.xxx.xxx.xxx") {
CODE HERE
}
Reply With Quote
  #4  
Old 03-04-2016, 02:28 AM
cannaculture cannaculture is offline
 
Join Date: Jun 2012
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for the information. I put the forum in debug mode and on the front page the first error i get is

An internal error has occurred and the module cannot be displayed. Template: widget_statistics Controller: site Method: getSiteStatistics Arguments: Array ( ) Errors:

Code:
Array
(
    [0] => Array
        (
            [0] => Unexpected error, post count is negative!
If you do not want to see this exception, turn debug mode off.
This issue is usually fixed by running AdminCP > Maintenance > General Update Tools > "Rebuild Topic Information", followed by "Rebuild Forum Information", then clearing the system cache (order matters).
Please see VBV-14784 for more details. If a specific action has triggered this exception (ex. deleting a node), please create a JIRA with the details.
        )

    [1] => Array
        (
            [0] => exception_trace
            [1] => ## /home/admin888/public_html/core/vb/api/node.php(4008) Exception Thrown 
#0 /home/admin888/public_html/core/vb/api/node.php(3966): vB_Api_Node->addChannelTotals(Array, Array, '15')
#1 /home/admin888/public_html/core/vb/api/node.php(3471): vB_Api_Node->addChannelTotals(Array, Array, '2')
#2 /home/admin888/public_html/core/vb/api/node.php(4486): vB_Api_Node->fetchChannelNodeTree('2', 3)
#3 /home/admin888/public_html/core/vb/library/site.php(712): vB_Api_Node->getChannelStatistics('2')
#4 /home/admin888/public_html/core/vb/api/site.php(118): vB_Library_Site->getSiteStatistics()
#5 [internal function]: vB_Api_Site->getSiteStatistics()
#6 /home/admin888/public_html/core/vb/api/wrapper.php(129): call_user_func_array(Array, Array)
#7 [internal function]: vB_Api_Wrapper->__call('getSiteStatisti...', Array)
#8 [internal function]: vB_Api_Wrapper->getSiteStatistics()
#9 /home/admin888/public_html/includes/api/interface/collapsed.php(189): call_user_func_array(Array, Array)
#10 /home/admin888/public_html/includes/vb5/template/runtime.php(506): Api_Interface_Collapsed->callApi('site', 'getSiteStatisti...', Array, false, true)
#11 /home/admin888/public_html/includes/vb5/template.php(323) : eval()'d code(33): vB5_Template_Runtime::parseData('site', 'getSiteStatisti...')
#12 /home/admin888/public_html/includes/vb5/template.php(323): eval()
#13 /home/admin888/public_html/includes/vb5/template/cache.php(134): vB5_Template->render(false)
#14 /home/admin888/public_html/includes/vb5/template.php(345): vB5_Template_Cache->replacePlaceholders('\r\n\t<!-- *** STA...')
#15 /home/admin888/public_html/includes/vb5/template/cache.php(134): vB5_Template->render(false)
#16 /home/admin888/public_html/includes/vb5/template.php(345): vB5_Template_Cache->replacePlaceholders('\r\n\t\t<meta name=...')
#17 /home/admin888/public_html/includes/vb5/frontend/controller/page.php(245): vB5_Template->render()
#18 [internal function]: vB5_Frontend_Controller_Page->index(1, '1', '1', '1', 1, 'Home Descriptio...', 0, '', 'Home', 0)
#19 /home/admin888/public_html/index.php(86): call_user_func_array(Array, Array)
#20 {main}
        )

)
The second error i get in private messaging when i click Inbox and then click on a message to go to that message

An internal error has occurred and the module cannot be displayed. Template: widget_privatemessage_display => privatemessage_view => privatemessage_newpm => contententry => humanverify => humanverify_question Controller: hv Method: fetchHvQuestion Arguments: Array ( [0] => aebab6748a2769f63a9b5ac8d35ad0a9 ) Errors:

Code:
Array
(
    [0] => Array
        (
            [0] => invalid_hash
        )

    [1] => Array
        (
            [0] => exception_trace
            [1] => ## /home/admin888/public_html/core/vb/api/hv.php(216) Exception Thrown 
#0 [internal function]: vB_Api_Hv->fetchHvQuestion('aebab6748a2769f...')
#1 /home/admin888/public_html/core/vb/api/wrapper.php(129): call_user_func_array(Array, Array)
#2 [internal function]: vB_Api_Wrapper->__call('fetchHvQuestion', Array)
#3 [internal function]: vB_Api_Wrapper->fetchHvQuestion('aebab6748a2769f...')
#4 /home/admin888/public_html/includes/api/interface/collapsed.php(189): call_user_func_array(Array, Array)
#5 /home/admin888/public_html/includes/vb5/template/runtime.php(506): Api_Interface_Collapsed->callApi('hv', 'fetchHvQuestion', Array, false, true)
#6 /home/admin888/public_html/includes/vb5/template.php(323) : eval()'d code(5): vB5_Template_Runtime::parseData('hv', 'fetchHvQuestion', 'aebab6748a2769f...')
#7 /home/admin888/public_html/includes/vb5/template.php(323): eval()
#8 /home/admin888/public_html/includes/vb5/template/cache.php(134): vB5_Template->render(false)
#9 /home/admin888/public_html/includes/vb5/template.php(345): vB5_Template_Cache->replacePlaceholders('\r\n\r\n\r\n\t\r\n\t\r\n\t\t\r...')
#10 /home/admin888/public_html/includes/vb5/template/cache.php(134): vB5_Template->render(false)
#11 /home/admin888/public_html/includes/vb5/template.php(345): vB5_Template_Cache->replacePlaceholders('\r\n\r\n\r\n\r\n\r\n\r\n\t\r\n...')
#12 /home/admin888/public_html/includes/vb5/template/cache.php(134): vB5_Template->render(false)
#13 /home/admin888/public_html/includes/vb5/template.php(345): vB5_Template_Cache->replacePlaceholders('\r\n\t\r\n\t\r\n\r\n\r\n\r\n\r...')
#14 /home/admin888/public_html/includes/vb5/template/cache.php(134): vB5_Template->render(false)
#15 /home/admin888/public_html/includes/vb5/template.php(345): vB5_Template_Cache->replacePlaceholders('\r\n\r\n\r\n\r\n\r\n\r\n\r\n<...')
#16 /home/admin888/public_html/includes/vb5/template/cache.php(134): vB5_Template->render(false)
#17 /home/admin888/public_html/includes/vb5/template.php(345): vB5_Template_Cache->replacePlaceholders('\r\n\t\r\n\r\n\r\n\t\r\n\t\r\n...')
#18 /home/admin888/public_html/includes/vb5/template/cache.php(134): vB5_Template->render(false)
#19 /home/admin888/public_html/includes/vb5/template.php(345): vB5_Template_Cache->replacePlaceholders('\r\n\t<!-- *** STA...')
#20 /home/admin888/public_html/includes/vb5/template/cache.php(134): vB5_Template->render(false)
#21 /home/admin888/public_html/includes/vb5/template.php(345): vB5_Template_Cache->replacePlaceholders('\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t...')
#22 /home/admin888/public_html/includes/vb5/frontend/controller/page.php(245): vB5_Template->render()
#23 [internal function]: vB5_Frontend_Controller_Page->index(13, '13', 'privatemessage_...', 'view', '50449')
#24 /home/admin888/public_html/index.php(86): call_user_func_array(Array, Array)
#25 {main}
        )

)
Reply With Quote
  #5  
Old 03-05-2016, 10:09 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For the first error, did you do what the debug mode message said to do and did it fix that issue?
Reply With Quote
  #6  
Old 03-08-2016, 09:56 PM
cannaculture cannaculture is offline
 
Join Date: Jun 2012
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Lynne thanks for replying. I rebuilt the Topics and rebuilt the forum information and clear the system cache and the error still shows. It shows in 2 spots under debug mode. Once on the front page and once in the private messages when you click on the private message in the inbox to open it. When debug is not turned on, the error only shows in private messaging. Also it is only happening with one admin user. Also i have some mods installed but for some reason i am having a hard time removing them. I remove them and they keep reappearing in the installed mod list.
Reply With Quote
  #7  
Old 03-09-2016, 11:54 AM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In reference to the mods,
If the mods are installed in the core/packages directory, they will auto install. You will need to remove them completely from that directory. Make sure you do a db backup before installing or uninstalling any mods.
Reply With Quote
  #8  
Old 03-09-2016, 04:17 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can also disable the mods via the config.php files.
Note: To temporarily disable the plugin system, edit config.php and /core/includes/config.php and add this line right under <?php

PHP Code:
define('DISABLE_HOOKS'true); 
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:19 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05161 seconds
  • Memory Usage 2,242KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (7)bbcode_code
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete