Brainstom Idea needed

2010-11-13 Thread Dave Maharaj
Ok this is a weird one. 

I made my star favourites icon click sends ajax request and saves the post
as favourite to favorite_posts table. Nothing over the top there.

 

So I added 100 dummy posts and went thru bookmarking everyone as a favourite
only to see 98 saved. There are 2 Posts that will not save and I can not
figure out why.

 

I have deleted the db table tried again. The post_id is unique , no
permissions to bookmark once logged in.I simply can not understand why 2 of
100 will not save.  I can click to save / click again removes the fav, click
on same one over and over and they work fine.

 

98 respond with my JSON response success

 

The 2 that do not save return an HTML response. 

They  return a view not even related to the page I am on. I am at
posts/index and the response for those crazy to renders favourites/index
form to delete.

 

Just looking for any random idea that might help.

 

 

 

 

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en


Re: Brainstom Idea needed

2010-11-13 Thread Angel Robert Marquez
what are the post_id numbers for the anomalies?

On Sat, Nov 13, 2010 at 8:10 PM, Dave Maharaj m...@davemaharaj.com wrote:

  Ok this is a weird one.

 I made my “star” favourites icon click sends ajax request and saves the
 post as favourite to favorite_posts table. Nothing over the top there.



 So I added 100 dummy posts and went thru bookmarking everyone as a
 favourite only to see 98 saved. There are 2 Posts that will not save and I
 can not figure out why.



 I have deleted the db table tried again. The post_id is unique , no
 permissions to bookmark once logged in…I simply can not understand why 2 of
 100 will not save.  I can click to save / click again removes the fav, click
 on same one over and over and they work fine.



 98 respond with my JSON response success



 The 2 that do not save return an HTML response.

 They  return a view not even related to the page I am on. I am at
 posts/index and the response for those crazy to renders favourites/index
 form to delete.



 Just looking for any random idea that might help.









 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en


RE: Brainstom Idea needed

2010-11-13 Thread Dave Maharaj
I just checked and the 2 that will not save and they are all numeric 952589
and 410058 and my Route has 'post_id' = '[-_A-Za-z0-9]+', so my guess is
since it does not have a letter in there its failing? Only thing I can think
of since all the other id's have a letter tossed in there

 

Id's are created rather then auto-inc so I will manually change the 2 and
see how that goes. If that's the case I will have to ensure generated id's
have a letter in them.

 

Dave

 

From: Angel Robert Marquez [mailto:angel.marq...@gmail.com] 
Sent: November-14-10 12:50 AM
To: cake-php@googlegroups.com
Subject: Re: Brainstom Idea needed

 

what are the post_id numbers for the anomalies?

On Sat, Nov 13, 2010 at 8:10 PM, Dave Maharaj m...@davemaharaj.com wrote:

Ok this is a weird one. 

I made my star favourites icon click sends ajax request and saves the post
as favourite to favorite_posts table. Nothing over the top there.

 

So I added 100 dummy posts and went thru bookmarking everyone as a favourite
only to see 98 saved. There are 2 Posts that will not save and I can not
figure out why.

 

I have deleted the db table tried again. The post_id is unique , no
permissions to bookmark once logged in.I simply can not understand why 2 of
100 will not save.  I can click to save / click again removes the fav, click
on same one over and over and they work fine.

 

98 respond with my JSON response success

 

The 2 that do not save return an HTML response. 

They  return a view not even related to the page I am on. I am at
posts/index and the response for those crazy to renders favourites/index
form to delete.

 

Just looking for any random idea that might help.

 

 

 

 

Check out the new CakePHP Questions site http://cakeqs.org and help others
with their CakePHP related questions.
 
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com
mailto:cake-php%2bunsubscr...@googlegroups.com  For more options, visit
this group at http://groups.google.com/group/cake-php?hl=en

 

Check out the new CakePHP Questions site http://cakeqs.org and help others
with their CakePHP related questions.
 
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en


Re: Brainstom Idea needed

2010-11-13 Thread Angel Robert Marquez
sounds like a good plan. let me know if the solution from you're deductive
logic yields the desired result : )

952589m
410058f



On Sat, Nov 13, 2010 at 8:31 PM, Dave Maharaj m...@davemaharaj.com wrote:

  I just checked and the 2 that will not save and they are all numeric
 952589 and 410058 and my Route has 'post_id' = '[-_A-Za-z0-9]+', so my
 guess is since it does not have a letter in there its failing? Only thing I
 can think of since all the other id’s have a letter tossed in there



 Id’s are created rather then auto-inc so I will manually change the 2 and
 see how that goes. If that’s the case I will have to ensure generated id’s
 have a letter in them.



 Dave



 *From:* Angel Robert Marquez [mailto:angel.marq...@gmail.com]
 *Sent:* November-14-10 12:50 AM
 *To:* cake-php@googlegroups.com
 *Subject:* Re: Brainstom Idea needed



 what are the post_id numbers for the anomalies?

 On Sat, Nov 13, 2010 at 8:10 PM, Dave Maharaj m...@davemaharaj.com wrote:

 Ok this is a weird one.

 I made my “star” favourites icon click sends ajax request and saves the
 post as favourite to favorite_posts table. Nothing over the top there.



 So I added 100 dummy posts and went thru bookmarking everyone as a
 favourite only to see 98 saved. There are 2 Posts that will not save and I
 can not figure out why.



 I have deleted the db table tried again. The post_id is unique , no
 permissions to bookmark once logged in…I simply can not understand why 2 of
 100 will not save.  I can click to save / click again removes the fav, click
 on same one over and over and they work fine.



 98 respond with my JSON response success



 The 2 that do not save return an HTML response.

 They  return a view not even related to the page I am on. I am at
 posts/index and the response for those crazy to renders favourites/index
 form to delete.



 Just looking for any random idea that might help.









 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en



 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en


RE: Brainstom Idea needed

2010-11-13 Thread Dave Maharaj
That will do it.

 

Success. So case closed J

 

Dave

 

From: Angel Robert Marquez [mailto:angel.marq...@gmail.com] 
Sent: November-14-10 1:06 AM
To: cake-php@googlegroups.com
Subject: Re: Brainstom Idea needed

 

sounds like a good plan. let me know if the solution from you're deductive
logic yields the desired result : )

 

952589m

410058f

 

 

On Sat, Nov 13, 2010 at 8:31 PM, Dave Maharaj m...@davemaharaj.com wrote:

I just checked and the 2 that will not save and they are all numeric 952589
and 410058 and my Route has 'post_id' = '[-_A-Za-z0-9]+', so my guess is
since it does not have a letter in there its failing? Only thing I can think
of since all the other id's have a letter tossed in there

 

Id's are created rather then auto-inc so I will manually change the 2 and
see how that goes. If that's the case I will have to ensure generated id's
have a letter in them.

 

Dave

 

From: Angel Robert Marquez [mailto:angel.marq...@gmail.com] 
Sent: November-14-10 12:50 AM
To: cake-php@googlegroups.com
Subject: Re: Brainstom Idea needed

 

what are the post_id numbers for the anomalies?

On Sat, Nov 13, 2010 at 8:10 PM, Dave Maharaj m...@davemaharaj.com wrote:

Ok this is a weird one. 

I made my star favourites icon click sends ajax request and saves the post
as favourite to favorite_posts table. Nothing over the top there.

 

So I added 100 dummy posts and went thru bookmarking everyone as a favourite
only to see 98 saved. There are 2 Posts that will not save and I can not
figure out why.

 

I have deleted the db table tried again. The post_id is unique , no
permissions to bookmark once logged in.I simply can not understand why 2 of
100 will not save.  I can click to save / click again removes the fav, click
on same one over and over and they work fine.

 

98 respond with my JSON response success

 

The 2 that do not save return an HTML response. 

They  return a view not even related to the page I am on. I am at
posts/index and the response for those crazy to renders favourites/index
form to delete.

 

Just looking for any random idea that might help.

 

 

 

 

Check out the new CakePHP Questions site http://cakeqs.org and help others
with their CakePHP related questions.
 
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com
mailto:cake-php%2bunsubscr...@googlegroups.com  For more options, visit
this group at http://groups.google.com/group/cake-php?hl=en

 

Check out the new CakePHP Questions site http://cakeqs.org and help others
with their CakePHP related questions.
 
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com
mailto:cake-php%2bunsubscr...@googlegroups.com  For more options, visit
this group at http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others
with their CakePHP related questions.
 
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com
mailto:cake-php%2bunsubscr...@googlegroups.com  For more options, visit
this group at http://groups.google.com/group/cake-php?hl=en

 

Check out the new CakePHP Questions site http://cakeqs.org and help others
with their CakePHP related questions.
 
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en


Re: Brainstom Idea needed

2010-11-13 Thread Angel Robert Marquez
Rad!

I hope your wind filled sail takes you to fantastic places!

good job.

On Sat, Nov 13, 2010 at 8:40 PM, Dave Maharaj m...@davemaharaj.com wrote:

  That will do it.



 Success. So case closed J



 Dave



 *From:* Angel Robert Marquez [mailto:angel.marq...@gmail.com]
 *Sent:* November-14-10 1:06 AM

 *To:* cake-php@googlegroups.com
 *Subject:* Re: Brainstom Idea needed



 sounds like a good plan. let me know if the solution from you're deductive
 logic yields the desired result : )



 952589m

 410058f





 On Sat, Nov 13, 2010 at 8:31 PM, Dave Maharaj m...@davemaharaj.com wrote:

 I just checked and the 2 that will not save and they are all numeric 952589
 and 410058 and my Route has 'post_id' = '[-_A-Za-z0-9]+', so my guess is
 since it does not have a letter in there its failing? Only thing I can think
 of since all the other id’s have a letter tossed in there



 Id’s are created rather then auto-inc so I will manually change the 2 and
 see how that goes. If that’s the case I will have to ensure generated id’s
 have a letter in them.



 Dave



 *From:* Angel Robert Marquez [mailto:angel.marq...@gmail.com]
 *Sent:* November-14-10 12:50 AM
 *To:* cake-php@googlegroups.com
 *Subject:* Re: Brainstom Idea needed



 what are the post_id numbers for the anomalies?

 On Sat, Nov 13, 2010 at 8:10 PM, Dave Maharaj m...@davemaharaj.com wrote:

 Ok this is a weird one.

 I made my “star” favourites icon click sends ajax request and saves the
 post as favourite to favorite_posts table. Nothing over the top there.



 So I added 100 dummy posts and went thru bookmarking everyone as a
 favourite only to see 98 saved. There are 2 Posts that will not save and I
 can not figure out why.



 I have deleted the db table tried again. The post_id is unique , no
 permissions to bookmark once logged in…I simply can not understand why 2 of
 100 will not save.  I can click to save / click again removes the fav, click
 on same one over and over and they work fine.



 98 respond with my JSON response success



 The 2 that do not save return an HTML response.

 They  return a view not even related to the page I am on. I am at
 posts/index and the response for those crazy to renders favourites/index
 form to delete.



 Just looking for any random idea that might help.









 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en



 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en



 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com