Hello,
I moved my website to domain and it is throwing error "AbanteCart core v.1.2.10 syntax error, unexpected '}', expecting ',' or ')' in <b>/home/newucb/public_html/core/database/apdomysql.php</b> on line <b>20</b>"
which is :
try{
$this->connection = new PDO("mysql:host=" . $hostname . ";port=" . $port . ";dbname=" . $database,
$username, $password, array (PDO::ATTR_PERSISTENT => true));
} catch (AException $e){
$err = new AError('Cannot establish database connection to ' . $database . ' using ' . $username . '@' . $hostname);
$err->toLog();
Can you help me how to get rid of this error. it is working fine on localhost.. I understand some files gets changed/doesn't work on server but how to resolve this??