There is such code:
var $createdatabase = 'CREATE DATABASE IF NOT EXISTS '.$this->sql_database;
$ this-> sql_database - a variable inherited from a child class. Swears at the point. If you put quotes:
var $createdatabase = "CREATE DATABASE IF NOT EXISTS $this->sql_database";
Begins to swear at the first quote, what's wrong?