[FLOW3-general] using libraries via composer
Cedric Ziel
cedric at cedric-ziel.com
Wed Nov 28 16:01:40 CET 2012
Hi Thomas,
Most errors with library packages seem to be a followup to the shipped fallback autoloader.
I solved many of them by simply removing the autoloader.php in the librarie's folder.
You could try that, as flows autoloader in my understanding tries to autoload any PHP file-including the shipped ones from the packages.
Regards,
Cedric
Thomas Mammitzsch <thomas at visualworx.de> schrieb:
>Hi,
>
>i replaced the require against an require_once and that error
>disappeared. Now i get another one:
>
>"PHP Fatal error: Class 'PHPUnit_Framework_TestCase' not found in
>/var/www/myflow/Packages/Libraries/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php
>
>on line 21"
>
>On 28.11.2012 14:30, Thomas Mammitzsch wrote:
>
>hi list,
>
>i just tried to add guzzle to my flow installation. I added it to
>composer.json and installed it. When i execute './flow help' i get this
>
>error message: "PHP Fatal error: Cannot redeclare class Zend_Log in
>/var/www/myflow/Packages/Libraries/guzzle/guzzle/tests/Guzzle/Tests/Log/Zend_Log.php
>
>on line 30"
>
>Any ideas on this one?
>
>regards, Thomas
>_______________________________________________
>FLOW3-general mailing list
>FLOW3-general at lists.typo3.org
>http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
More information about the FLOW3-general
mailing list