Skip to content

Instantly share code, notes, and snippets.

@ss23
Created March 16, 2012 08:09
Show Gist options
  • Save ss23/2049065 to your computer and use it in GitHub Desktop.
Save ss23/2049065 to your computer and use it in GitHub Desktop.
<html><head>
<title>Installing SilverStripe...</title>
<link rel="stylesheet" type="text/css" href="themes/blackcandy/css/layout.css">
<link rel="stylesheet" type="text/css" href="themes/blackcandy/css/typography.css">
<link rel="stylesheet" type="text/css" href="themes/blackcandy/css/form.css">
<link rel="stylesheet" type="text/css" href="sapphire/dev/install/install.css">
<script src="sapphire/thirdparty/jquery/jquery.js"></script>
</head>
<body>
<div id="BgContainer">
<div id="Container">
<div id="Header">
<h1>SilverStripe CMS Installation</h1>
</div>
<div id="Navigation">&nbsp;</div>
<div class="clear"><!-- --></div>
<div id="Layout">
<div class="typography">
<h1>Installing SilverStripe...</h1>
<p>I am now running through the installation steps (this should take about 30 seconds)</p>
<p>If you receive a fatal error, refresh this page to continue the installation</p>
<ul>
<li>Setting up 'mysite/_config.php'...</li>
<li>Setting up site/dev/public/public/mysite/_config.php</li>
<li>Setting up '.htaccess' file...</li>
<li>Setting up site/dev/public/public/.htaccess</li>
<li>Building database schema...</li>
<title>POST /install.php</title><style type="text/css">body { background-color:#eee; margin:0; padding:0; font-family:Helvetica,Arial,sans-serif; }.info { border-bottom:1px dotted #333; background-color:#ccdef3; margin:0; padding:6px 12px; }.info h1 { margin:0; padding:0; color:#333; letter-spacing:-2px; }.header { margin:0; border-bottom:6px solid #ccdef3; height:23px; background-color:#666673; padding:4px 0 2px 6px; background-image:url(http://dev./cms/images/mainmenu/top-bg.gif); }.trace { padding:6px 12px; }.trace li { font-size:14px; margin:6px 0; }pre { margin-left:18px; }pre span { color:#999;}pre .error { color:#f00; }.pass { margin-top:18px; padding:2px 20px 2px 40px; color:#006600; background:#E2F9E3 url(http://dev./cms/images/alert-good.gif) no-repeat scroll 7px 50%; border:1px solid #8DD38D; }.fail { margin-top:18px; padding:2px 20px 2px 40px; color:#C80700; background:#FFE9E9 url(http://dev.site.co.nz/cms/images/alert-bad.gif) no-repeat scroll 7px 50%; border:1px solid #C80700; }.failure span { color:#C80700; font-weight:bold; }</style><div class="header"><img src="http://dev..co.nz/cms/images/mainmenu/logo.gif" width="26" height="23"></div><div class="info error"><h1>[User Error] Bad RecordClassName '' and $baseClass not set</h1><h3>POST /install.php</h3><p>Line <strong>2762</strong> in <strong>site/dev/public/public/sapphire/core/model/DataObject.php</strong></p></div><div class="trace"><h3>Source</h3><pre><span>2753</span> foreach($records as $record) {
<span>2754</span> if(empty($record['RecordClassName'])) {
<span>2755</span> $record['RecordClassName'] = $record['ClassName'];
<span>2756</span> }
<span>2757</span> if(class_exists($record['RecordClassName'])) {
<span>2758</span> $results[] = new $record['RecordClassName']($record);
<span>2759</span> } else {
<span>2760</span> if(!$baseClass) {
<span>2761</span> user_error("Bad RecordClassName '{$record['RecordClassName']}' and "
<span>2762</span> <span class="error"> . "\$baseClass not set", E_USER_ERROR);
</span><span>2763</span> } else if(!is_string($baseClass) || !class_exists($baseClass)) {
<span>2764</span> user_error("Bad RecordClassName '{$record['RecordClassName']}' and bad "
<span>2765</span> . "\$baseClass '$baseClass not set", E_USER_ERROR);
<span>2766</span> }
<span>2767</span> $results[] = new $baseClass($record);
<span>2768</span> }
</pre><h3>Trace</h3><ul><li><b>Bad RecordClassName '' and $baseClass not set</b>
<br>
Line 2762 of DataObject.php</li>
<li><b>DataObject-&gt;buildDataObjectSet(MySQLQuery,DataObjectSet)</b>
<br>
Line 762 of File.php</li>
<li><b>File-&gt;instance_get("ParentID" = 189,,,,DataObjectSet)</b>
<br>
Line 2714 of DataObject.php</li>
<li><b>DataObject::get(File,"ParentID" = 189)</b>
<br>
Line 320 of Folder.php</li>
<li><b>Folder-&gt;myChildren()</b>
<br>
Line 302 of Folder.php</li>
<li><b>Folder-&gt;deleteDatabaseOnly()</b>
<br>
Line 303 of Folder.php</li>
<li><b>Folder-&gt;deleteDatabaseOnly()</b>
<br>
Line 142 of Filesystem.php</li>
<li><b>Filesystem::sync()</b>
<br>
Line 1109 of install.php</li>
<li><b>Installer-&gt;install(Array)</b>
<br>
Line 190 of install.php</li>
</ul></div></ul></div></div></div></div></body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment