vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   private.php error (https://vborg.vbsupport.ru/showthread.php?t=275173)

diggity1 12-07-2011 05:04 PM

private.php error
 
when accessing the inbox, the PMs display but everyone gets this message across the top of the page

Parse error: syntax error, unexpected $end in private.php(2021) : eval()'d code on line 2

i disabled all plug ins under settings plugin/hooks and the message goes away.
i disabled each plug in one by one to see which was the problem and the message doesn't go away.
all i have installed is skimlinks, vboptimize lite and vbookie
all template files are original with the exception of forumdisplay which we have the browsing users at the top. thats about it.

i just upgraded to 4.18 but this has been happening ever since i moved from 3.5 to v4

Any help with this nuisance would be appreciated.

kh99 12-07-2011 05:16 PM

It looks like that line number is the private_messagelist_filter hook location, maybe that will help you narrow down the problem.

diggity1 12-07-2011 05:42 PM

not sure why that would be called with any of my plugins and also why disabling them one by one did nothing but disabling plugins/hooks globally through options did.

I thought maybe it was a dimension or oversized font issue as our primary skin has some enlarged font settings but even the default vbull4 skin throws back the same error.

HMBeaty 12-07-2011 05:45 PM

Quote:

Originally Posted by diggity1 (Post 2275613)
not sure why that would be called with any of my plugins and also why disabling them one by one did nothing but disabling plugins/hooks globally through options did.

You may have a standalone plugin using this hook location. Go to:

AdminCP > Plugins & Products > Plugin Manager

and see if it's there

diggity1 12-07-2011 06:29 PM

jesus christ, i cant believe it was that easy! obviously we aren't into modding in our old school forum. looks like vboptimize had something in there to speed up messages. guess my version is old. thanks so much!

diggity1 12-09-2011 12:45 PM

Actually, I misread the plugin.
Apparently it is a vbulletin one.
Any clue why it wouldn't be working?
The file and template is untouched.

This is the plugin.
Increase Private Message List Speed private_messagelist_filter

kh99 12-09-2011 01:29 PM

If the plugin list says it's part if vbulletin, that just means that it wasn't part of a product. If you write your own plugin or import a single plugin xml, it can end up under the vbulletin product section in the Plugin Manager.

HMBeaty 12-10-2011 02:43 AM

Quote:

Originally Posted by diggity1 (Post 2276175)
Actually, I misread the plugin.
Apparently it is a vbulletin one.
Any clue why it wouldn't be working?
The file and template is untouched.

This is the plugin.
Increase Private Message List Speed private_messagelist_filter

I'm going to take a wild guess and say it's this one?

http://articles.digitalpoint.com/con...ze-vBulletin-4

Boofo 12-10-2011 08:03 AM

I use that plugin and have never seen that error. It works fine for me.

HMBeaty 12-10-2011 08:05 AM

Quote:

Originally Posted by Boofo (Post 2276458)
I use that plugin and have never seen that error. It works fine for me.

Same here, which has me curious as to the actual code in the plugin the OP is having problems with....


All times are GMT. The time now is 02:19 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.01492 seconds
  • Memory Usage 1,730KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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