MyBB Support

500 page error (LOG INCLUDED)

Submitted by Diplo, , Thread ID: 644

Thread Closed

RE: 500 page error (LOG INCLUDED)

milw0rm
Junior Member
Prime
Level:
0
Reputation:
7
Posts:
68
Likes:
3
Credits:
0
24-01-2015, 05:49 PM
#15
24-01-2015, 03:12 PM
Unsuspicious Wrote:
If people actually read the error, they'd see that it's something to do with eval(); Which indicates the templating system.

In your previous thread, you said it only happened for staff on the showthread pages, my guess is that you used the PHP in templates (template conditionals) plugin to give yourself some fancy thing in the postbit, which is broken.

The codes were not wrapped properly in functions_post -- but it was more than what was stated in the error.

At first it was

Code:
eval("\$post['warninglevel'] = \.$templates->get.");
"\$post['user_details'] = \"".$templates->get("postbit_author_user")."\";");

It should be

Code:
eval("\$post['warninglevel'] = \"".$templates->get("postbit_warninglevel")."\";");
eval("\$post['user_details'] = \"".$templates->get("postbit_author_user")."\";");

I have fixed these in the above code for him from my previous reply. It should work - however a different error might occur as this file looks like it was modified more than the eval(); that was incorrect.

P.S. Thank you for as well realizing no one knows how to read.
[Image: sw8px3.png]

Users browsing this thread: 1 Guest(s)