Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP : Tester disponibilité JSON #306

Closed
Alkarex opened this issue Dec 1, 2013 · 3 comments
Closed

PHP : Tester disponibilité JSON #306

Alkarex opened this issue Dec 1, 2013 · 3 comments
Assignees
Milestone

Comments

@Alkarex
Copy link
Member

Alkarex commented Dec 1, 2013

À ma surprise dans l'actuelle Ubuntu 13.10, php5-json n'est pas inclus...
http://askubuntu.com/questions/361424/what-happened-to-json-encode-in-13-10-php

Chez Debian / Ubuntu, il faut installer apt-get php5-json

#273

@Alkarex
Copy link
Member Author

Alkarex commented Dec 1, 2013

De plus, lorsque l'extension JSON n'est pas chargée, lib_phpQuery appelle require_once('Zend/Json/Decoder.php') et require_once('Zend/Json/Encoder.php') qui n'existent pas.
Voir aussi 85e7ac9

@Alkarex
Copy link
Member Author

Alkarex commented Dec 1, 2013

N'importe quoi... https://bugs.php.net/bug.php?id=63520
Ou l'urgence de casser la compatibilité pour une histoire de licence vraiment ridicule qui aurait tout a fait pu attendre encore un peu que le remplacement soit prêt :-/

Alkarex added a commit that referenced this issue Dec 1, 2013
Alkarex added a commit that referenced this issue Dec 1, 2013
Utilise http://pear.php.net/package/Services_JSON si les fonctions
json_* native de PHP ne sont pas disponibles
Pour #306
Alkarex added a commit that referenced this issue Dec 1, 2013
Alkarex added a commit that referenced this issue Dec 1, 2013
Les réponses JSON utilisaient indument text/html
Repéré à cause de
#306
@ghost ghost assigned Alkarex Dec 1, 2013
@Alkarex
Copy link
Member Author

Alkarex commented Dec 1, 2013

Corrigé

@Alkarex Alkarex closed this as completed Dec 1, 2013
Alkarex added a commit to Alkarex/FreshRSS that referenced this issue Sep 17, 2019
After moving to PHP 5.6+ FreshRSS#2527
it should not be necessary to have the JSON.php fallback anymore, which
was mainly there due to an obscure licensing issue 6 years ago in Debian
https://wiki.debian.org/qa.debian.org/jsonevil , which broke Ubuntu
13.10 FreshRSS#306
Alkarex added a commit that referenced this issue Sep 18, 2019
After moving to PHP 5.6+ #2527
it should not be necessary to have the JSON.php fallback anymore, which
was mainly there due to an obscure licensing issue 6 years ago in Debian
https://wiki.debian.org/qa.debian.org/jsonevil , which broke Ubuntu
13.10 #306
javerous pushed a commit to javerous/FreshRSS that referenced this issue Jan 20, 2020
After moving to PHP 5.6+ FreshRSS#2527
it should not be necessary to have the JSON.php fallback anymore, which
was mainly there due to an obscure licensing issue 6 years ago in Debian
https://wiki.debian.org/qa.debian.org/jsonevil , which broke Ubuntu
13.10 FreshRSS#306
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant