4624 Posts in 1398 Topics by 1393 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 776 Views |
-
installation error.... in big trouble

8 November 2010 at 3:31am
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.phpLine 20 in C:\xampp\htdocs\silver\sapphire\integration\HTMLValue.php
Source11 /**
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 }
Tracedomdocument->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.phpi have tried commenting php_domxml.dll but it didn't work. please help me solve this problem.
thx in anticipation
-
Re: installation error.... in big trouble

8 November 2010 at 10:09am Last edited: 8 November 2010 10:16am
The problem is the domxml extension. See here where a bogus bug was file against PHP: http://bugs.php.net/bug.php?id=32743&edit=1
You need to restart Apache for the change to take effect. Commenting out the entry in php.ini alone is not enough.
You may also wish to upgrade to XAMPP 1.7.3, since 1.6.7 is a little old and may have bugs.
Thanks,
Sean
| 776 Views | ||
|
Page:
1
|
Go to Top |


