Forums / Install & configuration / Error opening documents after upgrade (to 4.1.3)

Error opening documents after upgrade (to 4.1.3)

Author Message

V. van Velzen

Wednesday 05 August 2009 4:43:45 am

I've recently upgraded to 4.1.3 and all seems to work. Except my links to documents in the var/storage directory.
The link is as follows:
http://www.mysite.com/index.php/content/download/587/3130/file/myfile.pdf

When clicking the link I'm getting the following error messages:

###
Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.

Error: eZExtension::getHandlerClass
Class 'ezfilepasstrough' as defined in setting file.ini [BinaryFileSettings] Handler could not be autoloaded. Did you remember to run bin/php/ezpgenerateautoloads.php after you added extension(s)?

Error: eZBinaryFileHandler::instance
Could not find binary file handler 'ezfilepasstrough'
###

I did run the ezpgenerateautouploads.php script and that made no difference. Has anyone got any idea how to fix this?
TIA for any help...

André R.

Wednesday 05 August 2009 5:11:57 am

Seems like your setting is set in settings/override/file.ini[.append.php] or settings/siteaccess/*/file.ini[.append.php]
It should be like this in 4.1.x (this is from settings/file.ini):

[BinaryFileSettings]
Handler=eZFilePassthroughHandler

Optimally we shouldn't have used the same setting in 4.1 when we changed it, for notice on this and other bc breaks have a look in the bc doc ( doc/bc/4.1/changes-4.1.0.txt ).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

V. van Velzen

Wednesday 05 August 2009 5:41:44 am

Hi André,

The change in the file.ini.append.php did the trick. Thanks very much!