MyBBHacks.com Plugins for  MyBB

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
photos delete
#1
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
Reply
#2
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';
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#3
Thanks, it worked
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)