X   Site Message
(Message will auto close in 2 seconds)
Welcome Guest: Log In or Register
 
Reply to this topicStart new topic
how can I delete the folders: sessions | templates_c, delete problems: piwik/tmp
piwikk
post Jan 29 2010, 04:04 PM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 29-January 10
Member No.: 14,571



How can I delete the folders on the server?

piwik/tmp/sessions
piwik/tmp/templates_c

I tried to set the access controll to 777, but I couldn't change it. I tried to delete it from plesk, and also it didn't work. It seems there is nothing in the database (mysql).

Before I had this problems I couldn't install piwik, so I decided to delete the folders on the server.

thank you for help smile.gif
Go to the top of the page
 
+Quote Post
AlexLehm
post Feb 1 2010, 10:18 PM
Post #2


Newbie
*

Group: Members
Posts: 7
Joined: 24-January 10
Member No.: 14,171



QUOTE (piwikk @ Jan 29 2010, 04:04 PM) *
How can I delete the folders on the server?

piwik/tmp/sessions
piwik/tmp/templates_c


This is a pretty common problem on php programs that create temporary files inside the application directory, after you have created the tmp directory and changed the access bits, the web server user will create new directories and files that are owned by this user.

You may be able to delete the files with a php script (unlink) or use a script to change the access bits to 777 and delete the files afterwards.
Or to get around deleting the files, delete everything else and keep the tmp directory, since you need it again anyway when you unpack the source again.

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic