vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   header problems (https://vborg.vbsupport.ru/showthread.php?t=213759)

crazymilk 05-15-2009 02:54 PM

header problems
 
I`m getting this fatal error on my admin cp when i try to change the header when it is all ready working all i`m doing is change the gif ? any help would be great.

Here is the error--

Fatal error: Call to undefined method vb_activecache::flush() in /home/www/blackops-squad.com/forums/includes/adminfunctions_template.php(2359) : eval()'d code on line 6

And here is the header that is all ready working all i`m doing is change LOGO5 to LOGO6 with same code ----

<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" style="background-image:url(http://www.blackops-squad.com/bg-01.gif)">
<tr>

<td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="http://www.blackops-squad.com/maxjay/LOGO5.gif" border="0" alt="$vboptions[bbtitle]" /></a></td>

<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
</td>

</tr>
</table>

Cheers

Lynne 05-15-2009 02:59 PM

Line 2359 of adminfunctions_template.php is:
HTML Code:

($hook = vBulletinHook::fetch_hook('template_compile')) ? eval($hook) : false;
So, your problem is with a plugin using the template_compile hook.

crazymilk 05-15-2009 03:39 PM

so do i change it to what you put there ? Cheers

Lynne 05-15-2009 04:04 PM

No, your problem is a modification. You need to disable the modification causing the problem. I told you the hook location it is using, so you can look at the plugin list and see which products use that plugin and try disabling the product and see if it fixes the problem.

crazymilk 05-15-2009 04:13 PM

ok ty for your help cheers

--------------- Added [DATE]1242411139[/DATE] at [TIME]1242411139[/TIME] ---------------

i`m using vadvanced and i`m a noob can you explain a bit more to me thanks

--------------- Added [DATE]1242411842[/DATE] at [TIME]1242411842[/TIME] ---------------

Ok ty for your help i sorted it because of your help thanks so much


All times are GMT. The time now is 04:22 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.01140 seconds
  • Memory Usage 1,717KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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