Hi all!

I know, that D7 isn't out yet, but we seeing toward to expand our system on it, so we already started to develop our own modules.

We were using Apache2+Nginx+PHP5.0, but due bad experience we have changed to Nginx+php-fpm+php5.3.
All was compiled from the source, mostly standard config, all woks so far on IPB, VB and others, but the troubles just begun...

I was trying to install Drupal 7 (dev) on our server and got 500 error... I was wondering why... I've checked the the log, the following message appears on every call:

2009/10/16 12:27:00 [error] 3327#0: *18 FastCGI sent in stderr: "PHP Fatal error:  Class 'FieldException' not found in /home/web/myweb.com/httpdocs/modules/field/field.attach.inc on line 12" while reading response header from upstream, client: 127.0.0.1, server: myweb.com, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "myweb.com"

Strange. I was checking this file, and all seems to be ok. Has anyone experienced something like this? Mby there is something on nginx what i should use only for drupal?!

Thanx!

Comments

siko’s picture

2009/10/21 16:06:22 [error] 4009#0: *173 FastCGI sent in stderr: "PHP Fatal error: Class 'MergeQuery' not found in /var
/www/up.hn.cn/includes/database/database.inc on line 721" while reading response header from upstream, client: 38.108.68
.178, server: up.hn.cn, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.up.hn.cn"

I am using the nginx8.20+php5.3.1 .

princeanil’s picture

We have two webservers, Drual dev-7 works on one but won't install on the other.

I get this error during installation :
Fatal error: Class 'FieldException' not found in /home/httpdocs/public_html/drupal/modules/field/field.attach.inc on line 12

The same drupal installs fine on the other server. This has something to do with php versions or extensions being used in Apache build which are the only differences between the two servers.

artsakh8’s picture

I had the same problem with different (Dev- & Alpha) releases of D7, working with XAMPP 1.7.x on Windows. I just couldn't install D7 on my machine.

After digging around for a solution on the forum and not finding one for my case, I tried to do some changes in php.ini.

So now I found a solution for this problem, at least for my case:
- if you have some caching or accelerating extensions (in my case eAccelerator), try disabling it.

This simple change in php.ini was the solution for my case.
Maybe it will help you too.

geerlingguy’s picture

Just another 'me too' - I only have this problem on one of my servers.

__________________
Personal site: www.jeffgeerling.com

darkodev’s picture

7.x-dev

Works great on local MAMP

Doesn't work on CentOS, PHP 5.2.9 with eAccelerator enabled

Disabling eaccelerator in webroot .htaccess lets D7 do its thing

php_flag eaccelerator.enable 0
php_flag eaccelerator.optimizer 0

V I R U S’s picture

Ok, i've found.

Drupal seem to work very badly with cachers like xcache of eaccelerator. Try to disable it while you're installing drupal and then turn it again on.