1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Error: Cannot Select a Database. The database is unknown.

Discussion in 'SiteBuilder' started by bradm, Apr 30, 2009.

  1. bradm

    bradm New Pleskian

    Dec 17, 2008
    Likes Received:

    We have a user getting the following error when clicking their "Image Gallery" on step 4 (Edit):

    Cannot Select a Database. The database is unknown.

    I searched the forum, but did not find anything in regard.

    Any further information on this error would be appreciated.

  2. DaleStirling

    DaleStirling Guest

    I am also having the same issue is there any resolution to this?
  3. abezborodova

    abezborodova Guest

    The problem is caused by the fact that Parallels Plesk Sitebuilder is unable to query module SQLite database that is located on publishing host.

    The SQLite database file is located on the publishing server in directory <Working directory>/data/storage.
    Login to FTP location where the site is published to, verify the file exists and has correct permissions. It should be:

    ftp> ls data/storage
    200 PORT command successful
    150 Opening ASCII mode data connection for file list
    drwxrwsrwx 3 user group 45 Mar 16 18:04 .
    drwxrwsr-x 5 user group 45 Nov 29 09:51 ..
    drwxrwsrwx 2 user group 6 Nov 29 09:51 attachments
    -rwxrwxrwx 1 user group 8192 Feb 10 18:19 sb_modules.php
    226 Transfer complete

    Where user:group is user and group of Apache web server in this directory (Apache works in the directory with privileges of user:group). <Working directory> is site's publishing directory.