WordPress with phpMyAdmin - 404 everywhere

So, I'm trying to make a few changes to a custom WordPress theme that introduces a complete revision of the toolbar. I continue to find small problems with the original topic that I need to fix (incorrectly check duplicate messages when importing new ones, metadata is not saved correctly, messages are not sorted by their respective categories, etc.)

Since I worked with this, I had to browse and modify the database countless times to see what the topic was doing to the database or to fix what it messed up. Unfortunately, I was unable to install phpMyAdmin, so I made changes by directly entering SQL and inserting them into the topic in the appropriate places, and then having a script die()so that I could see the output of my SQL.

Suddenly he hit me that I can find a plugin that integrates phpMyAdmin functionality in WordPress. So I installed wp-phpMyAdmin.

Everything seems to be going fine until I actually try DO . I can browse tables, browse rows and look at everything. But when I try to edit a line or delete a line, I get a redirect to error 404, stating that any part of phpMyAdmin that I accidentally accessed (for example tbl_row_action.php) does not exist. If I go directly to these pages without submitting a form to edit or delete a line, they will work fine, and I get an error message that my SQL query was empty.

Has anyone else experienced this? I really cannot understand why and where it sends 404. This is absolutely ridiculous.

EDIT - A bit of detailed information:

, 404, phpMyAdmin sql.php sql_query

EDIT () - :

404, sql_query . sql.php ( , ) , , , , SELECT ing, DROP ing, DELETE ing, .., . .

404:

test
SELECT test
SELECT test FROM test
SELECT test FROM post_meta
DELETE
DROP
DROP test

404:

SELECT * FROM test
SELECT * FROM post_meta
DELETE FROM
DELETE FROM test
DELETE FROM post_meta
DROP TABLE
DROP TABLE test

-

, sql.php :

die("Test");

, , . 404. , WordPress script, phpMyAdmin

-

WordPress.

, - WordPress. WordPress, -, , SQL URL-, . , SQL- URL-. is_404() true. WP::parse_request() ( WP::main(), wp(), wp-blog-header.php)

, URI SQL- ANYWHERE, 404. , WordPress. -, WordPress, . , $wp_rewrite, URL.

-

, , , , , 404. WordPress. mod_security, Apache, ( SQL URI )

mod_security.

+5
2

WordPress phpMyAdmin, iframe.

, WordPress, ...

, , - phpMyAdmin ( "" WordPress). , ;)

... ...

" " - - , , ;)

, , PMA - - , , , RMD /phpmyadmin.

... WordPress

, , , , , phpMiniAdmin ( !), , .

+1

@molnarm , phpMyAdmin MySQL SSH, - MySQL Workbench Sequel Pro.

MySQL , phpMyAdmin.

0

All Articles