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 328407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:29:32+00:00 2026-05-12T09:29:32+00:00

I am trying to use Zend’s Gbase library, but I cannot figure out how

  • 0

I am trying to use Zend’s Gbase library, but I cannot figure out how to do so without actually installing it in the PHP path.

The complication comes from wanting to make a module for Drupal that is not constrained by the server it is installed on, but can access the library by having it installed in a subfolder of the module.

Does anyone know how to do this? I have tried doing an include of Zend’s Loader and then loading the classes I want, but this keeps throwing errors. Do I NEED to install the library on the server, or is there a way around this, to only have it used on this application?

This is the code:


require_once 'library/Zend/Loader.php';
Zend_Loader::loadClass('Zend_Gdata_Gbase');

I get the folowing messages:

Warning: Zend_Loader::include(Zend/Gdata/Gbase.php) [zend-loader.include]: failed to open stream: No such file or directory in /srv/www/ftp-www/tests/gdata/library/Zend/Loader.php on line 83

Warning: Zend_Loader::include() [function.include]: Failed opening ‘Zend/Gdata/Gbase.php’ for inclusion (include_path=’.:/usr/share/php:/usr/share/pear’) in /srv/www/ftp-www/tests/gdata/library/Zend/Loader.php on line 83

Warning: Zend_Loader::require_once(Zend/Exception.php) [zend-loader.require-once]: failed to open stream: No such file or directory in /srv/www/ftp-www/tests/gdata/library/Zend/Loader.php on line 87

Fatal error: Zend_Loader::require_once() [function.require]: Failed opening required ‘Zend/Exception.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /srv/www/ftp-www/tests/gdata/library/Zend/Loader.php on line 87

  • 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-05-12T09:29:33+00:00Added an answer on May 12, 2026 at 9:29 am

    What about using set_include_path to configure your include_path, adding to it the directory in which Zend Framework’s code is ?

    This way, you can have it whereever you want — whitout having to modify the include_path in the php.ini configuration file.

    For instance, something like this might do :

    $path = '/PATH_TO_THE_FRAMEWORK/';
    set_include_path(get_include_path() . PATH_SEPARATOR . $path);
    

    Wouldn’t that help ?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How to use zend library without using zend framework installation? I am trying to
I'm trying to use Zend's Zend_Service_Amazon class in my php script, but I'm not
I'm trying to figure out how to use Zend_Db_Table_Abstract correctly. I want to return
Im trying to use the Zend Frameworks ACL library in my code (in codeigniter)
I am trying to use Zend Frame work and Ext-Js4 together. But I don't
I am trying to use the Zend Framework to send mail with Gmail, but
I am trying to use the Zend Framework without using the MVC structure, specifically
I am trying to use the new Eventmanager of the Zend Framework 2. I
I'm trying to use an array to set the where parameters for a Zend
I am trying to use the tranlsation webservice from MyMemory: http://mymemory.translated.net/doc/spec.php Unfortunately, Zend_Soap_Client does

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.