Warning Not Writable() problem during installation

Ask your questions regarding TimeTrex installation here.
Locked
farshidoo
Posts: 4
Joined: Tue Dec 25, 2007 6:04 am

Warning Not Writable() problem during installation

Post by farshidoo »

Hi,

I am installing TimeTrex on a Linux server. I am using PHP5. THe problem i am facing is below:

Writable TimeTrex Configuration File (timetrex.ini.php): OK
Writable Cache Directory: OK
Writable Storage Directory: Warning: Not writable ()
Writable Log Directory: Warning: Not writable ()
Empty Cache Directory: OK

I tried putting storage and log directory into /var directory, outside my html directory, inside my html directory with 777 permission but it is still giving me the same error message. The tmp directory as u see above is fine (its inside html directory).

I gave up on this. Did anyone faced this problem as well? Help would be appreciated.

By the way i am also getting the followng remarks:

Your TimeTrex configuration file (timetrex.ini.php) is located at:
/home/mydomain/public_html/timetrex/includes/../timetrex.ini.php

Your PHP configuration file (php.ini) is located at:
/usr/local/lib/php.ini, the include path is: ".:/usr/lib/php:/usr/local/lib/php"

Farshid
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

You may have some other security module installed that stops all writing of data outside your document root directory, other then /tmp.
farshidoo
Posts: 4
Joined: Tue Dec 25, 2007 6:04 am

Post by farshidoo »

isnt it possible to have it inside the html directory?

how to find out abot the module and fix the problem?
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Well, you can try setting the directory values that are failing to a directory that succeeds for now. Unfortunately we're not 100% sure what causes this, as it can be different depending on the Linux distribution you are using and what security measures they have taken.
jdm
Posts: 1
Joined: Mon Jan 28, 2008 12:44 am

try updating the timetrex.ini.php

Post by jdm »

I had the same issue. It only worked when I updated these paths in the timetrex.ini.php to include the entire drive path, not just the site path.
farshidoo
Posts: 4
Joined: Tue Dec 25, 2007 6:04 am

Post by farshidoo »

in my timetrex.ini.php, i have given full paths but still it doesnt work.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Do you have the Apache module mod_security installed, or are you using Suhosin by chance? Both of these can cause issues with TimeTrex.
farshidoo
Posts: 4
Joined: Tue Dec 25, 2007 6:04 am

Post by farshidoo »

yes, i have both mod_security and suhosin installed on my server for security hardening.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

One of those is denying write access to TimeTrex, so you need to figure out which one, and enable that.
Locked