News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

I cannot reach the moderation screen

Started by JonasTheGamer, July 08, 2017, 01:23:05 PM

Previous topic - Next topic

JonasTheGamer

this is the link: https://jonasgamertv.com/forum/index.php?action=moderate
this is the error message: Parse error: syntax error, unexpected 'is' (T_STRING) in /customers/f/2/c/jonasgamertv.com/httpd.www/forum/Sources/Load.php(2985) : eval()'d code on line 13

How can i fix this? I did not edit anything at those files. I am not familiar with programming in php.
Thanks,
Jonas
P.S. Ill tell later if i find some other pages that don't work

d3vcho

Can you disable evaluation of templates and tell us what does the error looks like then? Maintenance > Server Settings > General
"Greeting Death as an old friend, they departed this life as equals"


JonasTheGamer

Didn't say anything.
Here is the new error:
Parse error: syntax error, unexpected 'is' (T_STRING) in /customers/f/2/c/jonasgamertv.com/httpd.www/forum/Themes/default/languages/ModerationCenter.dutch.php on line 13

shawnb61

There's a syntax error in that dutch file.   

I wasn't aware other languages had been released yet.  Did you create that yourself?   Where did you get it?

Try switching back to english & see if the error goes away. 

Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

d3vcho

Seems like the string is not translated to dutch. The english string is: "   This is your "Moderation Center". From here you can perform all the moderation actions assigned to yourself by the Administrator. This home page contains a summary of all the latest happenings in your community." while the dutch translation is: "Dit is je &quot".

Go to ModerationCenter.dutch.php, and change line 13 to:
$txt['mc_description'] = 'Dit is je "';

Or you can translate the rest of it if you want ^^
I'll ping some dutch translators to see if they can translate that string.
"Greeting Death as an old friend, they departed this life as equals"

JonasTheGamer

Well
Quote from: d3vcho(); on July 08, 2017, 01:35:34 PM

Go to ModerationCenter.dutch.php, and change line 13 to:
$txt['mc_description'] = 'Dit is je "';


Where can i find that file?
Thanks,
Jonas
@shawnb61
I got it from the languages section in the admin panel. I downloaded it from there.

d3vcho

You got the route to that file in the error message;
Themes/default/languages/ModerationCenter.dutch.php
"Greeting Death as an old friend, they departed this life as equals"

JonasTheGamer

YAY Thank you! It is fixed!
You are the best! (And everyone else that helped me  :))
Thank you!
Ill mark this topic as solved

Advertisement: