Hi,
I'm new to WordPress. I have to edit something about language on the page I've got. So, I found in wp-config file there is empty WP_LANG property, and I set it to my language, hr. I ran page and it was blank. So, I deleted value in property WP_LANG and left it empty, as it was before. And page is still blank. wp-admin page is also blank.
Does anyone have idea what happened and how can I return my page to show data? I didn't change any other file.
The language line is needed and should be in the same place as it was originally...If you change the language of your site to another, make sure your computer/device and/or browser supports that language, when viewing it.
It should be:
`define('WPLANG', '');'
by default (English), en, or insert the desired language...syntax and case matter.
NOTE: Many themes either do not support languages, or only support some. Review with your theme developer.
Yes, I' ve found that. Before editing it was:
define('WPLANG','');
And I changed it to:
define('WPLANG','hr');
But then my page was blank. So, I returned it back to first state.
I edited .htaccess to show php errors by adding this line:
php_admin_flag display_errors on
And it shows internal server error, so I contacted my host provider.
Thank you anyway!
New problems..
My host provider restarted server and he said everything was fine. So I removed line from .htaccess I added before.
And now, my site is not blank, but it loads lines of code! index.php or wp-admin or any category loads just code.
Does anyone have idea what should I do?
Check this and please review the whole article. Maybe a more advanced member of the hosting team at your host is working 9-5?
You think it's database?
I tried to upload file test.php whith this code: <?php phpinfo() ?>. Because in some other thread it says that maybe php server is not running. So, test.php returns again just code, not informations about php.
Please provide a link to your site.
Oh, yes. This is link http://www.hciti.hr.
I am declining to review it.
Ok. And can you tell me why? I'm just curious.
My choice on a non listed webhost.
Ok. Thank you anyway for helping.