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

Current Version: 1.0.11
Released: 02/12/2010
Locked
Bash
Newbie
Newbie
Posts: 2
Joined: Sun 9. May 2010, 22:52
phpbb.com: Bash

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

Post 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?
User avatar
Marc
Administrator
Administrator
Posts: 620
Joined: Tue 2. Sep 2008, 22:48
phpbb.com: Marc
Location: Munich
Contact:

Re: [Release] AJAX Quick Edit 1.0.11

Post by Marc »

What other MODs do you have installed?
Image
Bash
Newbie
Newbie
Posts: 2
Joined: Sun 9. May 2010, 22:52
phpbb.com: Bash

Re: [Release] AJAX Quick Edit 1.0.11

Post 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).
Attachments
installed mods
installed mods
screenshot.1.png (3.25 KiB) Viewed 25162 times
User avatar
Marc
Administrator
Administrator
Posts: 620
Joined: Tue 2. Sep 2008, 22:48
phpbb.com: Marc
Location: Munich
Contact:

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

Post 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).
Image
Locked