#5206: File class produces Warning if file doesn't exist
---------------------------+------------------------------------------------
Reporter: thajeztah | Owner:
Type: Bug | Status: reopened
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 |
---------------------------+------------------------------------------------
Changes (by Eor):
* status: closed => reopened
* resolution: fixed =>
Comment:
I'm still getting these errors using the nightly build
(1.2.x.x_27.11.2008).
{{{
2008-11-27 17:12:17 Warning: Warning (2):
fopen(/nfs/c03/h03/mnt/53654/domains/xxx.com/html/app/tmp/cache/models/cake_model_default_payments)
[<a href='http://php.net/function.fopen'>function.fopen</a>]: failed to
open stream: No such file or directory in [CORE/cake/libs/file.php, line
156]
}}}
{{{
2008-11-27 17:57:49 Warning: Warning (2):
unlink(/nfs/c03/h03/mnt/53654/domains/xxx.com/html/app/tmp/cache/models/cake_model_default_account_credits)
[<a href='http://php.net/function.unlink'>function.unlink</a>]: No such
file or directory in [CORE/cake/libs/file.php, line 292]
}}}
--
Ticket URL: <https://trac.cakephp.org/ticket/5206#comment:5>
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
-~----------~----~----~----~------~----~------~--~---