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.
Error 500 in discussion
jasilva
New
Hello guys I new use vanilla (in fact today download it!), I cant install and configured all, its very easy, but when I create a new discussion I get a error 500
I use a Centos 7 Server, with Apache 2.4.6 and vanilla 2.2 all other features works well, but I cant see a discussion, including that comes by default.
In other post I read about debugger, I activate Debugger By Mark O'Sullivan and download Kpr - Krumo Print Debugger By Debra Venckus, but I do not know how to see the error in the log
Tagged:
0
Comments
The URL is index.php?p=/discussion/3/hello
@jasilva
Welcome to the community.
With debug turned on, when you try to visit a forum page, Vanilla will show you details of the error it encountered.
I don't think a 500 error is a Vanilla issue.
You need to look at your web server error logs.
If you don't know how to do that, contact your web host for help.
Thanks for your reply.
When I visit any page a can see the log in the bottom of the page like:
But In discussion I get a Blank Page in Firefox, and error 500 in Chrome, for example when I visit this URL
Please post the contents of your htacess file
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
The file is in this position
And contains
I did not touch the file. I might miss activate an Apache module
I post it in another comment (I could not find the edit button)
Change the file to this, and then check config.php for this line, report after what happened.
$Configuration['Garden']['RewriteUrls']= TRUE;
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Ok I change the
.htacces
file, andconf/config.php
file$Configuration['Garden']['RewriteUrls']= TRUE;
no exist so I add and restart the apache server. But I get other errorI test other url,
Present same error Not found
Is your forum located in /vanilla ?
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Look inside the CGI logs from the server to look at the errors…
You must have some kind of misconfiguration in the the database or something like that.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I found new information:
When entering discussions url Centos send me an SELinux Alert:
In the alert are many different files, for example
What happen? I apply the permissions to folders in the tutorial
Yes
Ok, please check this info out and see if it helps you
https://wiki.gentoo.org/wiki/SELinux/Tutorials/Where_to_find_SELinux_permission_denial_details
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Ok I see this
Ok, you need to enable mbstring
http://php.net/manual/en/mbstring.installation.php
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Yes, now works!!! I found this https://vanillaforums.org/discussion/24567/solved-problem-with-discussions-in-vanilla-2-2-3-4-multi-byte-encoding
Also check this https://vanillaforums.org/discussion/24567/solved-problem-with-discussions-in-vanilla-2-2-3-4-multi-byte-encoding
Thanks a lo @whu606 @vrijvlinder
Only one dude, why appear SElinux Alerts?
Try to delete the .ini files from the cache and turn debug mode off
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Thanks I check it, I'll check at the time revive my site T_T. I killed him again
I killed him again
https://vanillaforums.org/discussion/31714/flagging-crash-the-site#latest