hi
i am having hard time installing silverstrip cms, i am using win 7 and xampp 1.6.7 server to run SS cms, php version is 5, when ever i try to install silverstrip it gives me following error.
[Warning] domdocument::domdocument() expects parameter 2 to be long, string given
POST /silver/install.php
Line 20 in C:\xampp\htdocs\silver\sapphire\integration\HTMLValue.php
Source
11 /**
12 * @var DOMDocument
13 */
14 protected $document;
15
16 /**
17 * @param string $content
18 */
19 public function __construct($content = null) {
20 $this->document = new DOMDocument('1.0', 'utf-8');
21 $this->document->scrictErrorChecking = false;
22
23 $this->setContent($content);
24
25 parent::__construct();
26 }
Trace
domdocument->domdocument(1.0,utf-8)
Line 20 of HTMLValue.php
SS_HTMLValue->__construct(<p>Welcome to SilverStripe! This is the default homepage. You can edit this page by opening <a href="admin/">the CMS</a>. You can now access the <a href="http://doc.silverstripe.org">developer documentation</a>, or begin <a href="http://doc.silverstripe.org/doku.php?id=tutorials">the tutorials.</a></p>)
Line 73 of HtmlEditorField.php
HtmlEditorField->saveInto(Page)
Line 1415 of SiteTree.php
SiteTree->syncLinkTracking()
Line 1376 of SiteTree.php
SiteTree->onBeforeWrite()
Line 936 of DataObject.php
DataObject->write()
Line 1297 of SiteTree.php
SiteTree->requireDefaultRecords()
Line 231 of DatabaseAdmin.php
DatabaseAdmin->doBuild(1)
Line 1026 of install.php
Installer->install(Array)
Line 190 of install.php
i have tried commenting php_domxml.dll but it didn't work. please help me solve this problem.
thx in anticipation