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 <[EMAIL PROTECTED]> wrote:
>
> http://book.cakephp.org/view/538/Loading-Vendor-Files
>
> On Sep 8, 6:44 pm, . <[EMAIL PROTECTED]> 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
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---