MyBB Community Forums

Full Version: Deleted post still shows?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I tried to delete a error and got a SQL error from a plugin so I installed it(undo delete) and tried deleting the post it work but it's still there.... Also the users post count is now at 0... The only deletion mod I have is soft delete here is a picture.

[Image: 2z7j52a.png]
Fairly obvious it'll be a problem with soft delete then...??
Are you sure the post isn't just unapproved?

Try to add the following on a new line to inc/init.php after the line that says "<?php":
define('NO_PLUGINS', true);
so it looks like this:
<?php
define('NO_PLUGINS', true);

Can you delete the post now?
I get this error trying to delete it with that code.


Warning [2] Cannot modify header information - headers already sent by (output started at /home/gfxcafen/public_html/mcmines.com/inc/init.php:293) - Line: 1632 - File: inc/functions.php PHP 5.2.16 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/functions.php 1632 header
/inc/functions.php 1645 my_setcookie
/moderation.php 2440 my_unsetcookie
/moderation.php 1823 clearinline
You probably have edited the ./inc/init.php incorrectly.
(2011-05-31, 08:59 PM)Yaldaram Wrote: [ -> ]You probably have edited the ./inc/init.php incorrectly.
No, I edited it just as he said to.

It says it's deleted to, going to new post it's gone, post that user made it's gone, etc! It's like a picture glued there -,-

I noticed, i logged into a normal users account and cant see the post.

What is line 293 of init.php?

Btw, the post is unapproved then, instead of deleted.
Adding your code, line 293 is, your code. Also soft delete does un-approve the post.
Ok i need to re-install the mod, thats probably why.
All fixed!
My code I posted above should be line 2 Toungue

You needed to add it at the top of the file, right after "<?php", NOT "?>".