ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: AaronB on April 06, 2014, 09:37:55 pm

Title: Censor issue - 8: Undefined index: allow_no_censored
Post by: AaronB on April 06, 2014, 09:37:55 pm
Below error in the error log ..

8: Undefined index: allow_no_censored

File is /sources/load.php on line 2398

Appears to be caused only by the Admin account. The regular member account does not produce the error when making a post. None of the posts have any slur words at all in them.

The master.zip files were uploaded to the test site this evening.
Title: Re: Censor issue - 8: Undefined index: allow_no_censored
Post by: emanuele on April 07, 2014, 05:53:32 am
I didn't check the code (yet), but I suspect this is generated by a new setting added recently. It shouldn't happen in a new install or running an upgrade...
Yeah, I know I keep repeating that run upgrade.php is not needed... I'm a liar! No, not entirely, it can be fixed even only by saving the setting in the admin page (at the moment I don't remember where that page is and I don't have an install handy... :-[).
Will come back in the afternoon/evening.
Title: Re: Censor issue - 8: Undefined index: allow_no_censored
Post by: AaronB on April 07, 2014, 06:25:04 am
 :)  No problem. The one option I know of is in the user profile, enable/disable censoring. The problem occurs regardless of the option setting.

Also, the Session Verification fails have returned.
Title: Re: Censor issue - 8: Undefined index: allow_no_censored
Post by: AaronB on April 07, 2014, 06:38:30 am
Well ... it may not be a bug. I FTP'd into the server and deleted the cache that way and the problem does not reappear. I had deleted the cache last night via Admin panel and that did not help. << shrug >> 
Title: Re: Censor issue - 8: Undefined index: allow_no_censored
Post by: emanuele on April 07, 2014, 07:08:18 am
hmm... the fact the cache is not deleted may be a problem of permissions? (Guessing.)
It may be worth adding an is_writable check when showing the task button (clean cache).