Page 1 of 1

"Forum locked" is being displayed once you click on Quickedit

Posted: Sun 9. May 2010, 22:56
by Bash
Hello Marc,

Firstly thank you for sharing this mod with us, very kind of you.

I've checked all my edits 3 times now and re-uploaded the files included just incase they were corrupted and I see 'forum locked' when I try to use quick edit.

Any advice?

Re: [Release] AJAX Quick Edit 1.0.11

Posted: Mon 10. May 2010, 00:10
by Marc
What other MODs do you have installed?

Re: [Release] AJAX Quick Edit 1.0.11

Posted: Mon 10. May 2010, 00:30
by Bash
Really sorry, you must be fed up with people saying things dont work and blah blah blah...

Quicker to take a screenshot of my installed mods (attached).

Re: "Forum locked" is being displayed once you click on Quic

Posted: Mon 10. May 2010, 01:01
by Marc
I've cut this support part off the release topic of AJAX Quick Edit.

What kind of post are you editing? Is it a global announcement or a normal topic?

Now let's find out what exactly the problem is.
Make sure to enable debug mode in config.php.
Open quickedit.php
Find (around line 294):

Code: Select all

		die($user->lang[(($row['forum_status'] == ITEM_LOCKED) ? 'FORUM_LOCKED' : 'TOPIC_LOCKED')]);
Replace with:

Code: Select all

		die($user->lang[(($row['forum_status'] == ITEM_LOCKED) ? 'FORUM_LOCKED' : 'TOPIC_LOCKED')] . ' - forum_id = ' . $row['forum_id'] . ' - forum_status = ' . $row['forum_status']);
Tell me exactly what it gives you back.
Afterwards, undo the changes to quickedit.php and config.php (only if you usually don't have debug enabled).