Error

Error

Description

Call to undefined function mysql_connect()

Source File

/home/djnoname/ftp/filmiki24/libs/adodb/drivers/adodb-mysql.inc.php (354)

0343:         if (!$date) $date = $this->sysDate;
0344:         $fraction = $dayFraction * 24 * 3600;
0345:         return "from_unixtime(unix_timestamp($date)+$fraction)";
0346:     }
0347:     
0348:     // returns true or false
0349: function _connect($argHostname, $argUsername, $argPassword, $argDatabasename)
0350: {
0351: if (!empty($this->port)) $argHostname .= ":".$this->port;
0352: 
0353: if (ADODB_PHPVER >= 0x4300)
0354: $this->_connectionID = @mysql_connect($argHostname,$argUsername,$argPassword,
0355: $this->forceNewConnect,$this->clientFlags) or die( include ('./_dodatki/blad_mysql.php')); 0356: else if (ADODB_PHPVER >= 0x4200) 0357: $this->_connectionID = @mysql_connect($argHostname,$argUsername,$argPassword, 0358: $this->forceNewConnect) or die( include ('./_dodatki/blad_mysql.php')); 0359: else 0360: $this->_connectionID = @mysql_connect($argHostname,$argUsername,$argPassword); 0361: 0362: if ($this->_connectionID === false) return false; 0363: if ($argDatabasename) return $this->SelectDB($argDatabasename) or die( include ('./_dodatki/blad_mysql.php')); 0364: return true; 0365: } 0366:

Stack Trace

#0 /home/djnoname/ftp/filmiki24/libs/adodb/adodb.inc.php(414): ADODB_mysql->_connect('localhost', 'djnoname_filmik...', '1342419Ag?!', 'djnoname_filmik...')
#1 /home/djnoname/ftp/filmiki24/protected/modules/dataModule.php(98): ADOConnection->Connect('localhost', 'djnoname_filmik...', '1342419Ag?!', 'djnoname_filmik...')
#2 /home/djnoname/ftp/filmiki24/protected/modules/dataModule.php(84): dataModule->getDatabaseConnection()
#3 /home/djnoname/ftp/filmiki24/protected/modules/dataModule.php(78): dataModule->__call('Execute', Array)
#4 /home/djnoname/ftp/filmiki24/libs/prado/TApplication.php(867): dataModule->init(Object(TXmlElement))
#5 /home/djnoname/ftp/filmiki24/libs/prado/TApplication.php(334): TApplication->initApplication()
#6 /home/djnoname/ftp/filmiki24/index.php(39): TApplication->run()
#7 {main}
2018-08-17 16:47 Apache/2 PRADO/3.0.2