[Flow] Guzzle - TYPO3 Flow File Location
Mark Kuiphuis
mark at capesso.com.au
Sat May 9 07:29:28 CEST 2015
Hi all,
Previously I have built functionality to link a site to the online
payment gateway Eway. For this I have used the OmniPay/Eway package from
packagist.org
Everything was working, but it looks like Guzzle, which is used by the
OmniPay/Common package is looking for a cacert.pem file in the following
folder:
/path/to/releases/20150430145951/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/Resources/cacert.pem
I'm using TYPO3.Surf for deploying new versions, so I cannot simply
change the function (which I think is the problem) in the Guzzle package
as upon every deployment it will grab the guzzle version from either the
composer cache or it will download a new version from github.
I believe the line in
/Packages/Libraries/guzzle/guzzle/src/Guzzle/Http/Client.php (line 140)
is causing the problem....
$opts[CURLOPT_CAINFO] = __DIR__ . '/Resources/cacert.pem';
Is there a way (Settings.yaml) perhaps where we can say that a package
in the Libraries folder should not look in the Flow Cache Folder, but
instead in it's own folder?
Or perhaps (as a last resort?) disable lookup of the cacert.pem file
altogether?
I have already used the code below in Settings.yaml but unfortunately
without success :(
TYPO3:
Flow:
object:
excludeClasses:
'Omnipay.Common': ['.*']
'Guzzle.Http': ['.*']
Thanks,
Mark Kuiphuis
More information about the Flow
mailing list