Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Sep 2004
    Posts
    713
    Thanks
    6
    Thanked 2 Times in 2 Posts

    any googlecode developer here?

    Hi

    i copied library (download from zend) to my webserver, i use hosting from a web hosting
    company,


    Zend_Loader::loadClass('Zend_Gdata');
    Zend_Loader::loadClass('Zend_Gdata_AuthSub');
    Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
    Zend_Loader::loadClass('Zend_Gdata_Calendar');


    however i think the demo script is not working due to cannot find zend/
    gdata


    the path is wrong, i read documents telling to change php.ini, however
    i am unable to access that, because i am using hosting only, what
    shall i do , anybody can help? thanks
    flying dagger

  • #2
    Senior Coder
    Join Date
    Mar 2003
    Location
    Atlanta
    Posts
    1,037
    Thanks
    14
    Thanked 30 Times in 28 Posts
    PHP Code:
    set_include_path('.' PATH_SEPARATOR './library/'
         
    PATH_SEPARATOR './application/models'
         
    PATH_SEPARATOR './application/'
         
    PATH_SEPARATOR get_include_path()); 
    I use this is my bootstrap file (index.php). Zend is beneath my library folder which is at the same level as my bootstrap.
    index.php
    application/
    models/
    library/
    My/
    Zend/
    public/
    My directory structure looks something like this.
    Last edited by StupidRalph; 02-18-2008 at 08:17 PM.
    Most of my questions/posts are fairly straightforward and simple. I post long verbose messages in an attempt to be thorough.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •