@euromark This affects caching? The issue is that the bad requests are
nonetheless being saved to the cache views dir.
@ojtibi Sorry, should have included that.
core.php:
Configure::write('Cache.disable', false);
Configure::write('Cache.check', true);
$engine = 'Fi
-adjustments
and
https://github.com/dereuromark/cakephp-tools/blob/master/src/Error/ErrorHandler.php
.
Mark
Am Mittwoch, 28. Oktober 2015 01:34:43 UTC+1 schrieb cricket:
>
> Cake 2.2.4 (Yeah, i know -- need to upgrade this site!)
>
> I just noticed that the view cache dir has a bunch of
How does your cache configuration look like?
On Wednesday, October 28, 2015 at 8:34:43 AM UTC+8, cricket wrote:
>
> Cake 2.2.4 (Yeah, i know -- need to upgrade this site!)
>
> I just noticed that the view cache dir has a bunch of files along the
Cake 2.2.4 (Yeah, i know -- need to upgrade this site!)
I just noticed that the view cache dir has a bunch of files along the lines
of:
s_2fabc_2fabc_2fabc_2f_24_7b_40print_28md5_28base64_decode_28mzywd2vic2nhbg_29_29_29_7d_2f.php
Looks like the work of script kiddies. However, I'm also s
hi, i'm develop with cake 3 and i'm using view cells feature cache.
The cache is created but the method called is always called.
Example:
$cell = $this->cell('Posts::getLatest', [], ['cache' => true]);
echo $cell;
the cache is created but i put an echo in ge
"unable write 'default_aptutori_a....' to Apc cache"
I guess your app/Config/core.php needs to be updated for 2.5.
APC as a default cache engine was removed two years ago, in 2.3
https://github.com/cakephp/cakephp/commit/2f7f5e13224537eaa4da6b825b1d106bebc35d05
On Tuesday,
7;mask' => 0777 to
> core.php
> Cache::config('_cake_core_', array(...
> Cache::config('_cake_model_', array(...
> https://github.com/cakephp/cakephp/blob/master/app/Config/core.php#L294
>
> Andras Kende
>
>
> On Sep 29, 2014, at 4:02 PM, ajt wr
Try deleting the files within app/tmp folders.
and adding 'mask' => 0777 to
core.php
Cache::config('_cake_core_', array(...
Cache::config('_cake_model_', array(...
https://github.com/cakephp/cakephp/blob/master/app/Config/core.php#L294
Andras Kende
On Sep
2.5 but I checked many posts on the issue and I dont think that makes any
difference.
The only solution was to chmod the app/tmp folders and subfolders but i did
that.
I am using cpanel and have no command prompt to run scripts
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on
and core.php:
>
> in bootstrap:
>
> I just commented out "//Cache::config('default', array('engine' =>
> 'File')); " and added:
>
> Cache::config('default', array(
> 'engine' => 'Apc', //[requir
have made in my bootstrap.php and core.php:
in bootstrap:
I just commented out "//Cache::config('default', array('engine' =>
'File')); " and added:
Cache::config('default', array(
'engine' => 'Apc', //[required]
'
I have / think Memcache engine is set up correct. (v 2.4.6)
Core.php:
$engine = 'Memcache';
Cache::config('inmemory', array(
'engine' => 'Memcache',
'duration' => 3600,
On Tuesday, 4 March 2014 18:56:03 UTC+1, Francisco Chacon wrote:
>
> Hi:
>
> We have developed several websites using Cake and have found that when the
> values in the persistent cache reaches a file size of close to 30,000, the
> services
> for uploading images and sendin
Hi:
We have developed several websites using Cake and have found that when the
values in the persistent cache reaches a file size of close to 30,000, the
services
for uploading images and sending emails stop working.
The sites have been checked by two persons, but not deeply familiar with
Cake
If you want a simple CakePHP only solution:
http://www.dereuromark.de/2013/10/29/resetbehavior-and-hazardablebehavior/
you simply create a shell command "counts" or sth
and add those 2 lines to re-save all records in a loop
$this->Post->Behaviors->load('Tools.Reset', array('fields' =>
array(
No .. It will only run through the table once updating all records.
On 23 Jan 2014 12:34, "Aurelian Apostol" wrote:
> Wouldn't this run an infinte loop? It needs a further WHERE clause maybe
> where model_a.model_b_count IS NOT NULL
>
> marți, 16 martie 2010, 10:28:28 UTC+2, phpMagpie a scris:
>>
Wouldn't this run an infinte loop? It needs a further WHERE clause maybe
where model_a.model_b_count IS NOT NULL
marți, 16 martie 2010, 10:28:28 UTC+2, phpMagpie a scris:
>
> I would also run a SQl query direct on the database using phpMyAdmin
> or the CLI
>
> UPDATE model_a SET model_a.model_b_c
I use cake some years now from v1.2
I will write down a problem I had just to share it with you and find out
whether it's a bug or not.
In my app controller in beforeFilter I have:
> if (($newarticles = Cache::read('newarticles', 'short')) == null)
>
> {
&
Hi, José Lorenzo
thanks for your reply.
I removed my code from bootstrap.php and .htaccess file
and put in the app controller following:
---
public function beforeRender(){
$this->response->compress();
}
---
Website is now working correctly, and the server delivers gzipped html. How
to enable
:
>
> Hi people,
>
> I have a problem, wich I can not solve.
>
> on page www.detas.ba I have enabled cache and gzip. Views, css, js, are
> in the themed folder. (App/View/Themed/Detas/...)
>
> On my computer I use Chrome browser and Avast antivirus program.
>
> When I ac
I forgot to write that I use the latest version of CakePHP Framework 2.4.2
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from th
Hi people,
I have a problem, wich I can not solve.
on page www.detas.ba I have enabled cache and gzip. Views, css, js, are in
the themed folder. (App/View/Themed/Detas/...)
On my computer I use Chrome browser and Avast antivirus program.
When I access a page on eg http://detas.ba/sat/792
e a slug in
> Arabic characters but my problem is that the cache file name show
> characters like Ù«, ØÃ, ì, ù, à in place of normal characters.
>
> example :
> post_من-Ù†ØÙ† ==> the slug is: من-نحن
>
> post_٬مŠ-ومدØ٠ع-كمروي-ÙÙŠ-تØرÙات-ااØ
>
> so how
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Mokdij,
interesting problem. Is just the file name messed up or is it also the
cache content?
If it is "just" the file name then the challenge is to find something
which is connectetd to the real string but writeable in Ascii. How abou
I am developing a website in Arabic language, i need to use a slug in
Arabic characters but my problem is that the cache file name show
characters like Ù«, ØÃ, ì, ù, à in place of normal characters.
example :
post_من-Ù†ØÙ† ==> the slug is: من-نحن
post_٬مŠ-ومدØ٠ع-كمروي-ÙÙŠ-Ø
Hello
First let me thank you Cakephp team for this amazing Caching system, very
easy to use and saved us a lot of time.
Just one question .
Currently I'm using cache view for a page that require a lot of time to
generate, (i'm using the data generation in the controller and then
Hi,
somehow element_unique is working now.
On Wednesday, September 4, 2013 3:00:17 PM UTC+5:30, Dinesh Kumar wrote:
>
> i have similar issue.here is my code:
> $this->element('app_images', array(), array('cache' => array('config'
> =>
i have similar issue.here is my code:
$this->element('app_images', array(), array('cache' => array('config'
=> 'default', 'key' => 'unique')));
my cache named: cake_element_unique
i have tried below methods but none of them
Oh, nice. My original reply was deleted.
Anyhoo, I might suggest that you only clear the cache for the particular
Form(s) that were deleted or saved, using Cache::delete('getFormsById' .
$id). Although you may need to double check the event of multiple Forms
being saved or deleted
Here is one of my models for dynamic forms. I hope it helps this is CakePHP
2.x so I clear cache afterSave (editing a forms structure) or afterDelete
(selfexplanatory)
class Forms extends AppModel {
public $primaryKey = 'id';
public function afterSave($created) {
You must "invalidate" the cache, ie, delete the cache in a onSave callback.
On Friday, July 26, 2013 9:05:30 PM UTC-3, advantage+ wrote:
>
> Maybe I was reading wrong but I was under the impression if you cache an
> object (find data) if it was different it would delete
locations.
Regards
Reuben Helms
On Saturday, 27 July 2013 10:05:30 UTC+10, advantage+ wrote:
>
> Maybe I was reading wrong but I was under the impression if you cache an
> object (find data) if it was different it would delete the original cached
> data.
>
>
>
> I am cac
Maybe I was reading wrong but I was under the impression if you cache an
object (find data) if it was different it would delete the original cached
data.
I am caching the results of a find, but as admin if I edit the record the
cached data is always returned not the new data.
Is ther a way
instead it exists in the DB).
> Again everything works with CORE_DEBUG > 0.
>
> The workaround has been deleting the files in:
> /lib/Cake/Console/Templates/skel/tmp/cache/models/
>
> Some questions:
>
>1. Why are not the cache files being updated? What is the cache
.
The workaround has been deleting the files in:
/lib/Cake/Console/Templates/skel/tmp/cache/models/
Some questions:
1. Why are not the cache files being updated? What is the cache logic?
2. In ShellDispatcher.php in function _bootstrap(), There is this:
if (!is_dir(ROOT
>
>- *D**atabase is normalized properly*
>- *I**ndex field properly*
>- *T**able engine is innoDB*.
>
>
> I get little improvement but that's not sufficient. So i think if i can
> implement cache on ACL that will help me
>
> So i need help
$this->viewClass = 'Media';
> render a 1x1px image.
> }
>
> hth,
>
> AD
>
> On Friday, 17 May 2013 00:33:24 UTC+2, Salines wrote:
>>
>> Hi,
>> I use the Cache Helper, to cache my views, but now I need to implement a
>>
h a valid image:
function record_view($id) {
$this->Article->updateAll(array('views' => 'views + 1'));
$this->viewClass = 'Media';
render a 1x1px image.
}
hth,
AD
On Friday, 17 May 2013 00:33:24 UTC+2, Salines wrote:
>
Hi,
I use the Cache Helper, to cache my views, but now I need to implement a
simple UPDATE query in my view() action.
When I use the cached views, CakePHP skip actions in the the controller?
I want to record the number of hits on each article!
Can someone point me in the right direction
When and where during application startup does the Cache get initiated and
the $_map property of App.php get set?
I can't figure out where this gets initiated and a lot of my paths are
misconfigured when I run a console shell. Its probably some weird
configuration I have incorrectly set
I add date_default_timezone_set('Europe/Paris') because Therese si an error
Wotherspoon strtotime
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group
Sup guys,
I'm developing a rest api for an app with cakephp to be consumed by
smarthphones, and i need to make a cache of data.
I already make cache of queries with apc, but i still have traffic with
this...
i'll probably use http cache expire, but when expire, the data can be the
quot; South
Dakota";i:56;s:9:"Tennessee";i:57; s:5:"Texas";i:58;s:4:"Utah";i:61;s:7:"Ve
rmont";i:60;s:14:"Virgin Islands";i:59;s
:8:"Virginia";i:62;s:10:"Washington";i:6 4;s:13:"West
Virginia";i:63;s:9:"Wiscons
Clear all files (not folders) in /app/tmp/cache and try again.
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 9 Apr 2013, at 08:36, Sandip Das wrote:
> Please hgelp me , i am gettinh this notice in
> CakePHP 2.3.2.
>
>
> --
> Like Us on FaceBook https://www.fa
Please hgelp me , i am gettinh this notice in
CakePHP 2.3.2.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and
build the navigation for
> every individual user. The navigation is database driven so caching is a
> good idea - so far so good
>
> The cache is built in the startup-callback of the component like so
> (package and agent is just an example):
>
> > public function initialize
Hi
I have ran into a problem which drives me crazy :(
Ive a component which is used on every page to build the navigation for
every individual user. The navigation is database driven so caching is a
good idea - so far so good
The cache is built in the startup-callback of the component like so
Hi,
after insert or delete i don't wish delete view cache, but cake do it
automatically. How disabled clear cache after save, delete functions?
My try, but still the same:
if($this->User->save($data, array('callbacks' => false)))
Thanks
--
Like Us on FaceBook
eral-filesystem
[2] https://github.com/cakephp/cakephp/blob/master/.gitignore
On Sat, Feb 9, 2013 at 12:28 PM, Simon Males wrote:
> Issue is not CakePHP 2.3 specific. Heroku is a read only file system[1].
>
> Though you can write to /tmp. So in core.php, when setting
> Cache::config() update
Issue is not CakePHP 2.3 specific. Heroku is a read only file system[1].
Though you can write to /tmp. So in core.php, when setting
Cache::config() update the value of the 'path' key to '/tmp'. I've
also shared my production Cache::config() settings[2].
[1] https://devc
> I just updated my cake application to 2.3 and I started getting internal
> errors on my heroku application.
>
> *Warning* (512): /app/www/app/tmp/cache/ is not writable
> [*CORE/Cake/Cache/Engine/FileEngine.php*, line *336*]
>
> *Warning* (2): file_put_contents(/app/www/app
Ran into the same problem with a new Heroku app of ours. However, we've
been running the file cache on an older app for over a year and never had
problems. (Both are on the cedar stack.) Did you ever get to the bottom
of this?
I assume it has something to do with Heroku's philosop
'json';$this->view = 'feed';$this->set( 'data', $data );
>
>
> This works somewhat. I get the JSON file the first time, but when I
> request that action again, the response contains
>
>
>
>
> before the actual JSON data, so
Here's the thing - Heroku uses EC2, meaning that any files written are
deleted on Git push. But I think you're right, so I'm gonna contact Heroku
support the moment I get the chance. Thanks
On Wednesday, January 30, 2013 7:51:12 AM UTC-5, Luciano Bargmann wrote:
>
> First things first: I am alm
First things first: I am almost sure you have a write permission problem. Have
you tried to fix that?
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" g
I just updated my cake application to 2.3 and I started getting internal
errors on my heroku application.
*Warning* (512): /app/www/app/tmp/cache/ is not writable
[*CORE/Cake/Cache/Engine/FileEngine.php*, line *336*]
*Warning* (2): file_put_contents(/app/www/app/tmp/logs/error.log)
[http
> But then why does cleargroup() take a config as a parameter which defaults
> to "default"?
>
Cake needs to know which engine and prefix you want to use for cleargroup().
> Am I missing something?
>
You're probably missing ClearCache plugin - it allows to cl
According to:
http://book.cakephp.org/2.0/en/core-libraries/caching.html#using-groups
"Groups are shared across all cache configs using the same engine and same
prefix. If you are using groups and what to take advantage of group
deletion, choose a common prefix for all your configs."
API which provides values that are intended to instruct
> the consumer on how long to cache a result for. Different API calls have
> different cache times (and these cache times may be variable, so setting up
> a config for each possible outcome is out of the question).
>
> Essentially
Hi,
I am connecting an API which provides values that are intended to instruct
the consumer on how long to cache a result for. Different API calls have
different cache times (and these cache times may be variable, so setting up
a config for each possible outcome is out of the question
Hi ,
I am having a problem that CakePHP is not release the cache from my server
memory.
we have 2 GB of RAM. after users visit 5 or 6 time the server memory start
to increase from 1.2 GB to 1.9GB some time it crush our server.
Any idea how to clear this cache from memory. for my core file i
then moving it to a PHP 5.1 server. Upgrading to 5.2.17 (which is above
> 5.2.8) solved the problem.
>
>
> On Saturday, February 18, 2012 2:50:13 AM UTC+7, D Mahoney wrote:
>>
>> That suggestion sounds reasonable. Tried that, but still have same
>> issue.
>>
ok I found the solution. Here it is for anyone that needs it
Not sure why any of the other clear caching methods didnt work but in the
controller this worked for me
$this->disableCache();
--
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to
o sort = old cached data from previous sort comes back
>
> How do I disable this?
>
> DBDataHere
>
> Doesnt seem to affect it
>
> *interesting tidbit, on my local machine, the nocacheblocks works and this
> doesnt happen...when I up it to the server...I see this behavio
happen...when I up it to the server...I see this behavior.
any ideas? Cache folder is fully writable, (though im thinking this may be
a local browser thing???)
--
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this g
:
> What is the error you are getting then attempting to re-write cache?
> OR is it that the code is not reaching the write to cache stage?
>
> Tarique
>
> On Thu, Aug 9, 2012 at 10:03 PM, Ryan Willis wrote:
> > Howdy :)
> >
> > To give you a feel for the env
What is the error you are getting then attempting to re-write cache?
OR is it that the code is not reaching the write to cache stage?
Tarique
On Thu, Aug 9, 2012 at 10:03 PM, Ryan Willis wrote:
> Howdy :)
>
> To give you a feel for the environment, we have a highly available
> conf
Howdy :)
To give you a feel for the environment, we have a highly available
configuration of two load balanced web servers and two database servers
(master/slave). We are using CakePHP 2.2.1 on NginX and PHP-FPM with PHP
5.4. We are noticing intermittent cache write failures despite having
time, but when I request
that action again, the response contains
before the actual JSON data, so it won't work for my client app. I can see
that chunk of text in the actual cache file as well, which I think is the
problem.
So I am not quite sure how to proceed.
Am I just missing something pa
b
*LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt
On Sat, Jul 21, 2012 at 12:10 PM, Điển vũ wrote:
> I have a page with url : *http://example.com/threads/**một wiki và diễn
> đàn tự do về* (controller/slug)
> cached
I have a page with url : *http://example.com/threads/**một wiki và diễn đàn
tự do về* (controller/slug)
cached in
tmp/cache/views/*
threads_view_m_e1_bb_99t_wiki_v_c3_a0_di_e1_bb_85n_c4_91_c3_a0n_t_e1_bb_b1_do_v_e1.php
*
how can i clear cache this page ?
--
Our newest site for the community
More than a year, have you solved or find out a solution to this issue?
On Monday, 23 May 2011 12:44:44 UTC+8, Krissy Masters wrote:
>
> Not sure why it won’t delete.
>
>
>
> I even handcoded it and put the code in the controller view function to
> test out that there
Yes, it is possible, it is the compilation of all queries that your
application usually does.
El domingo, 6 de mayo de 2012 18:56:21 UTC-4:30, Mika escribió:
>
> The array has 500,000 entries in the [name] index!
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.o
The array has 500,000 entries in the [name] index!
--
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 em
Is it normal for /app/tmp/cache/persistent/
[cacheprefix]_cake_core_method_cache to be around 20MB in size?
--
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
above
5.2.8) solved the problem.
On Saturday, February 18, 2012 2:50:13 AM UTC+7, D Mahoney wrote:
>
> That suggestion sounds reasonable. Tried that, but still have same issue.
>
> I changed the cache config to add 'mask' => 0666 in
> app/Config/bootstrap.php
- rewrite this component as a helper
- use cached element
http://book.cakephp.org/2.0/en/views.html#caching-elements
- done
If you want to keep your code as a component, use beforeRender() callback
instead of beforeFilter(), example:
# app/Config/bootstrap.php
Cache::config('short
Does anyone have experience with Cake cache who's willing to lend me a hand?
Here is my situation:
In the footer of my website I am pulling in my 3 most recent blog posts
from Wordpress.com (the website, not a local installation). The way I am
accomplishing this is by parsing the XML feed
I solved my problem... solutions is:
Cache::read(cacheName,'cacheConfigName'); in the errors views default
config doesn't works automatically...
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Ques
Hello!
I'm using in views code like this:
$var = Cache::read(cachName);
And works fine with one exception, with ErrorHandler... in errors
views Cake can't read cache?
Maybe I shouldn't use 'read cache' in views?
--
Our newest site for the community: Cake
//www.classoutfit.com
>>
>> On 1 Apr 2012, at 11:02:29, 0x20h wrote:
>>
>>> Have you configured your cache with "lock" => true ?
>>>
>>> Am 31.03.2012 07:13, schrieb Jeremy Burns:
>>>> Although my site and cache is function
resolves it.
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 1 Apr 2012, at 11:02:29, 0x20h wrote:
>
>> Have you configured your cache with "lock" => true ?
>>
>> Am 31.03.2012 07:13, schrieb Jeremy Burns:
>>> A
Thanks - I hadn't realised that was an option. Have set and tested it and will
monitor to see if that resolves it.
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 1 Apr 2012, at 11:02:29, 0x20h wrote:
> Have you configured your cache with "lock" => true ?
>
Have you configured your cache with "lock" => true ?
Am 31.03.2012 07:13, schrieb Jeremy Burns:
> Although my site and cache is functioning, my debug log is littered
> with errors similar to this:
>
> 2012-03-30 23:45:28 Notice: Notice (8): unserialize() [ h
Although my site and cache is functioning, my debug log is littered
with errors similar to this:
2012-03-30 23:45:28 Notice: Notice (8): unserialize() [function.unserialize]: Error at offset
4065 of 4085 bytes in [/var/www/clients/client1/_sites/cakes/1_3_13/
cake/libs/cache/file.php, line 190
You'll have to configure that for _cake_core_ cache, see
http://book.cakephp.org/2.0/en/development/configuration.html#core-cache-configuration
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakeph
This happens if you run console shell/task as root user with su or cron.
Either specify user www-data in crontab, or change cache configuration to
'mask' => 0644, or - don't use FileEngine in production.
--
Our newest site for the community: CakePHP Video Tutorials
htt
Hi!
I have a strange problem with my cakephp-Installation on Ubuntu 10.04
Server: Everything works fine but after a while i get the warning:
fopen(/rootdir/cakephp/app/tmp/cache/persistent/cake_core_default_de-
de) [function.fopen]: failed to open stream: Permission denied [CORE/
cake/libs/cache
I have implemented view caching on my app and it works fine
it caches view method from posts controller (posts/view)
However, after i added
Router::connect('/', array('controller' => 'posts', 'action' =>
'view',1));
it wont cache th
Makes sense, thanks.
--
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
cake-php+unsubscr...@go
You can tell cronjobs under which user it should run. For your case
apparantly it should be the apache user.
The default mask value '0664' was intentional because of security issues.
Try 'sudo -u {apache-user} cake {shellname} {command}' or set the
default mask in core.php __before__ you use th
I'm with you @huoxito. This seems to be an issue introduced in 2.0 as I
never had it on 1.3.
Anyway, I tried the 'mask' => 0666 solution but didn't work. I'm also
running shell scripts on a cron, so every time it ran, the persmissions
were changed. So my temporary solution was to add the Apach
Still dont understand why CakePHP 2.x has this kind of issue, getting
permissions errors for command line user and apache user.
--
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
t;
> Am 17.02.2012 20:50, schrieb D Mahoney:
>> That suggestion sounds reasonable. Tried that, but still have same
>> issue.
>>
>> I changed the cache config to add 'mask' => 0666 in
>> app/Config/bootstrap.php (Cache::config('default', array(
issue.
>
> I changed the cache config to add 'mask' => 0666 in
> app/Config/bootstrap.php (Cache::config('default', array('engine' =>
> 'File', 'mask' => 0666));), then deleted the cache files with
> "find ./*/tmp/cache -type
I experienced today after creating shell scripts in command line. The
cache dir was writeable by apache user.
I chown the cache file to apache user, and the warning disappeared.
On Feb 17, 11:10 am, 0x20h wrote:
> try to set the 'mask' => 0666 option for the file cache
That suggestion sounds reasonable. Tried that, but still have same issue.
I changed the cache config to add 'mask' => 0666 in
app/Config/bootstrap.php (Cache::config('default', array('engine' =>
'File', 'mask' => 0666));), then delete
try to set the 'mask' => 0666 option for the file cache (in boostrap.php),
then delete all cache files.
The Problem occurs when you create the cache files under different users
(e.g. from cli and lighttpd as www-data)
Am 17.02.2012 16:28, schrieb CatDude:
> Greetings, all. I
Greetings, all. I'm helping a friend debug his CakePHP install and am
encountering the message in the subject. Specifically, I see a lot
of :
2012-02-17 15:20:06: (mod_fastcgi.c.2701) FastCGI-stderr: PHP
Warning: SplFileInfo::openFile(/srv/www/lighttpd/app/tmp/cache/
persi
This issue has been resolved. It turned out to be my webhost caching the
generated cache files.
--
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
1 - 100 of 839 matches
Mail list logo