When trying to compile Orca languages I get error "Language files compilation have been failed"
When accessing Orca, I get error "Warning: fopen(.../orca/conf/params.conf) [function.fopen]: failed to open stream"
This problem occurs only on those sites where PHP is running as an Apache module. On such sites, the files created by scripts (such as Dolphin or Orca), don't belong to the owner of the script's directory. That's why they sometimes become inaccessible after some actions on the site. This can be overriden by placing 666 permissions on such scripts:
1) FIX:
- Create a script in Dolphin's home directory with the following contents:
<?php exec( "chmod 666 ./orca/conf/params.conf;\n find ./orca/layout/base_en -type f -exec chmod 666 {} \\;\n find ./orca/conf -type f -exec chmod 666 {} \\;\n find ./orca/layout/uni_en -type f -exec chmod 666 {} \\;\n find ./orca/classes/en -type f -exec chmod 666 {} \\;\n find ./orca/js/en -type f -exec chmod 666 {} \\;\n find ./groups/orca/layout/base_en -type f -exec chmod 666 {} \\;\n find ./groups/orca/layout/uni_en -type f -exec chmod 666 {} \\;\n find ./groups/orca/classes/en -type f -exec chmod 666 {} \\;\n find ./groups/orca/js/en -type f -exec chmod 666 {} \\;\n" ); echo "Success"; ?>
- Name the script with the .php extension, for example: orca_fix.php
- Run the script in a browser, for example: http://dolphin_url/orca_fix.php
2) If you still get this error, try to do the following:
1) Delete the folders orca/classes/en, orca/js/en, orca/layout/base_en, orca/layout/uni_en and the file orca/conf/params.conf (the subfolder en corresponds to the English language, while your subfolder may be named fr or de depending on what language you installed).
2) Compile Orca languages.
3) Apply the above FIX.
When trying to compile Orca languages I get error "Language files compilation have been failed"
See the previous solution

