4573 Posts in 1386 Topics by 1377 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 279 Views |
-
cannot download Silverstripe 2.4.7

10 October 2012 at 9:46am
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.phpLine 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
TraceCouldn't run query: SHOW FULL FIELDS IN "SiteConfig" Table 'ss_mysite.siteconfig' doesn't exist
Line 525 of MySQLDatabase.phpNo doubt, I'm quite dim and missing something obvious... but can someone point me in right direction?
Thanks.
-
Re: cannot download Silverstripe 2.4.7

11 October 2012 at 10:10pm
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
| 279 Views | ||
|
Page:
1
|
Go to Top |


