vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Problem editing Templates (https://vborg.vbsupport.ru/showthread.php?t=211567)

Aadil 04-18-2009 01:54 PM

Problem editing Templates
 
Hey when i edit some templates i get the following error:

Fatal error: Using $this when not in object context in /includes/adminfunctions_template.php(3939) : eval()'d code on line 1

Nothing has been changed to them but upgrading to 3.8.2

can anyone help :)

Lynne 04-18-2009 02:10 PM

Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


Aadil 04-18-2009 03:44 PM

kk will try it out thanks

Aadil 04-21-2009 02:32 AM

Nope it still happens!

Also now my Admincp right frame is all white when u go into it..

but if u change page its works file.. but the Control Panel Home is stuffed

Lynne 04-21-2009 02:38 AM

Have you tried reuploading all the files in the includes directory?

Aadil 04-21-2009 02:41 AM

mhm no :P shall do that next :D

Thanks

Aadil 04-22-2009 09:23 PM

just did that and its still blank :S

I disabled all plugins as well but its still blank

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

nvm i renamed admincp files and its fixed now

however i still get

Fatal error: Using $this when not in object context in /.../public_html/includes/adminfunctions_template.php(3939) : eval()'d code on line 1

Dismounted 04-23-2009 04:26 AM

Does it happen with specific templates only - or all templates?

Aadil 04-23-2009 05:50 AM

specific

Dismounted 04-23-2009 06:28 AM

And they are? (Post the contents of one.)


All times are GMT. The time now is 11:03 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.01571 seconds
  • Memory Usage 1,724KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete