Hello/Hi/Greetings,
Want to delete all comments got hit and now have over 4000 comments
Environment •Piwigo 2.9.5
•Operating system: Linux
•PHP: 7.2.17-0ubuntu0.18.04.1 (Show info) [2019-05-21 18:05:50]
•MySQL: 5.7.26-0ubuntu0.18.04.1 [2019-05-21 17:05:50]
•Graphics Library: ImageMagick 6.9.7-4
Offline
Hello/Hi/Greetings,
try to log in admin ---> tools ----> comments
(check all)
thank you
Offline
That works fine, but it only allows you to delete 10 at a time, I'd have to repeat that about 400 times LOL
Thanks for trying, was hoping there was a Bulk delete
Offline
You can use phpMyAdmin, or whatever database admin frontend your hoster offers.
Backup your database!
Open the Piwigo database, locate table piwigo_comments (or with the corresponding prefix instead of piwigo_ if you used a different one), open it, let all rows display (or in bulks of 500 or so), select all, delete.
If you have access to command line SQL only, the command for the not faint of heart would be TRUNCATE TABLE piwigo_comments or if truncate is not available then DELETE FROM piwigo_comments
Offline
Let me ask a stupid question, I have access to PHPAdmin, if I delete this field, of course the comments will be gone, if a valid user try's to enter a comment, that won't happen or will the system automatically create the new field and allow the valid comment
Offline
Do not delete "a field" nor the structure of the table, delete the records of the table piwigo_comments, that is you clear the table of all records, not the table itself nor any fields. You will lose all existing comments. New comments will be added to the table.
Offline
That worked Great thanks alot, was very unsure about messing with the data base like that, but was easy
Thanks again
Keith
Offline