I've got an issue running my ownCloud instance on a Synology NAS. I get to following log error:
PHP Startup: No such handler: DBA_DEFAULT at Unknown#0
... which should be about the connection to the database. It is very confusing, because the database can be called by ownCloud, all connected clients work, the web interface works and so on... Only this message remains.
My configuration details:
- Synology DS216j with DSM 6.0.2-8451 Update 7
- PHP 5.6.28
- MariaDB 5.5.53
- ownCloud 9.1.3
I can find absolutely no information about that error...
I've been seeing this message on my Synology NAS recently and this is what I've found. My NAS has multiple Php installations, and I think this error is coming from the default installation.
but using my alternate php
So one solution is to ensure that your application is invoking the correct Php version. For this you can manage the HTTP server and PHP version from the Synology Web Station.
Alternately I noticed that this message is
E_WARNING
level only and can be ignored (unless you need Berkley Database). I added this code to my applicationI'm guessing ownCloud has a similar function, but it is probably logging all error messages, which is why you are seeing this message.