Re: Bcrypt / Blowfish login form troubles.

2013-01-29 Thread Atomic Guava
I was having exactly the same issue, and by using the debug() function on the variables used in the BlowfishAuthenticate class, I made the discovery that my password field's length in my MySQL database table was too short. I had been using 50 characters, but the Blowfish hashes are longer and

Re: Best practice to call cake schema update without shell

2013-01-29 Thread euromark
It can. If you got sufficient rights to do that (executable rights for this user - www-data probably). But I am not sure if thats a very good idea. Why not providing shell access here? Am Dienstag, 29. Januar 2013 05:59:51 UTC+1 schrieb LDSign: Hi I would like to call a shell command on a

autoComplete with jquery in cake 1.3

2013-01-29 Thread Chris
hi guys,.. can you help me please,... I'm in cake 1.3 and using jquery libraries I got all setup, including jquery.autocomplete.min.js from Ajax Javascript helper http://www.cakephp.4uk.pl/ajax/autoComplete ,... I can see the fistnames in autocomplete form field, but I can't select them,...

Datasource

2013-01-29 Thread André Luis
Hi people, i am trying to create a Datasource to connect do Cpanel API to create some e-mails directly from my administrator pannel, for this i am using the xmlapi class from Cpanel (in Vendor folder), the use is something similiar to this: $api=new xmlapi('host','username','password');

Re: Best practice to call cake schema update without shell

2013-01-29 Thread LDSign
The hoster is 11 (Business Pro Shared Host). Ive already tried accessing the shell via ssh, but it seems Ive no right for that. I would like to call cake schema update on a scheme I have uploaded to the production/presentation server which is currently in testing state (so db changes are common).

Re: Datasource

2013-01-29 Thread André Luis
I got the e-mail creation working, but this message always shows, is there anyway to avoid it in datasource?? *Notice* (8): Undefined index: database [*CORE\Cake\Model\Datasource\DataSource.php*, line *102*] Thanks... Also, how can i implement the find('all') and find('first') in

Using variable from controller in model

2013-01-29 Thread MetZ
Hi all. I am struggling passing a variable to my before save function in my User model. Controller: $this-User-read(null, $data['user_id']); $this-User-set(array( 'noslug' = 1, 'TEST' = 'sdfsd' ));

CakeTestCase, output and graceful failing

2013-01-29 Thread Vanja Dizdarević
Pretty newb at Testing, but I wish to create a list-of-feature-test with some useful output. I have created a test case for a parser which loads about a 100 *input* + * expected* pairs from an external definition file. So far so good, test runs OK with this method: public function

Auth Login Redirect is not redirecting or encrypting user info

2013-01-29 Thread Shosho
I'm using cakephp 2.3, and trying to use a table other than users(editors) for user authentication. Using topics here, stackoverflow and the documentation for reference, i've almost got it, just hung up on the login. If I try to access anything, the app does display the login, however even with

cakephp on XAMPP for windows

2013-01-29 Thread roundrightfarm
Greetings Everyone, Just installed XAMPP 1.8.1 for Windows which I plan to use to test a cakephp web-app. The basic install worked fine, but once I copied all the cake files to htdocs, I started getting errors I don't understand. Even with debug set to 0, I get this message: Strict Standards:

Re: Validating multiple fields problem

2013-01-29 Thread lowpass
That's kind of a lot to take in. I'm not sure what to make of your models. CharactersEvent, especially. You don't say how you're saving the data, btw. And have you tried putting a log call just before the foreach? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter

Re: autoComplete with jquery in cake 1.3

2013-01-29 Thread lowpass
If you're seeing the results then it isn't a Cake problem. I'd guess CSS, probably with the floats. Have you tried installing Firebug? On Tue, Jan 29, 2013 at 5:31 AM, Chris chris...@yahoo.com wrote: hi guys,.. can you help me please,... I'm in cake 1.3 and using jquery libraries I got all

Re: Using variable from controller in model

2013-01-29 Thread lowpass
Are you sure that User-data exists after calling read()? After calling set() debug the User-data to see whether id is set. On Tue, Jan 29, 2013 at 9:41 AM, MetZ met...@gmail.com wrote: Hi all. I am struggling passing a variable to my before save function in my User model. Controller:

Re: Validating multiple fields problem

2013-01-29 Thread Michael Gaiser
CharactersEvent would have just been the join table in a HABTM relationship between the Character model and the Event model if it wasnt for the fact that I needed to also assign a role to that record. Thus, it got promoted into needing its own Model and now is part of a HasMany/Belongs to with the

Re: cakephp on XAMPP for windows

2013-01-29 Thread roundrightfarm
I am running cake 1.3. Is it possible that there is something in 1.3 that is incompatible with XAMPP 1.8.1 and I need to upgrade cake (or downgrade XAMPP)? On Jan 29, 4:26 pm, roundrightfarm roundrightf...@gmail.com wrote: Greetings Everyone, Just installed XAMPP 1.8.1 for Windows which I plan

MongoDB queries being escaped?

2013-01-29 Thread Shahruk Khan
I am trying to do : $courses = $this-Course-find(all, array(conditions = array(Course.professor = /Odinga/))); This is the equivalent of Mysql %Odinga%. Unfortunately, I get the following query: db.courses.find( {professor:\/\/Odinga, Sobukwe\/\/} ); CakePHP is escaping the backslashes which

Re: MongoDB queries being escaped?

2013-01-29 Thread Shahruk Khan
Nvm got it. $this-Course-find(all, array(conditions = array(Course.professor = array(\$regex = .*Odinga.*; On Tuesday, January 29, 2013 8:56:00 PM UTC-5, Shahruk Khan wrote: I am trying to do : $courses = $this-Course-find(all, array(conditions = array(Course.professor = /Odinga/)));

Cache errors on Heroku with update to 2.3 but works fine on local?

2013-01-29 Thread Shahruk Khan
I just updated my cake application to 2.3 and I started getting internal errors on my heroku application. *Warning* (512): /app/www/app/tmp/cache/ is not writable [*CORE/Cake/Cache/Engine/FileEngine.php*, line *336*] *Warning* (2): file_put_contents(/app/www/app/tmp/logs/error.log)

Re: autoComplete with jquery in cake 1.3

2013-01-29 Thread Chris
hi cricket,... thank you for your reply,... I did install Firebug,... and I don't see any errors,... is there a way I can contact you? What's you website or contact info,... On Tuesday, January 29, 2013 2:56:10 PM UTC-8, cricket wrote: If you're seeing the results then it isn't a Cake

Re: autoComplete with jquery in cake 1.3

2013-01-29 Thread Shahruk Khan
This is not a CakePHP issue. Most likely a javascript / CSS issue, I'd bet javascript. On Tuesday, January 29, 2013 5:31:02 AM UTC-5, Chris wrote: hi guys,.. can you help me please,... I'm in cake 1.3 and using jquery libraries I got all setup, including jquery.autocomplete.min.js from

Re: Issue with removing records (unset) from data array in afterFind

2013-01-29 Thread Kevin
For future reference - this has been corrected in 2.2.6. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop