FS#24388 - [phpmyadmin-3.4.x] Incompatible with Arch's PHP (missing json_* functions)

Attached to Project: Community Packages
Opened by mpan (mpan) - Sunday, 22 May 2011, 08:59 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 28 May 2011, 16:51 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary:
After updating to 3.4.x phpMyAdmin fails silently to perform many of user's requests or notify user about an error.

Description:
Versions 3.4 of phpMyAdmin (tested with 3.4.0 and the latest - 3.4.1) require functions from json_* family. According to PHP docs, in PHP>=5.3 those are enabled by default. However Arch's PHP package is being built with `--enable-json=shared` option, which disables json_* functions and require user to load JSON module from php.ini.

Packeges used for tests (all x86-64):
- phpmyadmin 3.4.1-1
- php 5.3.6-3
- apache 2.2.17-3

Steps to reproduce:
1. Be sure to enable JavaScript in your browser
2. Log into phpMyAdmin
3. Go to SQL query tab
4. Enter "blahblah" as SQL query
5. Run query
6. "Loading" message should appear
7. After a moment the message disappears without any errors
Steps 3-5 are just an example - the same effect may be reached with many other phpMyAdmin's functions.

Expected actions:
During package update user should be notified that JSON module should be enabled in php.ini.
This task depends upon

Closed by  Jelle van der Waa (jelly)
Saturday, 28 May 2011, 16:51 GMT
Reason for closing:  Implemented
Comment by Jelle van der Waa (jelly) - Saturday, 28 May 2011, 16:44 GMT
Which modules are required for phpmyadmin, since sergej is inactive i can update his package if you could tell me which modules need to be enabled in php.ini?

Loading...