Thread: Miscellaneous Hacks - Thread Image grabber
View Single Post
  #4  
Old 04-11-2013, 08:42 PM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Woooo just installed and loads of errors:

Quote:
#0 /home/*****/public_html/******/includes/adminfunctions_template.php(2842): vB_TemplateParser->validate(Array)
#1 /home/******/public_html/******/includes/adminfunctions_plugin.php(545): compile_template('{vb:stylevar ht...')
#2 /home/******/public_html/******/admincp/plugin.php(1714): install_product(' #3 {main}


Fatal error: Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1035 in [path]/includes/class_template_parser.php in [path]/vb/vb.php on line 284
#0 vb_error_handler(256, Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1035 in /home/******/public_html/******/includes/class_template_parser.php , /home/******/public_html/******/vb/vb.php, 284, Array ([exception] => Exception Object ([] => Unable to find a class to validate: vB_TemplateParser_Curlycssfile,[] => ,[] => 0,[] => /home/******/public_html/******/includes/class_template_parser.php,[] => 1035,[] => Array ([0] => Array ([file] => /home/******/public_html/******/includes/adminfunctions_template.php,[line] => 2842,[function] => validate,[class] => vB_TemplateParser,[type] => ->,[args] => Array ([0] => Array ())),[1] => Array ([file] => /home/******/public_html/******/includes/adminfunctions_plugin.php,[line] => 545,[function] => compile_template,[args] => Array ([0] => {vb:stylevar htmldoctype} xmlns:fb="http://www.facebook.com/2008/fbml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}"> {vb:raw headinclude} {vb:cssfile faq.css} {vb:raw headinclude_bottom} {vb:raw header} {vb:raw navbar}

{vb:raw mkio_mode}

{vb:raw mkio_mode_description}


{vb:rawphrase attached_thumbnails} {vb:rawphrase attached_files}{vb:raw mkio_threadImages}
{vb:raw footer} )),[2] => Array ([file] => /home/******/public_html/******/admincp/plugin.php,[line] => 1714,[function] => install_product,[args] => Array ([0] => Pulls all the images attached to a thread and displays them in one place 1.0 xmlns:fb="http://www.facebook.com/2008/fbml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}"> {vb:raw headinclude} {vb:cssfile faq.css} {vb:raw headinclude_bottom} {vb:raw header} {vb:raw navbar}

{vb:raw mkio_mode}

{vb:raw mkio_mode_description}


{vb:rawphrase attached_thumbnails} {vb:rawphrase attached_files}{vb:raw mkio_threadImages}
{vb:raw footer} ]]> misc_start db->escape_string($_REQUEST['thread']); if(!$threadId){ standard_error("Missing ThreadID"); } //------------------------- $qh = $vbulletin->db->query_read(" SELECT p.postid,p.threadid,a.contentid,a.attachmentid,a.f iledataid,a.filename,fd.extension,fd.dateline FROM ".TABLE_PREFIX."post AS p LEFT JOIN ".TABLE_PREFIX."attachment AS a ON (p.postid=a.contentid) LEFT JOIN ".TABLE_PREFIX."filedata as fd ON a.filedataid=fd.filedataid WHERE p.threadid='".$threadId."' AND fd.extension IN ('png', 'jpg', 'jpeg', 'gif', 'bmp')"); while($row = $vbulletin->db->fetch_array($qh)) { $html .= "options['bburl'].'/attachment.php?attachmentid='.$row['attachmentid'].'&d='.$row['dateline']."\">options['bburl'].'/attachment.php?attachmentid='.$row['attachmentid'].'&thumb=1&d='.$row['dateline']."\" alt=\"".$row['filename']."\" title=\"".$row['filename']."\"> "; } //------------------------- $navbits = construct_navbits(array('' => "Thread Images")); $navbar = render_navbar_template($navbits); $templater = vB_Template::Create('mkio_threadimg'); $templater->register_page_templates(); $templater->register('navbar', $navbar); $templater->register('mkio_mode', "View Thread Images"); $templater->register('mkio_mode_description', "View all images attached to a given thread"); $templater->register('mkio_threadImages', $html); print_output($templater->render()); }]]> showthread_start Display all images';]]> ,[1] => 0)))),[code] => 256)) called at [(null):0] #1 trigger_error(Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1035 in /home/******/public_html/******/includes/class_template_parser.php , 256) called at [/home/******/public_html/******/vb/vb.php:284] #2 vB::handleException(Exception Object ([] => Unable to find a class to validate: vB_TemplateParser_Curlycssfile,[] => ,[] => 0,[] => /home/******/public_html/******/includes/class_template_parser.php,[] => 1035,[] => Array ([0] => Array ([file] => /home/******/public_html/******/includes/adminfunctions_template.php,[line] => 2842,[function] => validate,[class] => vB_TemplateParser,[type] => ->,[args] => Array ([0] => Array ())),[1] => Array ([file] => /home/******/public_html/******/includes/adminfunctions_plugin.php,[line] => 545,[function] => compile_template,[args] => Array ([0] => {vb:stylevar htmldoctype} xmlns:fb="http://www.facebook.com/2008/fbml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}"> {vb:raw headinclude} {vb:cssfile faq.css} {vb:raw headinclude_bottom} {vb:raw header} {vb:raw navbar}

{vb:raw mkio_mode}
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01281 seconds
  • Memory Usage 1,799KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete