Deprecated: Non-static method GalleryTranslator::getLanguageCodeFromRequest() should not be called statically in /usr/share/gallery2/upgrade/index.php on line 103 Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /usr/share/gallery2/lib/adodb/drivers/adodb-mysql.inc.php:364 Stack trace: #0 /usr/share/gallery2/lib/adodb/drivers/adodb-mysql.inc.php(395): ADODB_mysql->_connect('localhost', 'kevinsgallery', 'hawIafOtur', 'kevinsgallery') #1 /usr/share/gallery2/lib/adodb/adodb.inc.php(428): ADODB_mysql->_nconnect('localhost', 'kevinsgallery', 'hawIafOtur', 'kevinsgallery') #2 /usr/share/gallery2/lib/adodb/adodb.inc.php(467): ADOConnection->Connect('localhost', 'kevinsgallery', 'hawIafOtur', 'kevinsgallery', true) #3 /usr/share/gallery2/modules/core/classes/GalleryStorage.class(235): ADOConnection->NConnect('localhost', 'kevinsgallery', 'hawIafOtur', 'kevinsgallery') #4 /usr/share/gallery2/modules/core/classes/GalleryStorage/GalleryStorageExtras.class(69): GalleryStorage->_getConnection() #5 /usr/share/gallery2/modules/core/classes/GalleryStorage/GalleryStorageExtras.class(1815): GalleryStorageExtras->_dbInit() #6 /usr/share/gallery2/modules/core/classes/GalleryS in /usr/share/gallery2/lib/adodb/drivers/adodb-mysql.inc.php on line 364