Now it adds parameters to the database, but displays another error:
Query Error: ALTER DATABASE gallants_fusion CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;<br/>Stack Trace: #0 /public_html/includes/db_handlers/pdo_functions_include.php(43): PDOStatement->execute() #1 /public_html/administration/upgrade.php(62): dbquery('ALTER DATABASE ...') #2 {main}<br/>Error Nature: SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.
0 replies