#5206: File class produces Warning if file doesn't exist
---------------------------+------------------------------------------------
Reporter: thajeztah | Owner: DarkAngelBGE
Type: Bug | Status: new
Priority: Low | Milestone: 1.2.x.x
Component: Cache | Version: RC2
Severity: Normal | Resolution:
Keywords: | Php_version: PHP 5
Cake_version: 1.2.0.7434 |
---------------------------+------------------------------------------------
Comment (by Eor):
DarkAngelBGE:
Here's a stack trace from one of the errors. I hope this is enough.
{{{
fopen - [internal], line ??
File::open() - CORE\cake\libs\file.php, line 156
File::write() - CORE\cake\libs\file.php, line 244
FileEngine::write() - CORE\cake\libs\cache\file.php, line 148
Cache::write() - CORE\cake\libs\cache.php, line 274
DataSource::__cacheDescription() -
CORE\cake\libs\model\datasources\datasource.php, line 400
DboMysql::describe() - CORE\cake\libs\model\datasources\dbo\dbo_mysql.php,
line 208
Model::schema() - CORE\cake\libs\model\model.php, line 872
Model::setSource() - CORE\cake\libs\model\model.php, line 752
Model::__construct() - CORE\cake\libs\model\model.php, line 409
ClassRegistry::init() - CORE\cake\libs\class_registry.php, line 134
Model::__constructLinkedModel() - CORE\cake\libs\model\model.php, line 636
Model::__createLinks() - CORE\cake\libs\model\model.php, line 608
Model::__construct() - CORE\cake\libs\model\model.php, line 417
ClassRegistry::init() - CORE\cake\libs\class_registry.php, line 134
Model::__constructLinkedModel() - CORE\cake\libs\model\model.php, line 636
Model::__createLinks() - CORE\cake\libs\model\model.php, line 608
Model::__construct() - CORE\cake\libs\model\model.php, line 417
}}}
--
Ticket URL: <https://trac.cakephp.org/ticket/5206#comment:7>
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---