Closed (fixed)
Project:
FileField
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 May 2010 at 13:59 UTC
Updated:
6 Dec 2010 at 00:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
pshafer commentedJust 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
Comment #2
pshafer commentedI 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;
Comment #3
quicksketchThere 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).
Comment #4
gateway69 commentedI 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?
Comment #5
quicksketchYes, 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...
Comment #6
quicksketchOh 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?
Comment #7
gateway69 commentedugg, 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..
Comment #8
quicksketchI 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.