POST buttons returning 500 page

How to use phpmyadmin.... phpmyadmin related arguments. Even phpMyAdmin issues

Moderators: macek, egami, gesf

User avatar
anjanesh
New php-forum User
New php-forum User
Posts: 2
Joined: Sat Dec 06, 2003 8:00 pm
Location: Trivandrum, Kerala, India

POST buttons returning 500 page

Postby anjanesh » Mon Jun 12, 2006 8:35 pm

Hi

On my sites (shared host), I've uploaded phpMyAdmin and login works (cookie based) and whatever links are there works. But each time I click a button (POSTing a FORM like Next Page after clicking Browse) it gives a 500 (Internal Server Error) on the right-frame.

Using phpMyAdmin 2.8.1 - I uploaded phpMyAdmin270pl2 and phpMyAdmin264pl4 too to check if it works in older versions and found that the same error occurs.

Is there any idea why this may not be working (since login is working) ?

Btw, register_globals is Off.

PHP Version 4.4.2-1
Apache 2.0
MySQL Client API 5.0.20a

Thanks

User avatar
Redcircle
Moderator
Moderator
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Postby Redcircle » Wed Jun 14, 2006 8:07 pm

A lot of times 500errors can be permissions.

User avatar
anjanesh
New php-forum User
New php-forum User
Posts: 2
Joined: Sat Dec 06, 2003 8:00 pm
Location: Trivandrum, Kerala, India

Postby anjanesh » Wed Jun 14, 2006 8:10 pm

I got this one solved in SF's phpMyAdmin forums.
Checking the logs I found

Code: Select all

[Tue Jun 13 06:18:41 2006] [error] [client xxx.xxx.xxx.xx] mod_security: Access denied with code 500. Pattern match "(insert[[:space:]]+into.+values|select.+from|bulk[[:space:]]+insert|union.+select)" at POST_PAYLOAD [id "300016"] [rev "1"] [msg "Generic SQL injection protection"] [severity "2"] [hostname "mydomain.com"] [uri "/phpMyAdmin281/sql.php"]

If you dont get the exact error above, you'll defintely get something of the form :

Code: Select all

---
Access denied with code 500. Pattern match....
Generic SQL injection protection
---

Theres just one line you need to add to your .htaccess file in phpMyAdmin

Code: Select all

SecFilterInheritance Off


http://article.gmane.org/gmane.comp.apa ... .user/1544


Return to “phpMyAdmin”

Who is online

Users browsing this forum: No registered users and 0 guests

cron