vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Newreply.php Error (https://vborg.vbsupport.ru/showthread.php?t=153889)

Memphis834@yaho 07-31-2007 01:50 PM

Newreply.php Error
 
When I click Post Reply or click the quote button, I'm getting this php error:

Fatal error: Using $this when not in object context in /home/bleedani/public_html/bleedanime/newreply.php(965) : eval()'d code on line 3

ssslippy 07-31-2007 02:02 PM

u probally edited your your newreply.php. I would upload a fresh one.

Memphis834@yaho 07-31-2007 02:06 PM

I uploaded a fresh one and am still getting that message :(

It's now doing it when I click Go Advanced as well

Kirk Y 07-31-2007 06:57 PM

Insert the following on a new line in your 'includes/config.php' file:
Code:

define('DISABLE_HOOKS', true);
If this fixes your problem, then a product you've installed is causing the error.

Memphis834@yaho 07-31-2007 08:41 PM

I inserted that line in the config file and I was able to use post reply and quote. Guess I gotta find out what I installed that's causing this problem. Thanks Kirk.

Blaine0002 07-31-2007 08:48 PM

try disabling your addons one by one to narrow it down to one.

Memphis834@yaho 07-31-2007 08:55 PM

Yea that's what I just did. Turns out it was a hack that I had added to hide links from guests that I had installed til I could get the hide hack working properly. Seems fixed now. Though I have a bunch of other issues with my site as well that I have to take care of. A lot of problems last few days :mad: Thanks for the help guys. I appreciate it.


All times are GMT. The time now is 06:41 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.01089 seconds
  • Memory Usage 1,716KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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