phpMyAdmin causing errors which prevent me from working

damainman

Well-Known Member
Nov 13, 2003
515
0
166
It usually happens randomly and I usually just retry to do what I was trying to accomplish and the second attempt usually works. However for the past 15 minutes i've been trying to add a new row into a table and I keep getting the error which is driving me insane.

Server info:
cPanel 11.24.5-R38506 - WHM 11.24.2 - X 3.9
CENTOS 5.4 x86_64 standard

----
1. Basically i log into Root via WHM
2. Open up phpMyAdmin
3. Browse to the database base I want to edit
4. Browse the table I wish to edit
5. Click on the "Insert" tab
6. type in the data for the row in the fields
7. Click on "GO"

8. Then a alert popup appears asking me to confirm, because it will take me away from the page.
9. I click on OK and get the error I'm going to paste below.

Note: Usually I don't receive an alert popup... but when I do, that's when the error occurs.

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

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php:142) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/ob.lib.php on line 83

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php:142) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/header_http.inc.php on line 22

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php:142) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/header_http.inc.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php:142) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/header_http.inc.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php:142) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/header_http.inc.php on line 25

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php:142) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/header_http.inc.php on line 28
Server: localhost

#0 PMA_sendHeaderLocation(https://mywebsite.com:2087/3rdparty...3f083e901e2f188894&message=No+change&reload=1) called at [/usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/db_common.inc.php:45]
#1 require(/usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/db_common.inc.php) called at [/usr/local/cpanel/base/3rdparty/phpMyAdmin/db_sql.php:16]
#2 require(/usr/local/cpanel/base/3rdparty/phpMyAdmin/db_sql.php) called at [/usr/local/cpanel/base/3rdparty/phpMyAdmin/tbl_replace.php:283]


Fatal error: PMA_sendHeaderLocation called when headers are already sent! in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/common.lib.php on line 660
?????V??
Does anyone know what might be causing this?

Thank you in advance.

Note:

Before actually posting this article I tried to insert a new row into a table for my 10th attempt and it finally worked! .... Like I said, the issue is happens randomly but it did prevent me from working for a about 15 minutes which is why i made this post.
 
Last edited:

damainman

Well-Known Member
Nov 13, 2003
515
0
166
Okay the pop-up alert I receive says:
"This web page is being redirected to a new location. Would you like to resend the form data you have typed to the new location?
Then it has Cancel and Ok as options.

------
This time I received the popup alert when browsing a table. The data row I was looking for wasn't on the initial page so I clicked on the ">" button towards the bottom to go to the next page of rows.

Upon clicking on OK on the popup alert, I now received this error:

Error

MySQL said: Documentation
#1065 - Query was empty
---
Does anyone know what might be causing me to receive these two errors? On a side note in case it makes a difference… I always log into WHM securely via HTTPS.

Thank you.