Unable to modify database in PHPMyAdmin

Symptoms

You shall not be able to add/edit/delete records in PHPMyAdmin, cPanel and shall experience the following errors.

Warning: Invalid argument supplied for foreach() in /usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php on line xxx

Warning: Cannot modify header information - headers already sent by(output started at/usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php:xx) in/usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/common.lib.php online xx

Cause


This errors usually shown when cPanel is accessed using http://cpanel.yourdomain.com instead of http://yourdomain.com/cpanel

Workaround

Logout from cPanel and log in using http://yourdomain.com/cpanel.

Add Feedback