Re: login generates malformed sql query
Did you ever resolve this? I am experiencing the same issue. On Jul 23, 7:36 pm, markatto wrote: > On Jul 22, 1:03 pm, cricket wrote: > > > This is in UsersController or AppController? I would put allow() (pass > > it an array, not a string, btw) in the former and the other two in the > > latter. And it should be loginRedirect, not redirectLogin. > > I made these changes, but I am still having the same problem. > > > Which DB are you using? Which version of Cake? > > > Try deleting everything in tmp/cache/[models|persistent] directories. > > I am on cake 1.3.0 and mysql. I have already tried deleting the cache > stuff. > Where are the columns for the query supposed to be set? I am not too > familiar with cake internals. 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: jQuery & ajax pagination in 1.3
Jquery is the only engine that seems to have issues Mark. Thanks for this Js helper by the way. So nice on so many levels. On Dec 16, 9:39 pm, mark_story wrote: > Yeah you need the writeBuffer() at the bottom of the view, or in your > ajax layout. Otherwise the event scripts don't get sent along. I'll > have to look into the jquery issue, I thought jquery did global eval() > on all the script blocks in an html response, but seems I might have > been wrong. > > -Mark > > On Dec 16, 5:27 am, Dave wrote: > > > I have run into issues like this as well. For some reason sometimes when > > content is pulled in via ajax I need to call $js->writeBuffer; at the bottom > > of the view in the action which is called to get all of the javascript to > > echo properly. > > > It kind of makes sense, if you have $js->writeBuffer at the bottom of your > > layout, and your layout isn't refreshed, then you won't get the javascript > > from the new view > > > I am not sure if this is how it is supposed to work, but that's just what > > i've noticed > > > On Tue, Dec 15, 2009 at 2:21 PM, Joe Theory wrote: > > > I am having the same problem and can confirm that it happens > > > specifically when using JQuery. Using the Js Helper with Mootools > > > works just fine. > > > > On Dec 14, 3:44 am, Scronkey wrote: > > > > I believe I know what's going on now but I'm not sure how to fix it. > > > > > On the first (successful) ajax call the next set of content is loaded, > > > > including the paginator links, however the paginator links are not > > > > successfully bound to a jQuery ajax call, therefore the next click > > > > results in a normal page request which then results in correctly bound > > > > events. > > > > > Marks post mentions the use of 'evalScripts' => true to chain the ajax > > > > requests however this seems to have no effect with jQuery (his example > > > > uses MooTools). > > > > > Is there a way I can ensure the events are rebound using jsHelper with > > > > jQuery after the ajax call? > > > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp 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 > > om>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: jQuery & ajax pagination in 1.3
I am having the same problem and can confirm that it happens specifically when using JQuery. Using the Js Helper with Mootools works just fine. On Dec 14, 3:44 am, Scronkey wrote: > I believe I know what's going on now but I'm not sure how to fix it. > > On the first (successful) ajax call the next set of content is loaded, > including the paginator links, however the paginator links are not > successfully bound to a jQuery ajax call, therefore the next click > results in a normal page request which then results in correctly bound > events. > > Marks post mentions the use of 'evalScripts' => true to chain the ajax > requests however this seems to have no effect with jQuery (his example > uses MooTools). > > Is there a way I can ensure the events are rebound using jsHelper with > jQuery after the ajax call? 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: Help with URL logic and routes
i wonder also if i could make cake think that http://www.example.com/blogname/ was a plugin and then just reuse is for varying namesknow what i mean? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Help with URL logic and routes
thanks AD7six, im going to look into these methods today, foregoing subdomains i guess what i really want to accomplish is this: http://www.example.com/blogname/ - would use the blogs controller http://www.example.com/invalidblogname/ -returns error (no such blog) http://www.example.com/blogname/post-title-here/ - uses posts contoller http://www.example.com/login/ - displays login page http://www.example.com/blogname/add/ - add a post if youre logged in i guess ill try modifying the url in boostrap and see how that turns out. any other suggestions are still very welcomed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Help with URL logic and routes
I understand that this topic has been talked about before but i havent yet seen any thread that made me understand clearly how to accomplish what i wish. let me explain briefly: i am designing some blog software for users of my companies services. i am unable to use subdomains so i was looking to structure the URL as follows: http://www.example.com/username/ this would use the blog controller and point to some default front page...the part i cant seem to accomplish with routes so far is this http://www.example.com/username/2006-5-7/post-title-goes-here/ that would use the posts controller and display the post. i see that using bootstrap to hijack the URL is an option but im still not sure how to do it... any suggestions would be greatly welcomed --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---