Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have the screenshot's error ,using the update script with the 6100 filefield update.
Comment | File | Size | Author |
---|---|---|---|
filefield_6100.png | 21.62 KB | xavipal |
Comments
Comment #1
quicksketch#829920: Error on Upgrade to 3.4 warning: Division by zero filefield_meta.install on line 166
Use the 3.5 version.
Comment #2
xavipal CreditAttribution: xavipal commentedI'm using the 3.5 version with the same issue.
I have also Link module (6002) and Services module (6003) to update. Maybe the problem is with one of them?
Comment #3
xavipal CreditAttribution: xavipal commentedComment #4
quicksketchI haven't gotten any confirming reports of this problem after the 3.5 version was released.
Comment #5
xavipal CreditAttribution: xavipal commentedi'm now using the 3.7 one ..and the problem is still there... maybe i have any problem in the database structure... can you tell me
how must i have the filefield tables ,or other things (like the reference to the database version number for updates) or anything that i can check (about this module or may other) ???
Thanks for your support!!!
Edit: What info can I provide to find better the answer?
Comment #6
glidetothehoop CreditAttribution: glidetothehoop commentedI had the same problem. I had to totally restore my files and database after this.
Comment #7
quicksketchPerhaps everyone has simply upgraded at this point, but I didn't receive any other reports of this problem after 3.5 was released. If I can get instructions to reproduce this from a fresh install on a previous version of FileField, then upgrading to the most recent version of FileField, I'll have a look, but I know for most people they don't care about the problem after they've solved it on their own sites, so that seems unlikely.
Comment #8
j0e CreditAttribution: j0e commentedI just had this problem updating from 6.x-3.2 to the latest version 6.x-3.9...on running update.php, I got: The update process was aborted prematurely while running update #6100 in filefield_meta.module. All errors have been logged.
Here're the full details:
An error occurred. http://www.mysite.com/update.php?id=58&op=do <br /> <font size='1'><table dir='ltr' border='1' cellspacing='0' cellpadding='1'> <tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Fatal error: Call to undefined function filefield_meta_file_update() in /var/www/sites/all/modules/filefield/filefield_meta/filefield_meta.install on line <i>165</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>84756</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/update.php' bgcolor='#eeeeec'>../update.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>1.3441</td><td bgcolor='#eeeeec' align='right'>4243468</td><td bgcolor='#eeeeec'>_batch_page( )</td><td title='/var/www/update.php' bgcolor='#eeeeec'>../update.php<b>:</b>679</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>1.3448</td><td bgcolor='#eeeeec' align='right'>4249300</td><td bgcolor='#eeeeec'>_batch_do( )</td><td title='/var/www/includes/batch.inc' bgcolor='#eeeeec'>../batch.inc<b>:</b>34</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>1.3448</td><td bgcolor='#eeeeec' align='right'>4249300</td><td bgcolor='#eeeeec'>_batch_process( )</td><td title='/var/www/includes/batch.inc' bgcolor='#eeeeec'>../batch.inc<b>:</b>106</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>1.3448</td><td bgcolor='#eeeeec' align='right'>4251272</td><td bgcolor='#eeeeec'><a href='http://www.php.net/call_user_func_array' target='_new'>call_user_func_array</a> ( )</td><td title='/var/www/includes/batch.inc' bgcolor='#eeeeec'>../batch.inc<b>:</b>190</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>1.3448</td><td bgcolor='#eeeeec' align='right'>4251468</td><td bgcolor='#eeeeec'>update_do_one( )</td><td title='/var/www/includes/batch.inc' bgcolor='#eeeeec'>../batch.inc<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>1.3448</td><td bgcolor='#eeeeec' align='right'>4251832</td><td bgcolor='#eeeeec'>filefield_meta_update_6100( )</td><td title='/var/www/update.php' bgcolor='#eeeeec'>../update.php<b>:</b>160</td></tr> </table></font>
Comment #9
j0e CreditAttribution: j0e commentedI installed the getid3 library and then installed filefield meta and ran update again, and it worked, giving message: The following queries were executed
filefield_meta module
Update #6100
No queries