Open m-vo opened 11 years ago
Thanks for reporting. At the moment I don't have any time working on this extension.
The extension is probably not compatible with Contao 3.1.x. There were several changes with the file system, so there it's unlikely that it will work.
There will be more changes for Contao 3.2 (uuid), so I won't support the 3.1.x branch.
Oh, ok, thanks for the response. Just for your information, in case you adapt the code. The problematic code was the following part (that should not be called before the database update):
$objApi = $this->Database->prepare('SELECT * FROM tl_cloud_api WHERE id=?')->limit(1)->execute(\Input::get('id'));
(situated in DataContainer\CloudApi.php
in the methods choosePalette
and chooseSubpalette
)
Yeah, I use that to dynamically changes the used fields, depending on the installed api. Should not do it in the extension install mode ;-)
I got the same error; is there a quick mode to fix it?
You could uncomment following line during updating the database: https://github.com/netzmacht/cloud-dropbox/blob/master/config/config.php#L19
Netzmacht\Cloud\Api\CloudApiManager::registerApi('dropbox', 'Netzmacht\Cloud\Dropbox\DropboxApi',
// change to
//Netzmacht\Cloud\Api\CloudApiManager::registerApi('dropbox', 'Netzmacht\Cloud\Dropbox\DropboxApi', 'Dropbox');
After the database is updated, u need to reactivate it:
I tried to install the 0.3.0.5014-beta in contao 3.1.4 via the composer client (contao-legacy/cloud-api). The database update can not be executed (not via composer client nor the install tool), cause a call to a non-existing table is made before: