Closed Thread
Results 1 to 1 of 1

Thread: Zend GData Framework

  1. #1
    adam.k is offline x10Hosting Member adam.k is an unknown quantity at this point
    Join Date
    Sep 2008
    Posts
    35

    Zend GData Framework

    Hello,
    I really am very sorry if there is a solution to the problem I am having but I have searched and nothing I found could really answer my question. I am trying to code a PHP page that uses the Zend GData framework to connect to a Google Calendar and retrieve data. I can get the code to work fine on my personal web server running on my computer, but when I upload it to the x10Hosting server it breaks. I know that i need to modify my include path and have put code in that I *think* should work but obviously I'm doing something wrong because it doesn't work.

    This is the code I'm using to modify the include path
    Code:
        // Edit the include path
        ini_set('include_path',':/home/adamk/public_html/gcal/library');
        //ini_set('include_path',';C:\xampp\htdocs\equip\experimental\gcal\libs\library');
        //echo(get_include_path()); // This is only for local server
    
        // Require and Include Statements
        require_once'Zend/Loader.php'; // Get some stuff we need
            
        // Load required classes
        Zend_Loader::loadClass('Zend_GData'); // Load the Zend_GData class
        Zend_Loader::loadClass('Zend_GData_Calendar'); // Load the Calendar classes
    Whenever I load the page I get the following errors:



    If anyone can help me with this I would be extremely grateful.

    *Edit*
    Different Errors Now

    Warning: Zend_Loader::include_once(Zend/GData.php) [zend-loader.include-once]: failed to open stream: No such file or directory in /home/adamk/public_html/gcal/library/Zend/Loader.php on line 83

    Warning: Zend_Loader::include_once() [function.include]: Failed opening 'Zend/GData.php' for inclusion (include_path=':/home/adamk/public_html/gcal/library') in /home/adamk/public_html/gcal/library/Zend/Loader.php on line 83

    Fatal error: Uncaught exception 'Zend_Exception' with message 'File "Zend/GData.php" does not exist or class "Zend_GData" was not found in the file' in /home/adamk/public_html/gcal/library/Zend/Loader.php:88 Stack trace: #0 /home/adamk/public_html/gcal/gcalbackend.php(17): Zend_Loader::loadClass('Zend_GData') #1 /home/adamk/public_html/gcal/c_c.php(59): run() #2 {main} thrown in /home/adamk/public_html/gcal/library/Zend/Loader.php on line 88

    - Adam
    Last edited by adam.k; 01-04-2009 at 02:18 PM.

Closed Thread

Similar Threads

  1. Zend Optimizer not installed
    By userwap in forum Free Hosting
    Replies: 3
    Last Post: 09-07-2008, 09:49 AM
  2. Zend Framework
    By shaedrew in forum Free Hosting
    Replies: 1
    Last Post: 07-07-2008, 06:03 PM
  3. Zend framework - PDO extension etc
    By blademike in forum Programming Help
    Replies: 1
    Last Post: 03-12-2008, 03:21 PM
  4. Zend Framework
    By sasquatch in forum Feedback and Suggestions
    Replies: 2
    Last Post: 08-27-2007, 01:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers