I tried to install phpMyAdmin on a customers webserver. Suddenly I get this error:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /homepages/29/d104628985/htdocs/*****-*****/phpMyAdmin/index.php on line 53
I did not change anything in the files of phpMyAdmin. At last I found that somebody deleted the php.ini from the directory. Can be this the reason for the error?
This is the block with line 53 (the sixth line).
require_once 'libraries/RecentTable.class.php';
if ($GLOBALS['is_ajax_request'] && ! empty($_REQUEST['recent_table'])) {
$response = PMA_Response::getInstance();
$response->addJSON(
'options',
PMA_RecentTable::getInstance()->getHtmlSelectOption()
);
exit;
}