There's an error message below and you can find more details in gallery3/var/logs (look for the file with the most recent date on it). Stuck? Stop by the Gallery 3 Forums and ask for help. You can also look at our list of open tickets to see if the problem you're seeing has been reported. If you post a request, here's some useful information to include:
SYSPATH/libraries/Database_Mysqli_Result.php[ 27 ]
SYSPATH/libraries/Database_Mysqli.php[ 79 ] » Database_Mysqli_Result_Core->__construct( arguments )
SYSPATH/libraries/Database.php[ 272 ] » Database_Mysqli_Core->query_execute( arguments )
MODPATH/gallery/libraries/MY_Database.php[ 48 ] » Database_Core->query( arguments )
SYSPATH/libraries/Database_Builder.php[ 973 ] » Database->query( arguments )
SYSPATH/libraries/ORM.php[ 804 ] » Database_Builder_Core->execute( arguments )
MODPATH/gallery/libraries/MY_ORM.php[ 34 ] » ORM_Core->save()
MODPATH/gallery/libraries/ORM_MPTT.php[ 79 ] » ORM->save()
MODPATH/gallery/models/item.php[ 544 ] » ORM_MPTT_Core->save()
MODPATH/gallery/models/item.php[ 305 ] » Item_Model_Core->save()
MODPATH/gallery/models/item.php[ 170 ] » Item_Model_Core->relative_path()
MODPATH/gallery/models/item.php[ 94 ] » Item_Model_Core->file_path()
MODPATH/gallery/libraries/ORM_MPTT.php[ 96 ] » Item_Model_Core->delete()
MODPATH/gallery/models/item.php[ 98 ] » ORM_MPTT_Core->delete()
MODPATH/gallery/libraries/ORM_MPTT.php[ 96 ] » Item_Model_Core->delete()
MODPATH/gallery/models/item.php[ 98 ] » ORM_MPTT_Core->delete()
MODPATH/gallery/libraries/ORM_MPTT.php[ 96 ] » Item_Model_Core->delete()
MODPATH/gallery/models/item.php[ 98 ] » ORM_MPTT_Core->delete()
MODPATH/gallery/controllers/quick.php[ 104 ] » Item_Model_Core->delete()
{PHP internal call} » Quick_Controller->delete( arguments )
SYSPATH/core/Kohana.php[ 331 ] » ReflectionMethod->invokeArgs( arguments )
SYSPATH/core/Event.php[ 208 ] » Kohana_Core::instance( arguments )
APPPATH/Bootstrap.php[ 67 ] » Event_Core::run( arguments )
DOCROOT/index.php[ 123 ] » require( arguments )
--
WHEN USING AN EMAIL PROGRAM to reply to this message, click REPLY TO LIST or REPLY TO ALL so your reply goes out to everyone in the group. If you click REPLY or REPLY TO SENDER Google will *only* send your reply to the original author (not recommended).
To post a NEW MESSAGE to the group, send an new email to:
gallery...@googlegroups.com
To view or sign in to this group on the web, use this URL:
https://groups.google.com/forum/#!forum/gallery-3-users
---
You received this message because you are subscribed to the Google Groups "Gallery 3 Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gallery-3-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gallery-3-users/fc8495c8-d9df-4217-b75d-6bcd9f957b8dn%40googlegroups.com.
Looking at the log, I see: Task Fix your Gallery started (task id 5) Database_Exception: #1406: Data too long for column 'relative_path_cache' at row 1 [ UPDATE `items` SET `relative_path_cache` = 'MembersOnly/Slideshow/6-Logos/KCPR%20Artwork/Julie_Meridian_1998_Fundraiser_Julie%20drew%20editorial%20cartoons%20for%20the%20Mustang%20Daily_%20In%201999%2C%20while%20sitting%20on%20the%20couch%20in%20KCPR%27s%20lobby%2C%20she%20drew%20this%20fundraising%20design.jpg', `relative_url_cache` =
WHERE `id` = '2855' ] i /home/kcpr/public_html/gallery3/system/libraries/Database_Mysqli_Result.php:27 Stack trace: #0 /home/kcpr/public_html/gallery3/system/libraries/Database_Mysqli.php(79): Database_Mysqli_Result_Core->__construct(false, 'UPDATE `items`\n...', Object(mysqli), true) #1 /home/kcpr/public_html/gallery3/system/libraries/Database.php(272): Database_Mysqli_Core->query_execute('UPDATE `items`\n...') #2 /home/kcpr/public_html/gallery3/modules/gallery/libraries/MY_Database.php(48): Database_Core->query('UPDATE `items`\n...') #3 /home/kcpr/public_html/gallery3/system/libraries/Database_Builder.php(973): Database->query('UPDATE `items`\n...') #4 /home/kcpr/public_html/gallery3/system/libraries/ORM.php(804): Database_Builder_Core->execute(Object(Database_Mysqli)) #5 /home/kcpr/public_html/gallery3/modules/gallery/libraries/MY_ORM.php(34): ORM_Core->save() #6 /home/kcpr/public_html/gallery3/modules/gallery/libraries/ORM_MPTT.php(79): ORM->save() #7 /home/kcpr/public_html/gallery3/modules/gallery/models/item.php(544): ORM_MPTT_Core->save() #8 /home/kcpr/public_html/gallery3/modules/gallery/models/item.php(305): Item_Model_Core->save() #9 /home/kcpr/public_html/gallery3/modules/gallery/helpers/gallery_task.php(692): Item_Model_Core->relative_path() #10 /home/kcpr/public_html/gallery3/modules/gallery/helpers/task.php(90): gallery_task_Core::fix(Object(Task_Model)) #11 /home/kcpr/public_html/gallery3/modules/gallery/controllers/admin_maintenance.php(195): task_Core::run('5') #12 /home/kcpr/public_html/gallery3/modules/gallery/controllers/admin.php(62): Admin_Maintenance_Controller->run('5') #13 [internal function]: Admin_Controller->__call('Admin_maintenan...', Array) #14 /home/kcpr/public_html/gallery3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Admin_Controller), Array) #15 /home/kcpr/public_html/gallery3/system/core/Event.php(208): Kohana_Core::instance(NULL) #16 /home/kcpr/public_html/gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute') #17 /home/kcpr/public_html/gallery3/index.php(123): require('/home/kcpr/publ...') #18 {main} On Wed, August 17, 2022 7:13 pm, 'Harold Hallikainen' via Gallery 3 Users wrote:
Hi,
I remember there used to be a gallery clean up script where you could point it at a folder and it would change all the permissions to let you remove files
I don’t seem to have it to hand so I’ll see if I can dig it up from an archive
Cheers
Kerry
To view this discussion on the web visit https://groups.google.com/d/msgid/gallery-3-users/ee6181bf-68c0-f7c1-d238-f573e495e940%40thepostalzone.com.
The cleanup script is still in the archive
Maybe this would help: http://codex.galleryproject.org/Downloads:Cleanup_Script.html
Cheers
Kerry
From: <gallery...@googlegroups.com> on behalf of "J.R." <jrl...@thepostalzone.com>
Reply-To: <gallery...@googlegroups.com>
Date: Friday, 19 August 2022 at 5:43 PM
To: <gallery...@googlegroups.com>
Subject: Re: [gallery-3-users] Error on album deletion.
I have sent a private message to Harold on this issue. It's getting kind of complex. If we come up with a solution I will post what we discover to this thread. Meanwhile, anyone else have any tips on how to delete an album that contains files which also cannot be deleted? Of course, Gallery will not allow an admin to delete an album until it has been emptied of all files first... a chicken and broken egg conundrum.
--J.R.
To view this discussion on the web visit https://groups.google.com/d/msgid/gallery-3-users/ee6181bf-68c0-f7c1-d238-f573e495e940%40thepostalzone.com.
--
WHEN USING AN EMAIL PROGRAM to reply to this message, click REPLY TO LIST or REPLY TO ALL so your reply goes out to everyone in the group. If you click REPLY or REPLY TO SENDER Google will *only* send your reply to the original author (not recommended).
To post a NEW MESSAGE to the group, send an new email to:
gallery...@googlegroups.com
To view or sign in to this group on the web, use this URL:
https://groups.google.com/forum/#!forum/gallery-3-users
---
You received this message because you are subscribed to the Google Groups "Gallery 3 Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gallery-3-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gallery-3-users/4a2f709a-d074-4854-b618-f4e6021c4814n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gallery-3-users/CE156256-7601-4008-AA21-AE845371F343%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gallery-3-users/c523c03a-1ec3-492c-9186-0fd47d6467aen%40googlegroups.com.
It might be possible with direct access to the database and phpmyadmin to truncate the "items" table (not delete) to clear it.
Next step would be if access to the /var/albums is also available, to delete the actual image files and replace them or rename them in place.
Enable the server add module.
Use the server add module to reload the newly renamed image files.
All totally theoretical but I have several G3 installations on
localhost machines just for dev or design work that I can test
these steps out on.
To view this discussion on the web visit https://groups.google.com/d/msgid/gallery-3-users/f7a027a9-5bd2-92a5-86cf-b001da52d9e4%40thepostalzone.com.