RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : December 04, 2008, 10:38:18 pm
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  RSgallery2 bugs & problems (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  error deleting category (+pics)
Advanced search
  « previous next »
Pages 1
Author
Topic: error deleting category (+pics)  (Read 2561 times)
« on: April 24, 2006, 08:24:32 am »
woelzen Offline
Jr. Member
**
Posts: 95



when i noticed that the view- and thumb-pic of my sub-categorie\'s last picture was missing
i tried to delete the whole (sub-)category to speed up the procedure.

the result of this action was, that the (sub-)category was deleted succesfully but all the pictures were still in their folders (the pics weren\'t listed in the backend)

following error occurs (sorry 4 the large screenshots  worked fullscreen @ 1650x1080 and wasn\'t able to copy/paste the error)


=>

... and so on for every picture

(line 1152 - 1157 sais)

[code:1]foreach ($files as $file)
                    {
                    unlink($mosConfig_absolute_path.$imagepath.$file);
                    unlink($mosConfig_absolute_path.$thumbpath.$file);
                    }
                $database->setQuery(\"DELETE FROM #__rsgallery2_files WHERE gallery_id = \'$catid\'\"«»);[/code:1]

= = = = = = = = =
using 1.10.11 Alpha
Logged

testing RSGallery 1.13.1 Alpha
working with Firefox 2 (winXP) & Joomla! 1.0.12
server runs Apache/2.0.54 (Debian GNU/Linux) PHP/5.2.3 DAV/2
 
Print  Pages 1
« previous next »
Jump to: