2011/8/11 <[email protected]> > Today's Topic Summary > > Group: http://groups.google.com/group/cake-php/topics > > - Non-Cake form, PagesController and > Auth<#131b6fb9c5b3381c_group_thread_0>[1 Update] > - Why cake not build a good procedure for load components behaviour , > help ? <#131b6fb9c5b3381c_group_thread_1> [2 Updates] > - Error "The requested document was not found on this > server"<#131b6fb9c5b3381c_group_thread_2>[1 Update] > - small bug in auth components <#131b6fb9c5b3381c_group_thread_3> [1 > Update] > - Automatic filter by site <#131b6fb9c5b3381c_group_thread_4> [1 > Update] > - cakephp select option stored as 0 in database instead of selected > value <#131b6fb9c5b3381c_group_thread_5> [1 Update] > > Topic: Non-Cake form, PagesController and > Auth<http://groups.google.com/group/cake-php/t/853a7891d495fe0e> > > BrendonKoz <[email protected]> Aug 10 02:34PM -0700 > ^<#131b6fb9c5b3381c_digest_top> > > I've checked the rendering of the form. There are no hidden form fields > > related to the security component since I'm not using the form helper. > I'm > not sure how to check which components are loaded during the rendering > of a > view (any ideas?). There are (found from a pr($this)) session > limitations, > but from what I can see the expiration time when security is set to > "medium" > on my site is approximately 1hr 40m. The user's session should not > expire > for 3hr 50m. According to employees, it was failing after 20-30 > minutes. > > It was described that upon submitting the form that the user would be > forcefully logged out and sent back to the login page. This is the only > page > on the entire site that seems to have generated this type of issue. > > I've been unable to reproduce this in any tests. > > Does anyone have any ideas as to where I could look? > > > > Topic: Why cake not build a good procedure for load components behaviour > , help ? <http://groups.google.com/group/cake-php/t/17736169caa94e2b> > > euromark <[email protected]> Aug 10 08:08AM -0700 > ^<#131b6fb9c5b3381c_digest_top> > > as far as I know, this is already done this way. > they will be "joined" between AppController PluginAppController > Controller in this order > or did you experience it otherwise? > it would surprise me because it works this way since several years in > my apps. > > > > > > > vcrack <[email protected]> Aug 10 10:31AM -0700 > ^<#131b6fb9c5b3381c_digest_top> > > I known it's possible.. but, do you think that your plugin is > dependent with AppController ? > and you must know the AppController if you would make a > PLuginAppController ? > > If CMS projects plugin develop by others and core by authors... > So if PluginOneAppController joined with AppController.. developer > plugin never know my AppController? > > it's will be "loss couple" if cake create a function for Hook > components, helper.. > and each plugin never have dependent with core app.. :-) > > thanks in advance.. > > Jan > > > > > Topic: Error "The requested document was not found on this > server"<http://groups.google.com/group/cake-php/t/a17e8552cc0599eb> > > hiepsykhongdau <[email protected]> Aug 10 04:29AM -0700 > ^ <#131b6fb9c5b3381c_digest_top> > > Hi all, > I just installed a CakePHP app on server of Plesk 9.0.1 for Microsoft > window and a strange thing happened. > When i tried to click any link in my site on a new browser window > and it said "Not Found - The requested document was not found on this > server". > Besides, webroot does n't work ( no CSS, JS and img). > I tested code on free host Byethost and runs good and updated data are > generally used to be. > I loged into Plesk control panel and enable permission for "Plesk > IIS User" to full control but error above still appears. > Does anybody have an idea why this is happening and how I can resolve > it? > > Thanks in advance for your nice help > > > > Topic: small bug in auth > components<http://groups.google.com/group/cake-php/t/72fff2451dc31117> > > Inteiro <[email protected]> Aug 10 12:51AM -0700 > ^<#131b6fb9c5b3381c_digest_top> > > Try > > $this->Auth->fields['username'] = 'email'; > > > > > > > Topic: Automatic filter by > site<http://groups.google.com/group/cake-php/t/e68c5834d4496798> > > "João Rodrigues" <[email protected]> Aug 10 04:26PM +0100 > ^<#131b6fb9c5b3381c_digest_top> > > I want to make my application be aware of the url. > I have created a table of sites (id, url) and a table of news (id, > site_id, > etc.) > so I can get different news depending on the subdomain. > For example, economy news go in economy,example.com, sports news go in > sports.example.com > I also have more tables that have a site_id, for example, subscriptions > (id, > site_id, email, etc.) > > So I have lots of models that I always want to filter by site_id. Do I > have > to explicitly put the condition on every find or is a way to > automatically > filter by site_id? > Something like django's CurrentSiteManager? > > > > Topic: cakephp select option stored as 0 in database instead of selected > value <http://groups.google.com/group/cake-php/t/eb6045f7261d0e49> > > Ryan Schmidt <[email protected]> Aug 10 09:17AM -0500 > ^<#131b6fb9c5b3381c_digest_top> > > On Aug 10, 2011, at 04:44, abhimanyu bv wrote: > > > Hi euromark, can you please tell me how to configure cron jobs in > windows, so that i can run php script every 10 minutes. > > That really doesn't have anything to do with this thread, or this > discussion group. I'm sure typing "cron windows" into Google will give you > some ideas. > > If you're specifically interested in how to run a CakePHP script from > the command line, then you'll want to read in the CakePHP book about > "shells", specifically this section about running CakePHP shells from cron: > > http://book.cakephp.org/view/1110/Running-Shells-as-cronjobs > > The information there is UNIX-centric, but hopefully your Google search > for information about how to use cron from Windows can help you translate > it. > > > > -- > 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 > [email protected] 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
