Impossible to compile new language in Orca

Hello,

I tried to translate Orca forum in italian language, in this way:

- I edited the file located in /orca/xml/langs/en.php and later I'm logged in as admin.

- I went in mysite.com/orca and it appears a button "compile language", but there are two file: "en" and "it". If I try to compile one of those files, it occure an error.

How I can do to resolve this problem?

Thank you very much.

Quote · 21 Oct 2008

what exactly error message have you got?

Regards

Artur

Quote · 22 Oct 2008

The problem is also that there is a single language in theorca root; instead there are two language compile.

However the error is: Language files compilation have been failed. Check folder permissions.

Thankyou

Quote · 22 Oct 2008

ok - so you need just to delete following folders

classes/en, js/en, layout/base_en, layout/uni_en

after it try to recompile language again.

Regards

Artur A

Quote · 23 Oct 2008

It's impossible to delete these directories because there is an error "Permission denied".

How I do ?

Quote · 27 Oct 2008

Hello there,

I had the same issue....

You are unable to change permissions since you (your ftp user name is not the Owner of some files)...evne though you are...

What I do I ftp the file to my desktop, rename it, ftp it back and rename it again...in your case, ftp lang-it.php, change it to lets say lang-it11.php, ftp it back to your lang folder and then remane it back to lang-it.php....

If I remember good, the file should be 666.

I hope this helps to you too...

Nurke

Quote · 28 Oct 2008

I'm sorry, but I can not compile this forum.

I renamed the directories suggested by ArturA, but now I can not access to the forum, because are occured some errors:

Warning: require_once(/home/saleuit/public_html/orca/layout/uni_en/params.php) [function.require-once]: failed to open stream: No such file or directory in /home/saleuit/public_html/orca/xml/config.php on line 89

Fatal error: require_once() [function.require]: Failed opening required '/home/saleuit/public_html/orca/layout/uni_en/params.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/saleuit/public_html/orca/xml/config.php on line 89

And now?? What should I do?

Quote · 28 Oct 2008

what have you renamed?

Please give me FTP access details - I will check it up.

Quote · 28 Oct 2008

I've renamed the follow directories:

- uni_en;

- base_en;

- base_it;

So I don't renamed the directory js/en.

Quote · 28 Oct 2008

you need just to delete following folders

classes/en, js/en, layout/base_en, layout/uni_en

classes/it, js/it, layout/base_it, layout/uni_it

Quote · 28 Oct 2008

Uff!

It's ever impossible to compile language. I can not delete directories because there are problems with permissions.

So, I renamed the directories but when I link in mysite.com/orca as admin, there is only lang [en] to compile and if I click upon this link, it's occurred the follow message: "failed to compile language".

Should I upload another directory? For example the italian directory to translate orca??

Quote · 4 Nov 2008

You cannot delete the directorys, edit them or change them because when you hit compile it writes them as root/server, so they get 99'd. You can ask your host to reset these back to owner but next time you hit the compile button the same thing will happen.

People that have a cgi type of server setup, where they use php.ini files will not have the same issues as above. They can access those folders and files without the hosts interaction.

One quick simple way to fix a can't compile language error is to create a replica or copy of your current language file for orca and simply rename.

To do this download your current file associated with the language let say it is italian or "it" for example.

Download the following file to your local pc:
/orca/xml/langs/it.php

Then once it is on your local pc rename it something unique not "it" and not "en" how about tt.php

Now upload tt.php back to the above location so it would look like:
/orca/xml/langs/tt.php

Then go to your orca admin area and you will see 3 language files now "en" "it" "tt"

Compile the new one "tt" which is a replica basically of the problem file. Now it should work.

Other thing you can try to delete or rename /orca/conf/params.conf then go back to your orca admin panel and the file gets recreated.

This is not the cleanest or best way of doing it as now you have 3 different language files in orca admin. And you have to remember to click on "tt" from now on instead of the others.

But it's a thought or idea, it usually works.

gameutopia

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 4 Nov 2008

I've doing as you tell me and this is the error:


Warning: fopen(/home/saleuit/public_html/orca/conf/params.conf) [function.fopen]: failed to open stream: Permission denied in /home/saleuit/public_html/orca/inc/util.inc.php on line 263

Warning: Cannot modify header information - headers already sent by (output started at /home/saleuit/public_html/orca/inc/util.inc.php:263) in /home/saleuit/public_html/orca/inc/util.inc.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home/saleuit/public_html/orca/inc/util.inc.php:263) in /home/saleuit/public_html/orca/inc/util.inc.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/saleuit/public_html/orca/inc/util.inc.php:263) in /home/saleuit/public_html/orca/inc/util.inc.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /home/saleuit/public_html/orca/inc/util.inc.php:263) in /home/saleuit/public_html/orca/inc/util.inc.php on line 39

Warning: Cannot modify header information - headers already sent by (output started at /home/saleuit/public_html/orca/inc/util.inc.php:263) in /home/saleuit/public_html/orca/classes/BxXslTransform.php on line 61

and If I click upon the language "tt", there is an error "failed to compile language".

I don't know what I do.

Quote · 5 Nov 2008

change permissions for /orca/conf/params.conf

to 666

Quote · 6 Nov 2008

I did how you said me, but it's the same result:


Warning: require_once(/home/saleuit/public_html/orca/layout/uni_ii/params.php) [function.require-once]: failed to open stream: No such file or directory in /home/saleuit/public_html/orca/xml/config.php on line 89

Fatal error: require_once() [function.require]: Failed opening required '/home/saleuit/public_html/orca/layout/uni_ii/params.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/saleuit/public_html/orca/xml/config.php on line 89

and the compilation language failed!

Quote · 8 Nov 2008

can you give me a link to this error message?

Quote · 10 Nov 2008

The problem is also that there is a single language in theorca root; instead there are two language compile.

However the error is: Language files compilation have been failed. Check folder permissions.

Thankyou

i have the same problem. in the orca admin page try to click on 'en' it gave the the same error as above. i ckecked the log file>

PHP Warning:  copy(/home/ntlam98/public_html/orca/layout/uni) [<a href='function.copy'>function.copy</a>]: failed to 
open stream: No such file or directory in /home/ntlam98/public_html/orca/classes/BxLang.php on line 185
PHP Warning: dir(/home/ntlam98/public_html/orca/cachejs/) [<a href='function.dir'>function.dir</a>]: failed to
open dir: No such file or directory in /home/ntlam98/public_html/orca/classes/BxLang.php on line 55 PHP
Fatal error: Call to a member function read() on a non-object in /home/ntlam98/public_html/orca/classes/BxLang.php on line 57
Quote · 20 Nov 2008

check permissions in Orca folder

Regards

Artur

Quote · 21 Nov 2008

my orca folder permission is 755

thank

Quote · 1 Dec 2008

Can you help me, please?

I don not know I to do. I tried many and many time but I can not compile the language.

If you want I also give you my ftp access.

Thank you for your support.

Quote · 2 Dec 2008

Can you help me?

I would like know solve this problem.

Quote · 4 Dec 2008

Please, give me an help to resolve this problem. I don't start the application if I don't resolve this problem.

I can also give you my credentials of my space ftp.

Quote · 8 Dec 2008

Please, give me an help to resolve this problem. I don't start the application if I don't resolve this problem.

I can also give you my credentials of my space ftp.

eng: Hi,look at your directori with FTP.If one of the directori has 644 or 666, u cannot access to the subdirectori or subfolder.Before u need to change permission at the first directori.

IT:Ciao, a me lo faceva, usando ftp, non potevo cambiare la permission, perche la cartella superiore era impostata a 644, cosi, prima devo chmod la cartella superiore a 755 o 777, e poi chmod l atra.

ps: esiste mica un pacco lingua italiana?

Ciao

ps, why dont u transelte direct from Admin Panel?

Quote · 9 Oct 2009

Please Help :)

ok - so you need just to delete following folders

classes/en, js/en, layout/base_en, layout/uni_en

after it try to recompile language again.

Regards

Artur A

This is for Orca on 6.1.6

I was having permissions issues with not being able to recompile my EN in orca after I move my files to a new server so I followed these instructions (as mentioned above) and it makes it so I can recompile the language, however only blank screen appear in place of posts and topics.

I uploaded back my original files and it fixed the white screen problem, however every time I recompile the blank screen problem comes back so I have to re upload the originals again, thus never recompiling the language which is the objective here, to make some changes.

Any ideas? (I thought I had all my file permissions set correctly but It didn't do the trick so I did this method of deleting certain files)

Taking Dolphin and Making Profitable Websites Since 2009 :)
Quote · 23 Mar 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.