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
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
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
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
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
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
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
, 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
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
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
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
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
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
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
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.
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'),
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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...
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-
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
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
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
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,
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
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 !
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
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 !
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
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
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
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 :
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
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
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,
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
48 matches
Mail list logo