[Flow] cannot use Zend Gdata
Christian Loock
chl at vkf-renzel.de
Mon Jul 14 14:56:37 CEST 2014
No, not inside Packages/Library. It needs to be in the root of your project.
On 14.07.2014 14:55, Mira wrote:
> christian, hey!
>
> I installed with "composer require zend/gdata".
>
> my composer.json in directory "Packages/Libraries" looks like this:
> {
> "require": {
> }
> }
>
> ... not more. can it be overwritten?
> what can I do to reset the configuration to default??
>
>
>
>
> Am 14.07.2014 14:48, schrieb Christian Loock:
>> How exactly did you install the package?
>>
>> With composer require ?
>>
>> Usually, inside your projects composer.json, the vendor-dir is set to
>> Packages/Libraries. If you add the package in the require block of
>> your composer.json (which it should do when you do "composer
>> require") and run "composer update" it should install it to this
>> folder. Otherwise you might wanna check your composer.json.
>>
>> On 14.07.2014 14:45, Mira wrote:
>>> I think the problem is that the composer install the package in
>>> subdir named "vendor".
>>> as I can see all other packages are directly included in "Libraries"
>>> and linked by "Libraries/composer/autoload_classmap.php".
>>>
>>> in my case this doesn't happen. the composer creates the directory
>>> "vendor" and recreate the subdir "composer" with
>>> autoload_classmap.php and others instead to edit the
>>> autoload_classmap.php in directory "Libraries/composer".
>>>
>>> how can I induce the composer to do what flow needs?
>>>
>>> lovely wishes
>>>
>>>
>>>
>>> Am 14.07.2014 13:43, schrieb Mira:
>>>> hey!
>>>>
>>>> I added zend gdata to my packages and want to use this library but
>>>> every time this error returns
>>>> PHP Fatal error: Class 'Zend\Zend_Gdata' not found in
>>>> /var/www/flow3/test/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/My_Test_Controller_StandardController.php
>>>> on line 47
>>>>
>>>> if I went to directory
>>>> /var/www/flow3/test/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/
>>>> there is no cached object for "zend" or "gdata".
>>>>
>>>> What is happened here? I use Flow 2.1 and installed gdata with
>>>> composer.
>>>>
>>>> best wishes!
>>>> mira
>>>> _______________________________________________
>>>> Flow mailing list
>>>> Flow at lists.typo3.org
>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>>>>
>>>
>>> _______________________________________________
>>> Flow mailing list
>>> Flow at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>>
>
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
--
Christian Loock
Web Developer
Renzel Agentur
www.renzel-agentur.de
More information about the Flow
mailing list