Ok, this is actually caused by sfErrorHandlerPlugin, if i move it out
of my plugins folder, the page loads fine now.  Looks like it may be
sfErrorHandlerPlugin being a bit over zealous in reporting errors if
its catching @ suppressed errors...

-J

On Tue, Mar 31, 2009 at 7:44 AM, Fabian Lange
<fabian.la...@symfony-project.com> wrote:
> Hi,
> could be error reporting.
> The four digit file exists, because it is the new file that shall replace
> the old one. Due to the way it is implemented in PHP we need to remove the
> file .yml before we move the .xxxx to its place. However the unlinking fails
> which sucks...
> I am open for ideas and will release a bugfix release once we found a
> solution.
> I will contact you for testing
> Fabian
>
> On Tue, Mar 31, 2009 at 11:06 AM, Ian <ian.domi...@gmail.com> wrote:
>>
>> Hi, I get this exact same problem - an sfLegacyException because it
>> tries to unlink a cached view.yml file.  What is odd is that the
>> view.yml file in question does kind of exist, except that it ends with
>> xxx_view.yml.xxxx (with the final four digits being a four digit
>> number). This only happens in my dev controller. For now I've been
>> forced to rollback to 1.2.4. Also, Fabian, you are right that the
>> error should be suppressed based on the line of code listed in the
>> Exception Stack  Trace but it is not. I wonder if this a problem with
>> the error reporting level in PHP?
>>
>> Fabian Lange wrote:
>> > Hi,
>> > is it this line?
>> >
>> > http://trac.symfony-project.org/browser/branches/1.2/lib/config/sfConfigCache.class.php#L352
>> >
>> > I am a bit confused that you receive an error, because the "warning"
>> > should be suppressed by the preceding @ and the unlink just shouldn't
>> > do anything.
>> >
>> > Clues anyone?
>> > Fabian
>> >
>> > On Mar 31, 2009, at 4:03 AM, Josh Steiner wrote:
>> >
>> > >
>> > > I just updated my Symfony pear package to 1.2.5 and now my site dies
>> > > trying to unlink a nonexistant cache file:
>> > >
>> > > unlink(/home/josh/src/trichlit/cache/frontend/dev/config/
>> > > modules_articles_config_view.yml.php)
>> > > [<a href='function.unlink'>function.unlink</a>]: No such file or
>> > > directory
>> > >
>> > > This is true, in my cache folder I only have this file:
>> > >
>> > > modules_articles_config_view.yml.php.9989
>> > >
>> > > This is with a brand new, empty cache/ folder, first run.
>> > >
>> > > Anyone else seeing this?
>> > >
>> > > Ubuntu 8.10, php 5.2.6
>> > >
>> > > -Josh
>> > >
>> > > >
>>
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to