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:
- 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 .php postfix, for example: orca_fix.php
- Run the script in a browser, for example: http://dolphin_url/orca_fix.php
When trying to compile Orca languages I get error "Language files compilation have been failed"
See the previous solution










