Loading...
 
Skip to main content

Features / Usability


Solved: Blank pages caused by syntax error in language.php file

I suddenly found many of my pages appearing as completely blank on what had been a fully functioning site.

This included all pages of a certain language.

It was tracked down to a single syntax error in a language.php file.

I had added a translation and only deleted one of the backslashes at the beginnin gof the line - the remaining single backslash caused the error (which wasn't being reported).

If you've suddenly got blank pages, and have been editing a language file, check for syntax errors.

Hope this saves someone the headache I had sometime 😉

good syntax in language.php file
Copy to clipboard
//"Subject" => "Subject",
good syntax in language.php file
Copy to clipboard
"Subject" => "Pwnc",
bad syntax in language.php file that caused my pages to go blank!
Copy to clipboard
/"Subject" => "Pwnc",