TPhpErrorException

Description

[Unknown Error] Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor (@line 233 in file /home/nexev/framework/prado/adodb/adodb.inc.php).

Source File

/home/nexev/www/demo/protected/engine/adodb.php (19)

0008:  * as published by the FREE SOFTWARE FOUNDATION. The GPL is available
0009:  * through the world-wide-web at http://www.gnu.org/copyleft/gpl.html
0010:  * See LICENCE.txt on the root directory for more information.
0011:  *----------------------------------------------------------------------
0012:  * Authors: Yann MARSAUD, yann.marsaud@gmail.com
0013:  *----------------------------------------------------------------------
0014:  */
0015: define('ADODB_ASSOC_CASE', 0); //Instructs ADOdb to always return lowercase field names. For Portability.
0016: $app = Prado::getApplication()->getParameters();
0017: $rootpath = $app["frameworkRoot"];
0018: require_once($rootpath . 'prado/adodb/adodb-exceptions.inc.php');
0019: require_once($rootpath . 'prado/adodb/adodb.inc.php');
0020: 0021: /* 0022: |------------------------------------------------------------------------------------------------------------- 0023: | CLASS: adodb 0024: |------------------------------------------------------------------------------------------------------------- 0025: | DESCRIPTION: Makes adodb library available as a Prado module. 0026: |------------------------------------------------------------------------------------------------------------- 0027: | PROPERTY TYPE 0028: |------------------------------------------------------------------------------------------------------------- 0029: | -$db Obj. An instance of the adodb object (NewADOConnection). 0030: | -$_Driver String. Connection type. For example: mysql; mssql, oci8, odbc. 0031: | http://phplens.com/lens/adodb/docs-adodb.htm#DatabasesSupported

Stack Trace

#0 /home/nexev/www/demo/protected/engine/adodb.php(19): PradoBase::phpErrorHandler(8192, 'Methods with th...', '/home/nexev/fra...', 233, Array)
#1 /home/nexev/www/demo/protected/engine/adodb.php(19): require_once()
#2 /home/nexev/framework/prado/PradoBase.php(291): include_once('/home/nexev/www...')
#3 /home/nexev/framework/prado/PradoBase.php(238): PradoBase::using('adodb')
#4 /home/nexev/framework/prado/TApplication.php(897): PradoBase::createComponent('adodb')
#5 /home/nexev/framework/prado/TApplication.php(956): TApplication->applyConfiguration(Object(TApplicationConfiguration), false)
#6 /home/nexev/framework/prado/TApplication.php(370): TApplication->initApplication()
#7 /home/nexev/www/demo/index.php(34): TApplication->run()
#8 {main}
2019-05-19 17:50 Apache PRADO/3.1.6