Hi guys,
I have problems during installation. Didn’t figure out another topic with the same problem. To test it I changed all permissions to 777 +x. Interestingly the generated filename looks like this:
/piwik/tmp/templates_c/wrteqCvJF
and is empty
problem writing temporary file 'tmp/templates_c/wrt4983395f5046b’
Backtrace:
[quote=frager @ Jan 30 2009, 07:28 PM]Disable safe mode?
I would not recommend this…[/quote]
In PHP 6.0, safe mode and register globals have been removed. What will you do then?
FYI :
I just figured out the problem with it, the owner of the folder needs to be the owner of your website.
I mean when you install piwik, the owner and group owner of tmp files and folders should be something like apache.
So you just need to change owner with a command line like this : chown ftp_user:ftp_group templates_c
or remove the folder and re-create it with the ftp access so the owner would be the ftp_user.
If i’m not clear or you don’t understand (i guess my english is not so fluent…or my explanation sucks…) just reply and i’ll try to be more explicit.
Directory templates_c belongs to user:apache group:apache, permission 0777
Directory sessions belongs to user:apache group:apache, permission 0777
Directory tmp belongs to my ftpuser, permission 0777
And:
I’m already tryed to reupload all piwik software except the tmp folder
I’m not able to disable php safe mode
I’m not able to change tmp owner (php chown does not work and if I try to run trought ftp client “chown apache:apache tmp” the answer is “500 CHOWN not understood”)
php script with unlink functions on files inside templates_c does not work
I was able to change templates_c and sessions permission ONKLY by a phpscript with chmod
How can i delete all tmp folder or succesfully install piwik?
I’m being crazy!