Delete of an Empty (Just created) Album returns an error

dmz001

Joined: 2005-08-16
Posts: 13
Posted: Thu, 2005-08-18 17:17

<TYPE YOUR MESSAGE HERE, ENTER SYSTEM DETAILS BELOW>
Delete of an empty freshly created album returns an error.
After the error see only the original directories in the g2data/albums directory.

All directories are owned by my id and gallery appears to be operating normally so I assume permissions are fundementally what they should be.

Error Detail - 
Error (ERROR_PERMISSION_DENIED) : Don't have permission to delete this item
in modules/core/ItemDelete.inc at line 74 (gallerystatus::error) 
in main.php at line 176 (itemdeletecontroller::handlerequest) 
in main.php at line 90
in main.php at line 82
System Information 
Gallery version  2.0-rc-1  
PHP version  4.3.10 cgi  
Webserver  Apache/1.3.33 (Unix)  
Database  mysql 4.0.25-standard-log  
Toolkits  NetPBM, SquareThumb, Gd  
Operating system  Linux infong 2.4 #1 SMP Mon Aug 9 10:21:08 CEST 2004 i686 unknown  
Browser  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; i-NavFourF; .NET CLR 1.1.4322)  

<Please check the G2 FAQ (sticky topic in this forum) before posting!>
----

Gallery URL (optional):
Gallery version:
Webserver (with version):
Datatabase (with version):
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:
G1 version (for migration bugs):

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-08-18 22:18

please delete your GALLERYSID cookie in your webrowser and try different webbrowsers.

 
dmz001

Joined: 2005-08-16
Posts: 13
Posted: Fri, 2005-08-26 02:31

It looks like a timeout issue. The ISP only allows 6 seconds of cpu time before aborting the CGI.

Is there a way of rebuilding the images from the command line? (I have ssh access to the machine.)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-08-26 17:07

nope. you could create a small script that does it though...
include embed.php
GalleryEmbed::init
copy some code from modules/core/classes/BuildDerivatives.class or however the file is called.
GalleryEmbed::done()

 
dmz001

Joined: 2005-08-16
Posts: 13
Posted: Tue, 2005-08-30 21:46

Thanks,

That helped. All the images and thumbnails look good.

Any possibilities of adding some command line utilities do do some of the work?