[development] Drupal 7 has weird fatal error with fastcgi and xcache

James Gilliland neclimdul at gmail.com
Thu Feb 4 04:25:30 UTC 2010


Thanks Khalid,

Its on every page so its not something specific I could narrow down in
Drupal other than the autoload that's including field.module for
things like FieldException on every page. But that shouldn't really
matter.

That's interesting that you didn't have any problem. I was using
gentoo's mod_fastcgi with hand compiled versions of php 5.2. I'll try
fcgid and maybe a couple of versions of php if that doesn't make a
difference. Seeing if another opcode cache like APC would trigger it
would be interesting too.

--
James

On Wed, Feb 3, 2010 at 9:15 PM, Khalid Baheyeldin <kb at 2bits.com> wrote:
> Hello James.
>
> I normally use FastCGI and APC, but just to try to reproduce what you are
> seeing, I enabled xcache and disabled APC. The result is that everything
> runs fine, no such error. Is it at a particular path that you get this?
>
> If it matters, this is stock PHP 5.2.4 that comes with Ubuntu Server LTS
> (8.04), and the Xcache from their repository as well (1.2.1).
>
> FastCGI is running under Apache 2 using fcgid.
>
> On Wed, Feb 3, 2010 at 8:30 PM, James Gilliland <neclimdul at gmail.com> wrote:
>>
>> So I've been trying this for a couple days now and I get this error:
>> Fatal error: Cannot redeclare field_flush_caches() in
>> /../d7/modules/field/field.module on line 134
>>
>> It only happens when using fastcgi and xcache. xcache and mod_php have
>> no problem and fastcgi without xcache is also fine. It seems to be
>> related to the autoload functions but I can't for the life of me
>> figure out why. Google has been very little help either. Anyone have
>> any idea what's going on here? bug in xcache?
>
>
>
> --
> Khalid M. Baheyeldin
> 2bits.com, Inc.
> http://2bits.com
> Drupal optimization, development, customization and consulting.
> Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
> Simplicity is the ultimate sophistication. --   Leonardo da Vinci
>


More information about the development mailing list