CakePHP 1.3 debug 0 causes auth logging out unexpectedly

2012-05-09 Thread Fred
Hi, I've set my CakePHP 1.3 debug level 0 and whenever a user logs in, he/ she is automatically logged out after a while (few seconds). This does not occur in debug level 1 or 2. I've set the security level to low and configured session timeout to a higher value but the problem still persists.

Re: Can CakePHP run in a user account?

2010-01-07 Thread Fred Riley
Oops. Sorry. Can I say d'oh! now? D'OH!! Thanks, Jon. I really should have known better :( Cheers Fred On Jan 7, 2:27 am, Jon Bennett jmbenn...@gmail.com wrote: Hi Fred, Thanks, Marcelo. I did try that but it didn't work out, I'm afraid. I edited the 3 .htaccess files (in /, /apps, /apps

Re: Can CakePHP run in a user account?

2010-01-06 Thread Fred Riley
Source project. I was similarly helped by the folk in the jQuery group, and surely needed it as it was a steep learning curve. Thanks again to all who replied. Cheers Fred On Jan 5, 7:50 pm, Kees de Bruin halfje.br...@gmail.com wrote: Fred, As I wrote in my reply you have to make a small change

Re: Can CakePHP run in a user account?

2010-01-06 Thread Fred Riley
] /IfModule but when I then opened up /index.php (in the cake directory) I got a 404. Not a bother, Kees's solution works fine, and I'm just testing at the moment. Cheers Fred On Jan 5, 9:17 pm, Marcelo Andrade mfandr...@gmail.com wrote: On Tue, Jan 5, 2010 at 5:59 PM, Fred Riley fred.ri

Re: Can CakePHP run in a user account?

2010-01-05 Thread Fred Riley
been vastly improved by the excellent jQuery (despite its steep learning curve), and if I can get a similar improvement on my server-side coding that could save me a lot of time and enable me to do far more with my web apps. Cheers Fred Check out the new CakePHP Questions site http://cakeqs.org

Re: Can CakePHP run in a user account?

2010-01-05 Thread Fred Riley
. Is there not a FAQ somewhere? Cheers Fred On Jan 5, 7:50 pm, Kees de Bruin halfje.br...@gmail.com wrote: Fred, As I wrote in my reply you have to make a small change in app/config/core.php where you have to uncomment line 59 and remove the .htaccess files that are listed just before that line

Can CakePHP run in a user account?

2010-01-04 Thread Fred Riley
institutional server. If there is a FAQ do please point me to it as I don't like asking RTFFAQ questions. Thanks. Fred University of Nottingham Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you

Proxy server

2009-06-03 Thread Fred
are confused). They claim this doesn't happen on other web sites and if they change the computers to point through separate proxy servers (rather than using their array of proxies) it works fine. Any ideas what could cause this or how to diagnosis this since I cannot replicate it? Thanks. Fred

Proxy server problems?

2009-06-01 Thread Fred
to replicate the error? Thanks. Fred --~--~-~--~~~---~--~~ 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

Re: Poll: what do you hate about CakePHP?

2009-05-13 Thread fred
A plugin management system, for plugin, component, behavior, etc... would be nice --~--~-~--~~~---~--~~ 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

Re: ACL creation on registration

2009-03-10 Thread Fred
. When I changed the code to be: $this-User-Realm-save($data) it works. So I guess if you have a belongsTo relationship (Realm belongs to user) in your controller then you cannot use the App::import and have it always work. Fred On Mar 10, 1:19 am, Fred fb...@multiply.it wrote: I am having trouble

ACL creation on registration

2009-03-09 Thread Fred
I am having trouble getting ACL to function properly. Everything works as long as you are logged in. However, now I want to dynamically create a user when they register (i.e. they aren't logged in). So I create the user (that works) and then create a realm (a realm is requester for ACL and

Acl debugging help

2009-03-08 Thread Fred
I am getting a really strange behavior and I cannot figure out how to debug it. I have my ACL component setup as so: - controller - ACO's are realms a user is part of (permissions are given by realm) This works great when I add/modify through the admin routines auto generated. However, I now

Re: Acl debugging help

2009-03-08 Thread Fred
they are related somehow. On Mar 9, 12:30 am, Fred fb...@multiply.it wrote: I am getting a really strange behavior and I cannot figure out how to debug it. I have my ACL component setup as so: - controller - ACO's are realms a user is part of (permissions are given by realm) This works great

Re: deployment options

2009-02-27 Thread fred
Hi, I am sorry that you could not use Fredistrano ( http://code.google.com/p/fredistrano/ ) in your environment. We would be glad to help you configuring Fredistrano. Feel free to leave us a message on the dedicated google group http://groups.google.com/group/fredistrano-discuss . Despite

BeforeFind

2009-02-01 Thread Fred
something easy that I just cannot find in the manual. I have hacked it by saying something like: if ($queryData['order'][0] == 'Company.lft asc') { return $queryData; } This works, but it is 1) really ugly and 2) really poor coding ... how do I do this correctly? Thanks. Fred

Re: BeforeFind

2009-02-01 Thread Fred
Thanks...that is very helpful. One thing to note it looks like the children method of a tree doesn't support callbacks of false (line 275 of tree.php has only to recursive on the find, but no callback passed). I will just use a find directly instead of using the children method. Thanks. Fred

Re: Where to place code for writing a file in order to respect MVC?

2008-11-11 Thread fred
That would be true, if data was meant to be displayed to the user. If you are writing data to a file, cache or different data source, it can be handled at the model layer. Yes indeed, the data is absolutely not displayed to the user. It is an iCal file that other software can subscribe to.

Where to place code for writing a file in order to respect MVC?

2008-11-10 Thread fred
Hello, I am new to CakePHP and MVC. I have created models to access a MySQL database. Perfect. Now I need to export some date in an iCal file format. I was wondering where to place that code in order to respect the MVC paradigm : in a controller or in a model?

Re: Good cakephp developer

2008-04-20 Thread Fred Hirsch
employee. Good luck, Fred foongoos wrote: what is the general hourly charge of a cakephp developer. Can some one recomend a good way to hire one without being ripped off or getting poor quality work? --~--~-~--~~~---~--~~ You received this message because you

Re: Question about Model::save() and its beforeSave and afterSave callbacks

2008-04-18 Thread Fred Hirsch
posted that relate to your issues. Some other things that I thought of: 1) Did you override save() in your model or app_model? 2) Did you debug the beforeSave in the calling model to see if its somehow retriggering? 3) Do you have a beforeSave in your app_model? Is it triggering? Good luck, Fred

Re: Question about Model::save() and its beforeSave and afterSave callbacks

2008-04-18 Thread Fred Hirsch
luck, Fred Joshua McFarren wrote: Have you tried deleting all the files that have accumulated in my app/ tmp/cache directory. Sometimes when I have had these kinds of strange problems it was because of an outdated cached model file. Hi Aran, I deleted the cache and unfortunately

Re: model query indexes by a letter

2008-04-18 Thread Fred Hirsch
] above to give it more meaning. Was this what you needed? Fred hutchic wrote: With the following function function calculate_due(){ $query = SELECT i.id, i.client_id, ifnull(total,'0') as total_due, ifnull(i.due,'NA') as due_date, ifnull(sum(p.amount

Re: Controllers without Views

2008-04-18 Thread Fred Hirsch
to somehow execute a controller method without loading the DB modules? - Where do you stop in excluding framework components before its no longer a framework? Good luck with you test, Fred Wizardry wrote: Is it possible to have a controller that prints a simple 'Hello World' without having