I upgraded to FileField 6-x.3.3 this morning on my local machine, and am recieved the WSOD on the main site admin page. Apache error log has the following message:

PHP Fatal error: Call to undefined function filefield_progress_implementation() in [module-dir]/filefield/filefield.install

CommentFileSizeAuthor
#6 filefield_requirements_load.patch726 bytesquicksketch
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pshafer’s picture

Just a quick note, it might help to know the line number the error the error occured. The full error message:

[Thu May 06 09:53:49 2010] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function filefield_progress_implementation() in /WWW/library_drupal_upgrade/d6/sites/all/modules/filefield/filefield.install on line 57

pshafer’s picture

I have been able to hack my way around this error by replacing line 57 in filefield.install with the following:

//$implementation = filefield_progress_implementation();
$implementation = false;

quicksketch’s picture

Category: bug » support
Priority: Critical » Normal
Status: Active » Closed (fixed)

There haven't been any confirming reports of this problem and I can't tell how this would happen or reproduce it either. I think there may be something unusual about your site that prevented this from working properly (such as having multiple copies of the module on the same site).

gateway69’s picture

Version: 6.x-3.3 » 6.x-3.x-dev
Status: Closed (fixed) » Active

I can confirm this...

Fatal error: Call to undefined function filefield_progress_implementation() in /var/www/beta/sites/all/modules/filefield/filefield.install on line 57

it happens when you go to /admin page

else where on the site I do not see the white screen of death.. odd, I tried both /admin and ?q=admin causes this.. ?

$implementation = filefield_progress_implementation();

is the line...

Im running drupal 6.19 and nothing really special.. it seems like it cant find that function, but the function is in filefield.module ?

and why only on the /admin page. something special about that?

quicksketch’s picture

Yes, the function is directly in filefield.module. If it's not there, you probably need to make sure you've properly upgraded the module.

Source code of FileField 3.7: http://drupalcode.org/viewvc/drupal/contributions/modules/filefield/file...

quicksketch’s picture

Oh I just realized what might be causing this. Do you not have FileField module actually enabled? Sometimes the .install file can be loaded without the .module file. Though... I'm not sure why this would be happening in your situation. When visiting /admin, Drupal automatically runs all requirement checks to make sure that nothing is wrong with your installation, then it directs you to admin/reports/status if anything is wrong.

As far as I know, "runtime" checks shouldn't happen if the module isn't enabled... so I'm not sure how this is happening. Could you try this patch and see if it fixes the problem?

gateway69’s picture

ugg, so i got in to try the patch this morning and well i'm no longer seeing the issue with /amin , I did do some work on the server, cleared cache, ran cron etc.. but im not sure how it would dissapear.. :(

I have 2 more drupals i need to update today or tomorrow and ill see if i get the same result..

quicksketch’s picture

Status: Active » Closed (fixed)

I went ahead and committed #6, it should prevent the problem in any case (even though I'm not sure how this was really possible to begin with). As there haven't been any updates and this isn't a common problem, I'm closing this issue directly.