Re: user signup auth component stopped working

2011-05-19 Thread gremlin
Is there a plugin / controller action doing some sort of resizing of a
profile image or something? If there is do you have auth set to allow
un-authorized users to hit that action?


On May 18, 5:54 am, Foroct forrestfraz...@gmail.com wrote:
 It appears that the problem is related to David Persson's media
 plugin.https://github.com/davidpersson/media

 In my model I commented out the call to his plugin and I can again add
 a user
 Previous code
 var $actsAs = array('Containable','Media.Transfer',
 'Media.Coupler','Media.Generator');
 New code
 var $actsAs = array('Containable' /* ,'Media.Transfer',
 'Media.Coupler','Media.Generator'*/);

 I am using the same plugin successfully on  different model and my
 $actAs array is exactly the same in both models. Does anyone know a
 reason why this plugin would work on one model and not another?

 Thanks.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: user signup auth component stopped working

2011-05-18 Thread Foroct
Data type of the id field is int, with a length of 11.  I have not hit
max.  If I run a php sql insert like the following it works fine

//manually add the data
mysql_query(INSERT INTO users (username, password, 
email)
VALUES
('$username', '$password', '$email'));


But obviously since this is a cakephp application I shouldn't be doing
that.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: user signup auth component stopped working

2011-05-18 Thread Foroct
It appears that the problem is related to David Persson's media
plugin. https://github.com/davidpersson/media

In my model I commented out the call to his plugin and I can again add
a user
Previous code
var $actsAs = array('Containable','Media.Transfer',
'Media.Coupler','Media.Generator');
New code
var $actsAs = array('Containable' /* ,'Media.Transfer',
'Media.Coupler','Media.Generator'*/);

I am using the same plugin successfully on  different model and my
$actAs array is exactly the same in both models. Does anyone know a
reason why this plugin would work on one model and not another?

Thanks.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


user signup auth component stopped working

2011-05-17 Thread Foroct
I've had a user signup working on my site for over a year and all of a
sudden its not working. I'm running cakephp 1.3 and my model and
controller are posted here for your review http://pastie.org/1919212

So here is the problem.  When a new user goes to sign up the function
runs and the user gets to the success page however no data is added to
the database.   I've run some debugs and the data is all correct. If I
put in bad info the model validation kicks in and throws an error.  So
for some reason its not saving the data after if passes validation.

Any idea what is wrong, or how I would figure out how to debug it?  I
need to get signups back.  I did a test and can add the data from the
form manually with a sql statement so I think my database is in good
shape.

Any help would be appreciated.

Thanks.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: user signup auth component stopped working

2011-05-17 Thread Jeremy Burns | Class Outfit
What is the data type of the users-id field? Have you hit the max?

Jeremy Burns
Class Outfit

jeremybu...@classoutfit.com
http://www.classoutfit.com

On 18 May 2011, at 01:46, Foroct wrote:

 I've had a user signup working on my site for over a year and all of a
 sudden its not working. I'm running cakephp 1.3 and my model and
 controller are posted here for your review http://pastie.org/1919212
 
 So here is the problem.  When a new user goes to sign up the function
 runs and the user gets to the success page however no data is added to
 the database.   I've run some debugs and the data is all correct. If I
 put in bad info the model validation kicks in and throws an error.  So
 for some reason its not saving the data after if passes validation.
 
 Any idea what is wrong, or how I would figure out how to debug it?  I
 need to get signups back.  I did a test and can add the data from the
 form manually with a sql statement so I think my database is in good
 shape.
 
 Any help would be appreciated.
 
 Thanks.
 
 -- 
 Our newest site for the community: CakePHP Video Tutorials 
 http://tv.cakephp.org 
 Check out the new CakePHP Questions site http://ask.cakephp.org and help 
 others with their CakePHP related questions.
 
 
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
 http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php