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.