PDA

View Full Version : Newreply.php Error


Memphis834@yaho
07-31-2007, 01:50 PM
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:
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.