So, after looking for round-about, I used this method:
on \lib\Flux\Installer\Schema.php
public function install($version)
{
if (!array_key_exists($version, $this->schemaInfo['versions']) || !$this->schemaInfo['versions'][$version]) {
// Switch database.
$this->connection->useDatabase($this->databaseName);
// Get schema content.
$sql = file_get_contents($this->schemaInfo['files'][$version]);
$sth = $this->connection->getStatement($sql);
// Execute.
$sth->execute();
unset($sth); //ADDED THIS LINE
I'm using the required versions of PHP and MySQL and PDO BTW. Not quite sure if this is a bug or anything. Just wanted to post it so it can be looked at if it is a bug or not.
Question
Boom
Hi! After a long hiatus (because of schoolwork), I'm coming back to the rA community.
Seen new things coming and one of which is the new FluxCP-rA: http://rathena.github.io/FluxCP/
Upon installing, I've encountered this error:
So, after looking for round-about, I used this method:
on \lib\Flux\Installer\Schema.php
I'm using the required versions of PHP and MySQL and PDO BTW. Not quite sure if this is a bug or anything. Just wanted to post it so it can be looked at if it is a bug or not.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts