问题
I'm getting this error when I upload my application to linux. This is working fine on my local windows system but gives me error on linux server. When I search regarding this then I found this is sqLite related issue. If this is sqLite issue then how can I change this to MySQL.
Please help me.
回答1:
Delete the /tmp/debug_kit.sqlite
回答2:
Delete the tmp folder
Delete the /tmp/*
if you are getting further permission issue the set 777 permission to cakephp folder
chmod -R 777 bookmarker
回答3:
Delete the /tmp/* directory. Hope it should be solved.
回答4:
I just had the samme issue on my machine with OSX 10.11 w/ MAMP (MySQL + Apache 2)
It helped to clear the tmp/ directory within the cake3 installation - the problem persisted throughout different databases, so I figured it must have been an issue with local files rather than the database.
回答5:
This error may be caused by a hardware, file system or Operating System fault causing corruption to the Disk Safe file. Disk Safe viability, in part, relies on the stability of the underlying hardware and Operating System of the host storage device.
The safest solution is to create a new Disk Safe as soon as Server Backup reports that the database disk image is malformed. In some situations, the Disk Safe may still be usable for restoring recovery points that were created before the Disk Safe reported a corruption. However, we have no way to determine the extent of the corruption or if the workaround mentioned below will be able to repair the Disk Safe. In addition, we do not expect that a corrupt Disk Safe will be successful in a bare metal restore.
You may attempt to repair the Disk Safe by running a Disk Safe Verification (DSV) task (introduced in Server Backup v5.2.0) against the Disk Safe with the malformed image. The DSV will check the most recent recovery point to ensure all blocks are accounted for. If the disk safe fails to verify, a repair attempt will be made during the next replication task which will attempt to reconcile any missing blocks from the recovery point.
来源:https://stackoverflow.com/questions/31554588/cakephp-3-x-sqlstatehy000-general-error-11-database-disk-image-is-malformed