Log in

View Full Version : header problems


crazymilk
05-15-2009, 02:54 PM
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:
($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 1242411139 at 1242411139 ---------------

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

--------------- Added 1242411842 at 1242411842 ---------------

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