#5541: File locking broken with File based cache
-------------------------------+--------------------------------------------
Reporter: timr | Owner:
Type: Bug | Status: new
Priority: Medium | Milestone: 1.2.x.x
Component: File System | Version: RC3
Severity: Normal | Resolution:
Keywords: | Php_version: n/a
Cake_version: 1.2.0.7692 RC3 |
-------------------------------+--------------------------------------------
Comment (by timr):
The actual error I was getting was:
Warning (2):
unlink(/path/to/cake/app/tmp/cache/models/cake_model_default_calls)
[function.unlink]: No such file or directory [CORE/cake/libs/file.php,
line 281]
Followed by:
Missing Method in MainController
Error: The action index is not defined in controller MainController
Error: Create MainController::index() in file:
app/controllers/main_controller.php.
Of course, MainController wasn't even the controller it should been
running. Like I said, turning on file locking for the file cache type of
caching (and fixing it with this patch) fixed my issue.
It was pretty difficult to figure out what was going on, because it seemed
to only error randomly. I'm guessing it was really erroring out whenever
the cache would expire.
--
Ticket URL: <https://trac.cakephp.org/ticket/5541#comment:1>
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
-~----------~----~----~----~------~----~------~--~---