Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
500 Error When creating new Discussion
xm1
New
When I try to post a new discussion I get an empty pop up, when I check the console I see am getting a 500 error. But the discussion actually get posted.
This causes users to keep posting duplicate discussion without knowing.
I've tried disabling all addons, that didn't solve it.
0
Comments
since you disabled your plugins (but not htmllawed, which you should not) ...
also auto draft can sometimes cause issues.
did you make sure to turn off debug in in config.php after doing preliminary debugging? sometimes that causes problems, if you don't.
also auto draft can sometimes cause issues.
was this an update from a previous version of vanilla?
Anyone with update issues and 500 errors should probably provide this info in opening discussion if they want timely and responsive recovery and save people form asking these very same questions.
did you disable all your plugins (but not htmllawed, which you should not) ...
are you using default theme and have you verified your .htaccess is correct?
do you have an errors with /utility/update?
what is your version of php? have you recently updated your php? or has it been the same for weeks?
what os are you using?
have you deleted .ini file in cache folder?
check error logs.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
check error logs.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
When I've seen this error before, it was the result of granting the Advanced Notifications to all members, which gave email notifications for new discussions to hundreds of people who opted in. Vanilla processes those emails serially before the page reloads, which will cause a timeout if there's hundreds of emails to send. Revoking that permission from all non-admins would likely solve this issue if that's enabled on your site.
Is there a way to disable it?
Yes! 2.1.13
Yes
Am not using Default theme, applying the default theme didn't solve the issue.
Reverting back to the original 2.2 and 2.1 .httaccess didn't solve the issue either.
No errors whatsoever
PHP 5.5.9
I've not updated PHP recently
Ubuntu 14.04
Yes
I will
http://vanillaforums.org/addon/stopautodraft-plugin
if you continue to have issues after re-reading and following all advice in previous comments in discussion. and can't find any other clues.
you might want to post your .htaccess if you use apache.
or if you use nginx the config for it,
and also post your config.php (minus passwords, salts and sensitive info like email)
also post a list of names of all files in your cache folder.
if you have beginning with locale-developer, delete it.
if you have this in your config
also nothing wrong with recopying 2.2 files again, maybe you missed something.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Thanks for mentioning this
I checked and it turns out that it's an error coming from my CustomMentions class.
I think while rewriting the class for 2.2 I introduced a bug.
Thanks again @peregrine
@R_J
it only took a few days for a bootstrap mod to bite another one
http://vanillaforums.org/discussion/comment/235421/#Comment_235421
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.