Jump to:

4951 Posts in 14081 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » installation error.... in big trouble

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1010 Views
  • saadmalik
    Avatar
    Community Member
    1 Post

    installation error.... in big trouble Link to this post

    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

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: installation error.... in big trouble Link to this post

    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

    1010 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.