Jump to content

Question

Posted

Hi all,

 

I'm attempting to use the Zend Framework to access google calendar but I'm encountering various stumbling blocks and it's perhaps down to my general inexperience with php.  I am learning though!

 

I've never used a framework before so bare with me.

 

I'm assuming I haven't set it up correctly and I'm pretty unsure about a couple of points?  The installation states that Zend needs to be added to the php includes path but we don't have access to the php config without calling up the company that manages our hosting and getting them to set it up which I'd rather not have to do.

 

Initially I thought that the includes path just referred to statements such as this:

 

require_once 'Zend/Gdata.php';
require_once 'Zend/Loader.php';
 
//Let's enable autoload, ZF handles this nicely
Zend_Loader::registerAutoload();

 

Am I mistaken or does something actually need to be done with the main php.ini config file?

 

Many thanks!

 

Alex

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Posted

Fixed it by just using the above code and ensuring he directory was in the right place. I was just being a dumbass as I was tired!

Share this post


Link to post
Share on other sites
  • 0

Posted

fyi Zend has one of the biggest learning curves and is huge so depending how inexperienced you are it may not be the way to go.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.