Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2017-04-22 00:12:16

ApexMWR
Member
Registered: 2016-11-05
Posts: 4

SQLSTATE[HY000]: General error: 11 database disk image is malformed

I'm trying to set up Backlight.  I have CE3 installed.  My plan is to setup a test Backlight environment so that I test while rebuilding the website.

I receive the following then try to get into the Backlight Admin environment:

SQLSTATE[HY000]: General error: 11 database disk image is malformed|#0 /home1/ncraspco/public_html/test/backlight/framework/dao/GenericSettingsDAO.php(24): PDO->query('PRAGMA synchron...') #1 /home1/ncraspco/public_html/test/backlight/admin/application/helpers/ApplicationConfigManager.php(10): GenericSettingsDAO->getData(Object(ApplicationConfigManager)) #2 /home1/ncraspco/public_html/test/backlight/admin/application/helpers/ApplicationHelper.php(32): ApplicationConfigManager->__construct(Object(SettingsDAO), Array) #3 /home1/ncraspco/public_html/test/backlight/framework/helpers/GenericApplicationHelper.php(28): ApplicationHelper->createConfigManager() #4 /home1/ncraspco/public_html/test/backlight/admin/application/init.php(9): GenericApplicationHelper->getConfigManager() #5 /home1/ncraspco/public_html/test/backlight/framework/init.php(145): require_once('/home1/ncraspco...') #6 /home1/ncraspco/public_html/test/backlight/admin/index.php(24): require_once('/home1/ncraspco...') #7 {main}|URL: /test/backlight/admin/index.php

I have tried several different things, including folder permissions, all with the same error message.

Offline

#2 2017-04-22 02:04:00

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: SQLSTATE[HY000]: General error: 11 database disk image is malformed

Does your hosting comply with the TTG requirements found at the bottom of this page
http://theturninggate.net/product-colle … backlight/


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2017-04-22 19:20:25

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: SQLSTATE[HY000]: General error: 11 database disk image is malformed

It looks like a database file is corrupted.  What FTP software are you using?

If this is a fresh install, can you try:

1) re-uploading the directories:
backlight/admin
backlight/designer
backlight/publisher

2) deleting the directories:
backlight/data/admin
backlight/data/designer
backlight/data/publisher

Offline

#4 2017-04-25 00:35:29

ApexMWR
Member
Registered: 2016-11-05
Posts: 4

Re: SQLSTATE[HY000]: General error: 11 database disk image is malformed

I have been using Coffee Direct FTP for years without any issues.  I tried with FileZilla and now I can access the Admin area.

Thank you for your help.

Offline

#5 2017-04-25 06:55:58

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: SQLSTATE[HY000]: General error: 11 database disk image is malformed

I'm glad to hear that's solved it.  I'm not familiar with Coffee Direct.  Could it be that your files are all being transported as text files?  The database files need to be transported as binary.

Offline

Board footer

Powered by FluxBB