Skip to content

GetJson problem or missing file #1

@ereallstaff

Description

@ereallstaff

Hello I am trying use this:

phpQuery::ajax(array(
'type' => 'GET',
'url' => $url,
'data' => array('prova'=>'ciao'),
'success' => getJsCallback($doc),
'dataType' => 'json',
));

But it satys :

Warning: require_once(Zend/Json.php): failed to open stream: No such file or directory in /home/giuseppe/homeProj/phpQuery/phpQuery/phpQuery/Zend/Json/Decoder.php

So I added manually from ZendFramework
Zend/Json.php
Zend/Json/Expr.php

And it gives me :
Fatal error: Uncaught exception 'Zend_Json_Exception' with message 'Illegal Token'

Could you check please?
Thankls

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions