vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Admin can not read PMs (https://vborg.vbsupport.ru/showthread.php?t=208807)

euge 03-19-2009 03:02 PM

Admin can not read PMs
 
Hi all!

After upgrade on official licensed "vBulletin 3.8.1 Patch Level 1" forum Administrator can not read PMs at all
Only empty web-page is shown while admin opens any private message (for example, with help of link http://***/forum/private.php?do=showpm&pmid=51230)

Fatal PHP error appears in log:
[Thu Mar 19 17:53:47 2009] [error] PHP Fatal error: Call to a member function query_first() on a non-object in /***/www/forum/includes/functions_newpost.php(1881) : eval()'d code on line 14

All forum users do not have troubles with PMs.
This problem affects only Administrator...

Any ideas?

Lynne 03-19-2009 03:18 PM

Line 1881 of functions_newpost.php is:
PHP Code:

($hook vBulletinHook::fetch_hook('private_newpm_reply')) ? eval($hook) : false

So,your error is being caused by a modification using the private_newpm_reply hook location. If you know which modification it is, just turn it off. Or, turn off the modifications one-by-one until you find the culprit. Then, go find the modification thread and see if a fix has been posted for this issue.

kenji4861 03-27-2009 05:16 AM

Just in case others that reach this thread. I had the same issue and tried disabling one mod at a time and found the culprit to be Advanced Warning System v1.0.4

Let me check if there's an update for this that will fix this issue.


All times are GMT. The time now is 11:34 AM.

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.01762 seconds
  • Memory Usage 1,711KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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