Re: Cache problem using CakePHP default File config on apache 1.3.x - server crashes

2011-04-20 Thread Jon Bennett
Hi - no - do you think that would help? I tried making the prefix of the cache different in case there was a conflict with other caching in the /tmp of the server but that hasn't worked, as the site has hung again just now. I will see if I can find some info on the lock thing, thanks. Are

Re: Cache problem using CakePHP default File config on apache 1.3.x - server crashes

2011-04-20 Thread luke BAKING barker
hi Jon, thanks for your helpful reply. I am not sure that it is performance, since the site is not really busy as yet, but maybe you have something. I wonder if it is my statement to cache index action in my services controller for example that is breaking things, I might try just

Cache problem using CakePHP default File config on apache 1.3.x - server crashes

2011-04-19 Thread luke BAKING barker
Hi I am using some controller level caching for a few actions on a couple of cakePHP sites. both are cake1.3 sites, and are on the same VPS, running php 5.2.11 and it has eAccelrator too. the cache seemed to work for a few days and then both sites became unreachable this morning. I restarted the

Re: Cache problem using CakePHP default File config on apache 1.3.x - server crashes

2011-04-19 Thread 0x20h
Just a shot in the blue: Have you tried to set the 'lock' = true option in your Cache::config ? Am 19.04.2011 15:49, schrieb luke BAKING barker: Hi I am using some controller level caching for a few actions on a couple of cakePHP sites. both are cake1.3 sites, and are on the same VPS, running

Re: Cache problem using CakePHP default File config on apache 1.3.x - server crashes

2011-04-19 Thread luke BAKING barker
Hi - no - do you think that would help? I tried making the prefix of the cache different in case there was a conflict with other caching in the /tmp of the server but that hasn't worked, as the site has hung again just now. I will see if I can find some info on the lock thing, thanks. Luke

Auth component IE (Internet explorer) cache problem (Session gets destroy in IE)

2009-11-19 Thread pankaj
I am using auth component for user authentication. I am creating force logout functionality in my application. If user with same username and password logged in from one machine and another user try to log in using same user name and password from another machine. he/she will see force logout

Re: Cache Problem with safari 4

2009-09-14 Thread Martin Westin
then see display time Firefox and IE will show you new time but Safari still display cache time. That's why I mention Safari still cache. Thanks On Sep 11, 2:03 pm, Martin Westin martin.westin...@gmail.com wrote: I am not sure that is a cache problem or anything you can fix. Are you sure I

Re: Cache Problem with safari 4

2009-09-14 Thread p_tucky
, 2:03 pm, Martin Westin martin.westin...@gmail.com wrote: I am not sure that is a cache problem or anything you can fix. Are you sure I use Safari 4 all the time and I am under the impression that the browser sometimes doesn't do any request at all when using the back button

Re: Cache Problem with safari 4

2009-09-13 Thread Marcelo Andrade
On Sun, Sep 13, 2009 at 7:33 AM, p_tucky p_tu...@whatinthai.com wrote: Please test on FF3.5, IE7+ , and Safari4 http://perhabs.com/cake_test user: test pass: test please look at display current time under login button. After login then click back button then see display time Firefox and

Re: Cache Problem with safari 4

2009-09-12 Thread p_tucky
mention Safari still cache. Thanks On Sep 11, 2:03 pm, Martin Westin martin.westin...@gmail.com wrote: I am not sure that is a cache problem or anything you can fix. Are you sure I use Safari 4 all the time and I am under the impression that the browser sometimes doesn't do any request

Re: Cache Problem with safari 4

2009-09-11 Thread Martin Westin
I am not sure that is a cache problem or anything you can fix. Are you sure I use Safari 4 all the time and I am under the impression that the browser sometimes doesn't do any request at all when using the back button. It simply re-displays what it a few moments ago. I have not checked

Cache Problem with safari 4

2009-09-10 Thread p_tucky
Hi, I have cache problem with safari 4. Any one have problem like me? I’ve tried with this code but does not work. It take me to the previous page and have still show the text on form. function beforeFilter() { if($this-action == ‘login’) { $this-disableCache(); } Header

Re: Auth component cache problem in Internet Explorer

2009-06-06 Thread Dr. Loboto
Try Configure::write('Session.checkAgent', false); in app/config/ core.php - Flash send different User-Agent string and it resets session. On May 8, 3:03 pm, remy remyjacob...@gmail.com wrote: Still haven't solved the problem, but I did found what the problem is.. It seems that something

Re: Auth component cache problem in Internet Explorer

2009-05-29 Thread jackb
I'm experiencing the same problem, but I have managed to isolate it to occur only when I'm making ajax requests that make use of parameters. That is, in Cake if I am using the $ajax helper and use the with option for a function to return a string, or if the request is created in javascript using

Re: Auth component cache problem in Internet Explorer

2009-05-08 Thread remy
Still haven't solved the problem, but I did found what the problem is.. It seems that something went wrong with Flash. When I disabled all Flash parts in my site, the Auth component works fine in IE. It looks like that the Flash 'resets' the cache with also the userdata for the Auth component.

Re: Auth component cache problem in Internet Explorer

2009-05-07 Thread rartavia
I'm having a similar problem with internet explorer 8. I sending data via ajax to my controller, in Firefox, Safari, Chrome and Opera works quite all right. However, seems like IE fails to send the login info. My requests failed in IE so I did $this-log($this- Session-read('Auth.User'),

Re: Auth component cache problem in Internet Explorer

2009-05-07 Thread rartavia
The weirdest part is that even when I told auth to allow that specific action, I checked my data that arrived correctly but still the save() didn't occurred. About that, do ignore it, that happen because in that saving, user_id is required and as in that request is null so a db error

Auth component cache problem in Internet Explorer

2009-04-03 Thread remy
Hi all, I'm using the Auth component for a simple user controller system to login/logout. It worked fine with version 1.2.0.6311 beta. Since I updated my cake to version 1.2 RC2 I found an error in IE7. Logging in seems to work fine, but when I go to another page, I instantly get logged out.

Re: IE cache problem

2009-02-23 Thread abdulAziz
I have got this problem, using treeBehavior. when after adding new node, cake took it from cachei just added time() to the end of redirecting url $this-flash('Added', '/articles/index?1234567890'); On Feb 16, 1:18 pm, Dr. Loboto drlob...@gmail.com wrote: 100% way with IE is only add some

Re: IE cache problem

2009-02-16 Thread Dr. Loboto
100% way with IE is only add some random GET parameter to image URL. On Feb 14, 8:35 pm, marco.rizze...@gmail.com marco.rizze...@gmail.com wrote: Hi I have a page where the user can upload its photo. I save the photo always in the same location. In FF when I reload the page after the save

Re: IE cache problem

2009-02-15 Thread keymaster
Send a header which prevents caching of images. You're usually better off with client side caching of images, even though you occasionally have to change the image name when the image changes. If you use an Image Model, you can append the id value to the image name. But if that doesn't fit your

IE cache problem

2009-02-14 Thread marco.rizze...@gmail.com
Hi I have a page where the user can upload its photo. I save the photo always in the same location. In FF when I reload the page after the save operation I see the right photo. In IE instead i see always the old photo. I try to use disableCache() function but I can't to resolve the problem. Can

Re: IE cache problem

2009-02-14 Thread fain182
Hi I have a page where the user can upload its photo. I save the photo always in the same location. In FF when I reload the page after the save operation I see the right photo. In IE instead i see always the old photo. I try to use disableCache() function but I can't to resolve the

Re: IE cache problem

2009-02-14 Thread marco.rizze...@gmail.com
If I would to avoid this thing without change always the name of file how can I do it? On Feb 14, 5:38 pm, fain182 fain...@gmail.com wrote: Hi I have a page where the user can upload its photo. I save the photo always in the same location. In FF when I reload the page after the save

Re: Internet Explorer Cache Problem [ CakePHP 1.2 RC3 ]

2008-11-13 Thread 浪漫様
hey brett, thank you very much for your reply. i will try $this-disableCache() on my controllers, thank you Rohman --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: Internet Explorer Cache Problem [ CakePHP 1.2 RC3 ]

2008-11-11 Thread Brett Wilton
Uhm... I think is not that as i don't want to lose queries results if pressing back button... but as it says This is different than view caching... I think my answer should be in View Caching as I want to force reload the view but not lose the queries if i'm logged in. As I understand the

Re: Internet Explorer Cache Problem [ CakePHP 1.2 RC3 ]

2008-11-11 Thread 浪漫様
thanks for the reply again, i will try to use the disableCache() function and see. i had never used 1.2 RC2 as i switched from 1.1 to 1.2 RC3 directly and then find out that issue. i will try a little more. thanks Rohman On Nov 12, 5:57 am, Brett Wilton [EMAIL PROTECTED] wrote: Uhm... I think

Re: Internet Explorer Cache Problem [ CakePHP 1.2 RC3 ]

2008-11-11 Thread Brett Wilton
Hi Rohman, I just tried the latest RC3 7866 and have found that the IE7 is functioning as you indicated, this is not how it worked under RC2. I'm not sure off hand why there is this difference. Brett --~--~-~--~~~---~--~~ You received this message because you

Re: Internet Explorer Cache Problem [ CakePHP 1.2 RC3 ]

2008-11-11 Thread Brett Wilton
If you type in the page with IE7 I get the same result, even on a 1.1.X project I had with othAuth. I was wrong in saying RC2 worked as I was clicking a link rather than typing one in. The only way to stop IE7 from caching the page is to use the disableCache(), I did a quick hack in my

Re: Internet Explorer Cache Problem [ CakePHP 1.2 RC3 ]

2008-11-10 Thread Brett Wilton
Not sure if this is what your after or not, Controller::disableCache...http://book.cakephp.org/view/431/disableCache Brett Wilton http://wiltonsoftware.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Internet Explorer Cache Problem [ CakePHP 1.2 RC3 ]

2008-11-10 Thread 浪漫様
Dear Brett, thanks for the reply 3.5.3.4.3 disableCache Used to tell the user’s browser not to cache the results of the current request. This is different than view caching, covered in a later chapter. Uhm... I think is not that as i don't want to lose queries results if pressing back button...

Internet Explorer Cache Problem [ CakePHP 1.2 RC3 ]

2008-11-09 Thread 浪漫様
hello, i have a little problem with CakePHP 1.2 RC3 and Internet Explorer 7 ( the one i tested ) when i log in on my application, i set up a $this-Session- write('myvariable','myvalue'); to indicate the user logged in, and when doing logout i delete the session variable $this-Session-

Warning 512 - cache problem

2008-09-18 Thread gabriel
Hi!, I hava a serious problem with recent 1.2 RC-2 - I use svn to control my projects - at som,e point I decided to try out a new cake - when I uploaded my app (from a windows machine) and checked it out on a linux (debian+apache) machine it showed me an error saying that fiel engine is not

Cache problem ?

2008-06-20 Thread Marc MENDEZ
Hi, I'm a newbie and I have started last week studying CakePHP with the 1.1 release. Yesterday, I upgraded my tests to 1.2 RC1 (the latest 1.2 available on the website). Up to this morning, I used view templates generated with the previous version of bake (but just corrected to work with

Re: Cache problem ?

2008-06-20 Thread gbk *
view cache files are generated into /app/tmp/cache/views. check out the folder, if it's not empty the cache is working... gbk On jún. 20, 12:01, Marc MENDEZ [EMAIL PROTECTED] wrote: Hi, I'm a newbie and I have started last week studying CakePHP with the 1.1 release. Yesterday, I upgraded

Re: Cache problem ?

2008-06-20 Thread Marc MENDEZ
Yes, there are files : in models and persistents, but nothing in the view folder. I deleted everything, but I still have the same view gbk * a écrit : view cache files are generated into /app/tmp/cache/views. check out the folder, if it's not empty the cache is working... gbk On jún. 20,

Re: Cache problem ?

2008-06-20 Thread Marc MENDEZ
I did a few tests : Any changes to index.ctp is ignored... Even worst : I renamed the view folder corresponding to the model : it's still working ! But, if I edit the index.thtml fo an other model, it works !!! The only one difference : - The old template was generated by the previous bake

Re: Cache problem ?

2008-06-20 Thread gbk *
my tip is that this is not a cache issue. are you sure you are editing the correct file? On jún. 20, 14:20, Marc MENDEZ [EMAIL PROTECTED] wrote: I did a few tests : Any changes to index.ctp is ignored... Even worst : I renamed the view folder corresponding to the model : it's still working !

Re: Cache problem ?

2008-06-20 Thread Marc MENDEZ
gbk * a écrit : my tip is that this is not a cache issue. are you sure you are editing the correct file? My table is named essais. The only one page on all my hard disk (I checked it !) dealing with this table and containg references to $paginator is in app/views/essais/index.ctp. If I

Re: Cache problem ?

2008-06-20 Thread Marc MENDEZ
Next test : I deleted app/views/essais and run bake again. I watched the folder and found, again the 4 views files in a new essais folder. So, now, I'm sure it's the right files and the right folder. I edit the index.ctp and guess what . nothing , still the same problem !

Re: Cache problem ?

2008-06-20 Thread gbk *
i have no idea... maybe there is something useful in your log files. have you checked them (webserver error log, php error log, /tmp/logs/error.log, debug.log)? gbk On jún. 20, 14:45, Marc MENDEZ [EMAIL PROTECTED] wrote: Next test : I deleted app/views/essais and run bake again. I watched

Re: Cache problem ?

2008-06-20 Thread Chris Hartjes
On Fri, Jun 20, 2008 at 8:45 AM, Marc MENDEZ [EMAIL PROTECTED] wrote: Next test : I deleted app/views/essais and run bake again. I watched the folder and found, again the 4 views files in a new essais folder. So, now, I'm sure it's the right files and the right folder. I edit the index.ctp

Re: Cache problem ?

2008-06-20 Thread Dardo Sordi Bogado
Can you paste the controller code at http://bin.cakephp.org ? On Fri, Jun 20, 2008 at 10:05 AM, Chris Hartjes [EMAIL PROTECTED] wrote: On Fri, Jun 20, 2008 at 8:45 AM, Marc MENDEZ [EMAIL PROTECTED] wrote: Next test : I deleted app/views/essais and run bake again. I watched the folder and

Re: Cache problem ?

2008-06-20 Thread Marc MENDEZ
gbk * a écrit : i have no idea... maybe there is something useful in your log files. have you checked them (webserver error log, php error log, /tmp/logs/error.log, debug.log)? I should not work on the last day of the week When things are too obvious. Just one word :

Cache problem

2007-11-10 Thread Beno
Hi, i have a problem with cakephp cahce! When i request i site (url) the site is cached to the file i can see the file in the cache folder but when i request the same site againg the cahce file is rebuilted again ... can sombody halp me pls a tried everythink sad.gif. ps: everthnik is set

Cake 1.2 Cache Problem - Submitting a Form doesn't Reset Cache

2007-09-28 Thread Baz
I'm having a sort of stupid problem. I've searched for a resolution, but I don't see anyone reporting the same issues. Maybe I'm doing something wrong. I'm using Cake's cache and I'm trying to Cache the whole controller. var $cacheAction = '+1 hour'; However, Cake now refuses to accept any

Re: Cake 1.2 Cache Problem - Submitting a Form doesn't Reset Cache

2007-09-28 Thread Baz
Ok, cool. Just making sure that I wasn't doing something stupid here (as is usually the case). I guess I'll just list the controllers that I do want to cacheor do a $this-cacheAction = false; in those I don't want to cache? Either way, I love caching - server's kinda slow. On 9/28/07,

Re: Cake 1.2 Cache Problem - Submitting a Form doesn't Reset Cache

2007-09-28 Thread guitarclap
I ran into a similar situation when I tried to cache a login page; when the form was submitted it would just simply show the same view again. I am pretty sure that this is by design - or fixed in the svn (somewhere). If you check out the file in /tmp/cache/views/ you will see why - cake caches