Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After Ubuntu 15.10 to 16.04.1 upgrade, baikal doesn't work. #586

Closed
Godi22 opened this issue Aug 24, 2016 · 2 comments
Closed

After Ubuntu 15.10 to 16.04.1 upgrade, baikal doesn't work. #586

Godi22 opened this issue Aug 24, 2016 · 2 comments
Labels

Comments

@Godi22
Copy link

Godi22 commented Aug 24, 2016

Hello,

I have Ubuntu 15.10 upgraded to 16.04.1 and switched to php7.0.

On the server there was also a baikal 0.2.7 installation. I did an upgrade to 0.4.6 and the upgrade porcess was successfully. But the clients doesn't synchronize with the baikal server.

Now I created a new mySQL Database and installed a new baikal 0.4.6 version, but I have still the same problem that Thunderbird can't sync the data.
When I browse to my addressbook in Firefox I get the following message:

Error: Call to undefined function Sabre\HTTP\mb_detect_encoding() in /var/www/html/baikal/vendor/sabre/http/lib/functions.php:434
Stack trace:

0 /var/www/html/baikal/vendor/sabre/http/lib/functions.php(421): Sabre\HTTP\decodePathSegment('addressbooks/Sc...')

1 /var/www/html/baikal/vendor/sabre/http/lib/URLUtil.php(59): Sabre\HTTP\decodePath('addressbooks/Sc...')

2 /var/www/html/baikal/vendor/sabre/http/lib/Request.php(203): Sabre\HTTP\URLUtil::decodePath('addressbooks/Sc...')

3 /var/www/html/baikal/vendor/sabre/dav/lib/DAVACL/Plugin.php(728): Sabre\HTTP\Request->getPath()

4 [internal function]: Sabre\DAVACL\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))

5 /var/www/html/baikal/vendor/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)

6 /var/www/html/baikal/vendor/sabre/dav/lib/DAV/Server.php(446): Sabre\Event\EventEmitter->emit('beforeMethod', Array)

7 /var/www/html/baikal/vendor/sabre/dav/lib/DAV/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))

8 /var/www/html/baikal/Core/Frameworks/Baikal/Core/Server.php(123): Sabre\DAV\Server->exec()

9 /var/www/html/baikal/html/dav.php(61): Baikal\Core\Server->start()

10 {main}

On an other server with a working baikal 0.4.6 installation, sabre returns a table with the available cards.

What can I do, that the new baikal works on Ubuntu 16.04.1?

@evert
Copy link
Member

evert commented Aug 25, 2016

Install the 'mbstring' extension for php on ubuntu. Surprised that this is not yet the default!

@evert evert added the question label Aug 25, 2016
@evert evert closed this as completed Aug 25, 2016
@Godi22
Copy link
Author

Godi22 commented Aug 25, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants