Jump to:

4952 Posts in 14480 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » cannot download Silverstripe 2.4.7

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 506 Views
  • mikel70
    Avatar
    Community Member
    1 Post

    cannot download Silverstripe 2.4.7 Link to this post

    I have been using Silverstripe 3 but needed to download version 2.4.7 on MAMP to access some of the existing modules. Unfortunately, I keep coming up against the same problem when I try to install the program. The message I get is:

    [User Error] Couldn't run query: SHOW FULL FIELDS IN "SiteConfig" Table 'ss_mysite.siteconfig' doesn't exist
    POST /SilverStripe-v2.4.7%202/install.php

    Line 525 in /Applications/MAMP/htdocs/SilverStripe-v2.4.7 2/sapphire/core/model/MySQLDatabase.php

    Source

    516    }
    517    
    518    function databaseError($msg, $errorLevel = E_USER_ERROR) {
    519       // try to extract and format query
    520       if(preg_match('/Couldn\'t run query: ([^\|]*)\|\s*(.*)/', $msg, $matches)) {
    521          $formatter = new SQLFormatter();
    522          $msg = "Couldn't run query: \n" . $formatter->formatPlain($matches[1]) . "\n\n" . $matches[2];
    523       }
    524       
    525       user_error($msg, $errorLevel);
    526    }
    527    
    528    /**
    529     * Return a boolean type-formatted string
    530     *
    531     * @param array $values Contains a tokenised list of info about this data type
    Trace

    Couldn't run query: SHOW FULL FIELDS IN "SiteConfig" Table 'ss_mysite.siteconfig' doesn't exist
    Line 525 of MySQLDatabase.php

    No doubt, I'm quite dim and missing something obvious... but can someone point me in right direction?

    Thanks.

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: cannot download Silverstripe 2.4.7 Link to this post

    Hmm, is there a SiteConfig table in the database? It could be to do with the fact that it's created as lowercase by MySQL...

    Cheers,
    Sean

    506 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.