I successfully upgraded the core modules to 6.33 and then updated some contributed modules. When trying to run the update.php, I get the following error. Additionally, the same error is visible when going to the root of the site.

Parse error: syntax error, unexpected $end in /home/content/m/a/n/****/html/modules/filefield/filefield_widget.inc on line 399

When examining line 399 of the file mentioned in the error, it has the following:
if ($item['fid'] && isset($item['status']) && $item['status'] == 0 && variable_get

And it is the last line of the file.

Comments

Jaypan’s picture

It appears your file did not properly upload. Re-upload the file to your server.

jhenline’s picture

I didn't see my FTP client error. You were right. Rookie mistake. Thank you.