question about cleanup.php

cajun_junky

Joined: 2005-01-21
Posts: 12
Posted: Mon, 2005-02-14 21:49

I am having a terrible time deleting some files and folders in the g2data directory. I have tried everything inlcuding the galleryreset and the cleanup.php script. Still nothing.

One question I have is this. When I used to run the cleanup.php it would give a list of things it was doing at the bottom of the page. Now it does nothing and does not list anything. Does that make sense? Anyway, I am wondering if that means it is not finding the files/folders or is it not able to do anything.

My hosting company frowns on having to delete this stuff all the time since I am paying so little for my account.

This is getting really old trying to test gallery2 and not be able to delete mistakes!!!

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2005-02-21 23:56

The other trick you can use is to browse to gallery2/lib/tools/test and run the "Reset Gallery" test case. That will drop your database and delete all the files that g2 created for you, essentially starting you over again.