Oh sorry, I misread your initial post. From what I can see you're
> Adam, that is not the problem I was having. I am calling the library
> correctly
> (App::import('Vendor','nusoap',array('file'=>'nusoap/lib/nusoap.php'))...
> my problem was that one of the library files was returning the error "cannot
> find the file " (something similar) when it has this line:
> require_once('../lib/nusoap.php')
> changing the "../lib/nusoap.php" to "APP\vendors\nusoap\lib\nusoap.php'
> fixes this, however. So, will I have to change all of the references to the
> "incorrect" file references in all of the library files? Or, am I doing
> something wrong?
> On Mon, Sep 8, 2008 at 3:18 AM, Adam Royle <a...@sleekgeek.com.au> wrote:
> >http://book.cakephp.org/view/538/Loading-Vendor-Files
> > On Sep 8, 6:44 pm, . <lun...@gmail.com> wrote:
> > > I am trying to put the nusoap library into the vendors area (cake 1.2
> > rc2)
> > > so i have vendors/nusoap/lib/...
> > > vendors/nusoap/samples/client1.php
> > > in client1.php, i have require_once('../lib/nusoap.php');
> > > However, this returns an error (cannot find the file nusoap.php in the
> > lib
> > > folder.
> > > This is how to fix it (I think)
> > > require_once('APP\vendors\nusoap\lib\nusoap.php');
> > > Why wouldn't require_once('../lib/nusoap.php') work?
> > > thanks