Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
  #1  
Old 12-07-2011, 05:04 PM
diggity1 diggity1 is offline
 
Join Date: Mar 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 12-07-2011, 05:16 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like that line number is the private_messagelist_filter hook location, maybe that will help you narrow down the problem.
Reply With Quote
  #3  
Old 12-07-2011, 05:42 PM
diggity1 diggity1 is offline
 
Join Date: Mar 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 12-07-2011, 05:45 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by diggity1 View Post
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
Reply With Quote
  #5  
Old 12-07-2011, 06:29 PM
diggity1 diggity1 is offline
 
Join Date: Mar 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #6  
Old 12-09-2011, 12:45 PM
diggity1 diggity1 is offline
 
Join Date: Mar 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 12-09-2011, 01:29 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 12-10-2011, 02:43 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by diggity1 View Post
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
Reply With Quote
  #9  
Old 12-10-2011, 08:03 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use that plugin and have never seen that error. It works fine for me.
Reply With Quote
Благодарность от:
HMBeaty
  #10  
Old 12-10-2011, 08:05 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
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....
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:58 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.05625 seconds
  • Memory Usage 2,246KB
  • 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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete