On Wed, Feb 3, 2010 at 11:25 PM, James Gilliland <span dir="ltr"><<a href="mailto:neclimdul@gmail.com">neclimdul@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks Khalid,<br>
<br>
Its on every page so its not something specific I could narrow down in<br>
Drupal other than the autoload that's including field.module for<br>
things like FieldException on every page. But that shouldn't really<br>
matter.<br>
<br>
That's interesting that you didn't have any problem. I was using<br>
gentoo's mod_fastcgi with hand compiled versions of php 5.2. I'll try<br>
fcgid and maybe a couple of versions of php if that doesn't make a<br>
difference. </blockquote><div><br>I don't think fcgid vs. mod_fastgci would make a difference.<br>The hand compiled version of php may have something to do with it.<br>I use the standard one provided in Ubuntu's repository (LTS version).<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Seeing if another opcode cache like APC would trigger it<br>
would be interesting too.<br></blockquote><div><br>APC works fine for me. In general I have seen that Xcache would crash<br>while APC is mostly stable. Every time I try experimenting with anything<br>other than APC, I go back to it. It is developed by many of the core PHP<br>
folk too. But all that has to be qualified with specific version, environment, <br>...etc. YMMV.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
--<br>
<font color="#888888">James<br>
</font><div><div></div><div class="h5"><br>
On Wed, Feb 3, 2010 at 9:15 PM, Khalid Baheyeldin <<a href="mailto:kb@2bits.com">kb@2bits.com</a>> wrote:<br>
> Hello James.<br>
><br>
> I normally use FastCGI and APC, but just to try to reproduce what you are<br>
> seeing, I enabled xcache and disabled APC. The result is that everything<br>
> runs fine, no such error. Is it at a particular path that you get this?<br>
><br>
> If it matters, this is stock PHP 5.2.4 that comes with Ubuntu Server LTS<br>
> (8.04), and the Xcache from their repository as well (1.2.1).<br>
><br>
> FastCGI is running under Apache 2 using fcgid.<br>
><br>
> On Wed, Feb 3, 2010 at 8:30 PM, James Gilliland <<a href="mailto:neclimdul@gmail.com">neclimdul@gmail.com</a>> wrote:<br>
>><br>
>> So I've been trying this for a couple days now and I get this error:<br>
>> Fatal error: Cannot redeclare field_flush_caches() in<br>
>> /../d7/modules/field/field.module on line 134<br>
>><br>
>> It only happens when using fastcgi and xcache. xcache and mod_php have<br>
>> no problem and fastcgi without xcache is also fine. It seems to be<br>
>> related to the autoload functions but I can't for the life of me<br>
>> figure out why. Google has been very little help either. Anyone have<br>
>> any idea what's going on here? bug in xcache?<br>
><br>
><br>
><br>
> --<br>
> Khalid M. Baheyeldin<br>
> <a href="http://2bits.com" target="_blank">2bits.com</a>, Inc.<br>
> <a href="http://2bits.com" target="_blank">http://2bits.com</a><br>
> Drupal optimization, development, customization and consulting.<br>
> Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra<br>
> Simplicity is the ultimate sophistication. -- Leonardo da Vinci<br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com">2bits.com</a>, Inc.<br><a href="http://2bits.com">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>
Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra<br>Simplicity is the ultimate sophistication. -- Leonardo da Vinci<br>