Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7806113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T02:25:45+00:00 2026-06-02T02:25:45+00:00

I am forced to use phpquery::getJson for architecture reason and because the Curl php

  • 0

I am forced to use phpquery::getJson for architecture reason and because the Curl php extension give me some problem ( probably I am not able to set it up correctly ).

I wish to use a directly getJson ( I know that I can use also a phpQuery::ajax function and after parse the result manually ) so if anyone less expert than me can use this solution too.

Hello I am trying use this:

phpQuery::getjson($url)

or the other version:

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

But it says :

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'

If anyone has the solution and would like to share, he’s welcome
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T02:25:47+00:00Added an answer on June 2, 2026 at 2:25 am

    Thanks to bluelover to reply from github you should add zendframework to your include path.

    So downlowad the 1.1 version of zend framework, put it inside a folder reachable by apach ( f.e. /var/www/Zf1_1/ ) and then set the ZF frameowkr inside the include path this way:

    //replace /var/www/Zf1_1/library with your actualy ZF library path
    set_include_path(get_include_path() . PATH_SEPARATOR . '/home/giuseppe/homeProj/ZendFramework1/ZendFramework-1.11.11/library/');
    

    if it gives you problem with permission denied don’t forget to put when it’s in use from unix terminal

    $ chown www-data -R /var/www/Zf1_1/library 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm forced to use DOS to write some batch scripts. How to do arithmetic
As always, i'm forced to use technologies i'm not familiar with :(. For now
This is probably a stupid question! I am being forced to use Castle Windsor
Because of intricate animations for an iOS project, I'm kinda forced to use Flash
I'm forced to use an older version of php on a server, and it
basically I'm not really a Java/Scala fan, but unfortunately I'm forced to use it
I am forced to use VS2008 for the bulk of my projects at work,
Im populating a GridView from List so am forced to use TemplateField controls to
I am starting to learn Python, but I'm forced to use a v2.6.2 interpreter.
My app is forced to use a 3rd party module which will blue-screen Windows

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.