vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   Infamous An internal error has occurred and the module cannot be displayed. (https://vborg.vbsupport.ru/showthread.php?t=321976)

cannaculture 03-02-2016 03:53 AM

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.

Replicant 03-02-2016 12:24 PM

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.

Lynne 03-03-2016 01:13 AM

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
}


cannaculture 03-04-2016 02:28 AM

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}
        )

)


Lynne 03-05-2016 10:09 PM

For the first error, did you do what the debug mode message said to do and did it fix that issue?

cannaculture 03-08-2016 09:56 PM

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.

Replicant 03-09-2016 11:54 AM

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.

Lynne 03-09-2016 04:17 PM

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); 



All times are GMT. The time now is 05:10 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.01192 seconds
  • Memory Usage 1,747KB
  • 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
  • (7)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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