Re: Cake 1.2 App::import("vendor") isn't finding the file

2008-07-11 Thread mark_story
On Jul 11, 11:07 am, NOSLOW <[EMAIL PROTECTED]> wrote: > I think the second paramter, "PHPBB_Login", should be all lower case > just to get the file to load. Then when instantiating the class > "PHPBB_Login", keep the case as it's defined inside the file. > > Based on the examples here:http://bo

Re: Cake 1.2 App::import("vendor") isn't finding the file

2008-07-11 Thread NOSLOW
I think the second paramter, "PHPBB_Login", should be all lower case just to get the file to load. Then when instantiating the class "PHPBB_Login", keep the case as it's defined inside the file. Based on the examples here: http://book.cakephp.org/view/499/the-app-class, it looks that as soon as y

Re: Cake 1.2 App::import("vendor") isn't finding the file

2008-07-11 Thread clrockwell
Got it working. First I tried deprecated way of vendor('lastrss') and it worked fine. So I tried App::import('vendor', 'lastrss') and it also worked fine. Did not think it would be case sensitive, but in my case (and maybe yours) it is. On Jul 11, 9:31 am, clrockwell <[EMAIL PROTECTED]> wrote:

Re: Cake 1.2 App::import("vendor") isn't finding the file

2008-07-11 Thread clrockwell
If forgot to mention that I am importing a different class, lastrss.php Code: App::import('Vendor','lastrss'); On Jul 11, 9:29 am, clrockwell <[EMAIL PROTECTED]> wrote: > If you happen to come by a solution, please post it here. I am having > the same issue. Using RC2, build 7296 > > On Jul 11

Re: Cake 1.2 App::import("vendor") isn't finding the file

2008-07-11 Thread clrockwell
If you happen to come by a solution, please post it here. I am having the same issue. Using RC2, build 7296 On Jul 11, 4:47 am, RichardAtHome <[EMAIL PROTECTED]> wrote: > Just tried: > > App::import("Vendor", "PHPBB_Login", false, null, 'phpbb.php'); > > And I'm still getting the same error: > >

Re: Cake 1.2 App::import("vendor") isn't finding the file

2008-07-11 Thread RichardAtHome
Just tried: App::import("Vendor", "PHPBB_Login", false, null, 'phpbb.php'); And I'm still getting the same error: Fatal error: Class 'PHPBB_Login' not found in C:\htdocs\projects \archimbolo\app\controllers\users_controller.php on line 42 On Jul 10, 9:15 pm, "b logica" <[EMAIL PROTECTED]> wrot

Re: Cake 1.2 App::import("vendor") isn't finding the file

2008-07-11 Thread RichardAtHome
> I did it the other way round - Auth the user in cake and set the cookies as > expected by PHPBB - seemed like much less work That was the direction I was veering towards too (if the phpBB class doesn't work...) Will definitely post my results when (if?) I get it to work... On Jul 11, 5:27 am

Re: Cake 1.2 App::import("vendor") isn't finding the file

2008-07-10 Thread Dr. Tarique Sani
On Fri, Jul 11, 2008 at 12:12 AM, Jonathan Snook <[EMAIL PROTECTED]> wrote: > > btw: if you're doing what I think you're doing, I'd love to see the > final result. To get login working for a PHPBB integration, I ended up > just using curl to do a post request and then pass the session cookies > on

Re: Cake 1.2 App::import("vendor") isn't finding the file

2008-07-10 Thread b logica
try App::import("Vendor", "PHPBB_Login", false, null, 'phpbb.php'); On Thu, Jul 10, 2008 at 1:21 PM, RichardAtHome <[EMAIL PROTECTED]> wrote: > > Hi all > > I have a vendor class I've put in \root\vendors\phpbb.php > > Which contains the class: > > class PHPBB_Login { > } > > And am referencing

Re: Cake 1.2 App::import("vendor") isn't finding the file

2008-07-10 Thread Jonathan Snook
btw: if you're doing what I think you're doing, I'd love to see the final result. To get login working for a PHPBB integration, I ended up just using curl to do a post request and then pass the session cookies onto the end user. A little hackish but it worked. On 7/10/08, RichardAtHome <[EMAIL PR

Cake 1.2 App::import("vendor") isn't finding the file

2008-07-10 Thread RichardAtHome
Hi all I have a vendor class I've put in \root\vendors\phpbb.php Which contains the class: class PHPBB_Login { } And am referencing it in my code with the following: App::import("Vendor", "PHPBB_Login", array("file"=>"phpbb.php")); (which I think is right) But when I try an instance the cla