MyBB Community Forums

Full Version: Internal server error 500
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Well, I have been trying some stuff for the post count and such but the queries that worked before with mybb 1.8, are not working anymore and they are resulting in an internal server error

Here are the queries:


It's not working either. Can someone help me how to make this work? Also, I would like to know if my_number_format is actually converting the query into a number data type. 
Thanks in advance guys.

I can't seem to post sql queries here...please take a look at this thread for queries:
http://animemangaforum.com/Thread-Intern...-error-500

I would really appreciate some help guys
Check your error logs. Are you using using the correct requires?
require_once("global.php");
require_once(MYBB_ROOT . "/inc/functions.php");
(2016-09-25, 04:30 PM)nth Wrote: [ -> ]Check your error logs. Are you using using the correct requires?
require_once("global.php");
require_once(MYBB_ROOT . "/inc/functions.php");
I haven't modified anything and I am not so sure where to look at those required files.
Also, I am using those querie for index.php file.
So you're adding this query to the index.php file? Can you paste the contents of your error logs?

Check this link as to where to find them: http://stackoverflow.com/a/5127884
(2016-09-25, 05:37 PM)nth Wrote: [ -> ]So you're adding this query to the index.php file? Can you paste the contents of your error logs?

Check this link as to where to find them: http://stackoverflow.com/a/5127884

Err...I am not so sure how to see the error logs. I have downloaded the log file but it's got a .com file appended with date. I am not so sure how to even open it Sad
A text editor more than likely.
(2016-09-26, 07:43 PM)nth Wrote: [ -> ]A text editor more than likely.

I can't post that stuff here Sad
May be it has something to do with cloudflare but all that stuff are just URL's that I have tried to access later after getting the server error.
What is the queries?
Post the log to pastebin
(2016-10-01, 07:52 AM)Sazze Wrote: [ -> ]What is the queries?
The queries are present in that link. I couldn't post them here Sad

(2016-10-01, 10:15 AM)nth Wrote: [ -> ]Post the log to pastebin

o.O what's a pastebin?
Pages: 1 2