Could not complete Installation because of non writable per.

Discuss Topics on 2.6

Moderator: Admin

Could not complete Installation because of non writable per.

Postby mitesh » Mon Mar 26, 2012 5:08 pm

I am stuck at following point(see attachment)
All files inside orangeHrm package has all permisssion fro apache user(web server user of my machine)
Any help appreciated.
Attachments
Screenshot-1.png
Screenshot-1.png (162.26 KiB) Viewed 968 times
mitesh
 
Posts: 5
Joined: Mon Mar 26, 2012 4:55 pm

Re: Could not complete Installation because of non writable per.

Postby chameera » Tue Mar 27, 2012 9:05 am

Hi mitesh,
Seems like you are using Fedora. (default http root - /var/www/html)

go to /var/www/html from terminal;
Code: Select all
sudo chmod -R 755 ./


if this does not work,
Code: Select all
sudo chmod -R 777 ./


Note: 777 means global wright permission, will not recommend; will be fine for testing.
make sure to create a web user and a group to suit 755 permission.

for enable .htaccess in apache; look into http://www.tildemark.com/enable-htaccess-on-apache/
Last edited by chameera on Thu Mar 29, 2012 11:07 am, edited 1 time in total.
chameera
 
Posts: 147
Joined: Tue Jan 31, 2012 10:29 am

Re: Could not complete Installation because of non writable per.

Postby mitesh » Tue Mar 27, 2012 2:12 pm

I did try your solution.
But at the end i did manual installation for linux(http://www.orangehrm.com/frequently-ask ... ions.shtml).
but i am not able to see login screen

When i try to visit URL : http://localhost/orangehrm-2.6.12.1/sym ... auth/login
It throws http: 500 error.
please help
mitesh
 
Posts: 5
Joined: Mon Mar 26, 2012 4:55 pm

Re: Could not complete Installation because of non writable per.

Postby chameera » Wed Mar 28, 2012 8:07 am

please look into the folder symfony/log
you will see orangehrm.log. see the bottom of that file, there will be a fatal error.
chameera
 
Posts: 147
Joined: Tue Jan 31, 2012 10:29 am

Re: Could not complete Installation because of non writable per.

Postby mitesh » Wed Mar 28, 2012 12:21 pm

In symfony/log folder there is nothing.

I checked log file (/var/httpd/error_log)
following was the error:
PHP Fatal error: Uncaught exception 'sfCacheException' with message 'Failed to make cache directory "/var/www/html/orangehrm-2.6.12.1/symfony/cache/orangehrm/prod/config" while generating cache for configuration file "config/config_handlers.yml".' in /var/www/html/orangehrm-2.6.12.1/symfony/lib/vendor/symfony/lib/config/sfConfigCache.class.php:340\nStack trace:\n#0 /var/www/html/orangehrm-2.6.12.1/symfony/lib/vendor/symfony/lib/config/sfConfigCache.class.php(110): sfConfigCache->writeCacheFile('config/config_h...', '/var/www/html/o...', '<?php?// auto-g...')\n#1 /var/www/html/orangehrm-2.6.12.1/symfony/lib/vendor/symfony/lib/config/sfConfigCache.class.php(197): sfConfigCache->callHandler('config/config_h...', Array, '/var/www/html/o...')\n#2 /var/www/html/orangehrm-2.6.12.1/symfony/lib/vendor/symfony/lib/config/sfConfigCache.class.php(279): sfConfigCache->checkConfig('config/config_h...')\n#3 /var/www/html/orangehrm-2.6.12.1/symfony/lib/vendor/symfony/lib/config/sfConfigCache.class.php(54): sfConfigCache->loadConfigHandlers()\n#4 / in /var/www/html/orangehrm-2.6.12.1/symfony/lib/vendor/symfony/lib/config/sfConfigCache.class.php on line 340
mitesh
 
Posts: 5
Joined: Mon Mar 26, 2012 4:55 pm

Re: Could not complete Installation because of non writable per.

Postby chameera » Thu Mar 29, 2012 11:07 am

seems like application root does not have write permission. have you tried
Code: Select all
sudo chmod -R 777 ./

in application root from command line?

PS: my mistake, 2nd command of 2nd post is same. :oops:
chameera
 
Posts: 147
Joined: Tue Jan 31, 2012 10:29 am

Re: Could not complete Installation because of non writable per.

Postby mitesh » Fri Mar 30, 2012 3:06 pm

I tried that but still not working
mitesh
 
Posts: 5
Joined: Mon Mar 26, 2012 4:55 pm

Re: Could not complete Installation because of non writable per.

Postby andybickley » Wed Apr 18, 2012 4:31 am

Did you get this to work? Just asking because I have Fedora and orangeHRM working. I may be able to help
andybickley
 
Posts: 3
Joined: Wed Apr 18, 2012 3:52 am

Re: Could not complete Installation because of non writable per.

Postby luisbo69 » Tue Mar 26, 2013 5:15 am

same problem here, have verified permissions

apache error_log: [Mon Mar 25 18:39:59 2013] [alert] [client ::1] /Users/luisbo69/Sites/b7erp/orangehrm-3.0.1/symfony/web/.htaccess: Options not allowed here

xampp httpd.conf:
<Directory /Users/luisbo69/Sites/b7erp/orangehrm-3.0.1/symfony/web>
Options +Includes -Indexes
AllowOverride All
Order allow,deny
Allow from all
<Files ~ "^\.ht">
Deny from all
</Files>
</Directory>
luisbo69
 
Posts: 2
Joined: Thu Apr 26, 2012 8:29 pm

Re: Could not complete Installation because of non writable per.

Postby luisbo69 » Tue Mar 26, 2013 5:19 am

It worked removing /symfony/web/.htaccess
luisbo69
 
Posts: 2
Joined: Thu Apr 26, 2012 8:29 pm


Return to OrangeHRM 2.6

Who is online

Users browsing this forum: No registered users and 1 guest