symfony-cmf / media-bundle

UNMAINTAINED - Minimalistic interfaces to handle media in the context of the CMF
http://cmf.symfony.com/
30 stars 40 forks source link

Attempted to load class "ElFinderVolumeDriver" from namespace "FM\ElFinderPHP\Driver" #178

Open wuestkamp opened 6 years ago

wuestkamp commented 6 years ago

Getting this error:

ClassNotFoundException in PhpcrDriver.php line 35:
Attempted to load class "ElFinderVolumeDriver" from namespace "FM\ElFinderPHP\Driver".
Did you forget a "use" statement for another namespace?

when upgrading helios-ag/fm-elfinder-bundle from version 1 to 8.

Any ideas?

binhle410 commented 6 years ago

Are you sure you posted on the right Project ?

wuestkamp commented 6 years ago

I think so? :) Its about that file: https://github.com/symfony-cmf/media-bundle/blob/master/src/Adapter/ElFinder/PhpcrDriver.php

The adapter doesn't work any longer since version 8 of helios-ag/fm-elfinder-bundle.

dbu commented 6 years ago

note that this bundle is currently unmaintained due to lack of resources from the cmf maintainers. its quite possible that something went out of sync. it sounds like the newest elfinder changed something so that this ElFinderVolumeDriver no longer exists at that namespace. you could try using an older version of elfinder or try to fix the phpcr driver.

wuestkamp commented 6 years ago

Thanks, I created a pull requests to make the media-bundle work with version 8 of the elfinder bundle.