MyBBHacks.com Plugins for MyBB

Full Version: photos delete
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
ezGallery, I have linked several photos incorrectly
How can I delete several?
I can delete one photo without any problems
But already with 2 photos I get this error:

Code:
Fatal error: Uncaught mysqli_sql_exception: Unknown column 'gallerypic_total' in 'field list' in /var/www/www-root/data/www/xxx/inc/db_mysqli.php:340 Stack trace: #0 /var/www/www-root/data/www/xxx/inc/db_mysqli.php(340): mysqli_query(Object(mysqli), 'UPDATE mybb_use...') #1 /var/www/www-root/data/www/xxxxx/inc/ezgallery.lib.php(509): DB_MySQLi->query('UPDATE mybb_use...') #2 /var/www/www-root/data/www/xxxx/inc/ezgallery.lib.php(2853): UpdateMemberPictureTotals('1') #3 /var/www/www-root/data/www/xxxx/ezgallery.php(272): DeletePictureByID(12528) #4 /var/www/www-root/data/www/xxx/ezgallery.php(202): mainview() #5 {main} thrown in /var/www/www-root/data/www/xxxx/inc/db_mysqli.php on line 340
Did you have the lite edition before?
Looks like you are missing some database changes
Run these mysql on your database
Code:
ALTER TABLE mybb_users ADD gallerypic_total int(11) NOT NULL default '0';
ALTER TABLE mybb_users ADD gallery_usercat_made int(11) NOT NULL default '0';
Thanks, it worked