#6435: Random cache unlink warning on Windows
----------------------------+-----------------------------------------------
    Reporter:  biscazziere  |          Type:  Bug   
      Status:  new          |      Priority:  Medium
   Milestone:  1.2.x.x      |     Component:  Cache 
     Version:  1.2 Final    |      Severity:  Normal
    Keywords:               |   Php_version:  n/a   
Cake_version:               |  
----------------------------+-----------------------------------------------
 I'm testing on Windows Vista using last version of XAMPP, UAC is disabled.
 Sometimes (apparently at random time, I can't figure out) I get this
 warning:

 {{{
 Warning (2):
 
unlink(C:\xampp\htdocs\trovamusicisti\tmp\cache\persistent\cake_core_default_ita)
 [function.unlink]: Permission denied [CORE\cake\libs\file.php, line 292]
 }}}

 This is the stacktrace:

 {{{
 Debugger::handleError() - CORE\cake\libs\debugger.php, line 222
 unlink - [internal], line ??
 File::delete() - CORE\cake\libs\file.php, line 292
 FileEngine::read() - CORE\cake\libs\cache\file.php, line 171
 Cache::read() - CORE\cake\libs\cache.php, line 293
 I18n::translate() - CORE\cake\libs\i18n.php, line 154
 __ - CORE\cake\basics.php, line 605
 ToolbarComponent::initialize() -
 APP\plugins\debug_kit\controllers\components\toolbar.php, line 86
 Component::initialize() - CORE\cake\libs\controller\component.php, line 96
 Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 208
 Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 194
 [main] - APP\webroot\index.php, line 88
 }}}

 If I refresh the page, it is gone. I can't figure out the exact
 circumstances in which this warning pop-up, seems very random, and appears
 not very often.
 I'm sorry I can't attach more information, but I'm not able to reproduce
 this sistematically.

-- 
Ticket URL: <https://trac.cakephp.org/ticket/6435>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

  • [CakePHP : The Rapid Dev... CakePHP : The Rapid Development Framework for PHP

Reply via email to