I just installed Dolphin 7.0.9 and I tried to import my custom language file but I got http 500 error (saying that a error occurred while retrieving "http://mydomain/administration/lang_file.php"). I basically exported the original lang_en.php and replaced some Chinese words in the file, didn't make any invalid changes, and don't know why this error would happen. BTW, I have tried to rename the translated file to lang_zh.php, lang-zh.php and lang-zh-tw.php, as well as set "Name" and "Flag" to "zh" and "tw", just couldn't get the correct result.
Any idea or suggestion would be highly appreciated, thanks!!
|
theres not an error in the lang file otherwise you will get a php error. Its a server error check to see that a .htaccess file is in the langs directory is present. so much to do.... |
The .htaccess file is there in the langs directory. Should I do anything with it? |
lol its admin directory. Check the administration directory for .htaccess and post the file content here. You getting this error only with that particular file so maybe its a file permission problem so much to do.... |
<IfModule mod_rewrite.c>
RewriteEngine off
</IfModule>
======================
The content of .htaccess under administration folder has only 3 lines as the above, and it's permission is 644.
|
oh, i am out of clue and can't tell much without looking into it and i am kinda busy now
You can wait for some more replies and if its really urgent just reinstall your dolphin.
so much to do.... |
I just reinstalled the website but the same error, have no idea why...
Thanks for your kindly help anyway.
|
take a look at folder permission list at
http://your-site/administration/host_tools.php (permission tab)
maybe it show something
so much to do.... |
I just tried to make a second lang_zh.php with simply some words replaced and then do the import, and it works! So I'm pretty sure it was my first lang_zh.php's problem, I will now be more careful of the second one. Again, thanks a lot for your help. |
quite strange because php files don't cause server errors. Atleast i know that it doesn't. Maybe i am wrong anybody can correct me if i am wrong.
I just tried to make a second lang_zh.php with simply some words replaced and then do the import, and it works! So I'm pretty sure it was my first lang_zh.php's problem, I will now be more careful of the second one. Again, thanks a lot for your help.
so much to do.... |
I did read somewhere on this forum, that unless you unload all the installed modules first, you will not be able to install a new language...
But if you uninstall all the installed modules, wouldn't you loose all the data you put into them?
It must to be a better way to put a new language into Dolphin, right now i can download the default english php language file but i can't upload anything, it gives me an error message all the times...
|