Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Still No Word on How to Solve Installation Issue

Our old forums are still available as a read-only archive.

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

Page: 1 2
Go to End
Author Topic: 5123 Views
  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: Still No Word on How to Solve Installation Issue Link to this post

    Hey mandrew, I created the ticket earlier (2808). I also updated Suggested Web host wiki page.

    wifiman: finally figured it out because the error "cannot extend from interface Query" implied that Query had been defined as an interface. That was weird because Query should have been a class, not an interface, so I searched your phpinfo for "Query". In the onPHP section there is a row that says 'interfaces' and it lists Query. Bingo!

    Hopefully namespacing will fix this issue with future PHP versions.

  • wifiman
    Avatar
    Community Member
    20 Posts

    Re: Still No Word on How to Solve Installation Issue Link to this post

    I've been able to verify with Omnis.com that there should be *nothing* that I need to do to enable mod_rewrite or AllowOverride. I apologize for asking again, but could someone suggest what I need to do to get past this latest challenge regarding the install? Here's what I see during the install now:

    [Disclaimer: I have substituted "mysitepath" and "mysiteurl" in place of the actual values. Omnis.com virtualizes all of its accounts onto a single filesystem (hence the reason for "mysitepath"); as far as I am concerned, though, everything in www is my website's "root" directory (which would appear at the root of "mysiteurl.com"). Perhaps the Silverstripe rewrite rules are making some assumption about the path structure that breaks with Omnis' configuration?]

    # Creating '.htaccess' file...
    # Creating /mysitepath/www/silverstripe/.htaccess
    # Building database schema...
    # Checking mod_rewrite works
    # http://mysite.com/silverstripe/InstallerTest/testrewrite Rewrite is DirectorySlash Off RewriteEngine On RewriteBase /silverstripe RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$ RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* /mysitepath/www/sapphire/main.php?url=%1&%{QUERY_STRING} [L] Creating /mysitepath/www/silverstripe/.htaccess http://mysiteurl.com/silverstripe/InstallerTest/testrewrite
    # ERROR: mod_rewrite not working, redirecting to mod_rewrite test page
    # Creating /mysitepath/www/silverstripe/.htaccess I will now try and direct you to rewritetest to troubleshoot mod_rewrite

    Then the page reloads and I see:

    mod_rewrite doesn't appear to be working. Make sure:

    * mod_rewrite is enabled in your httpd.conf
    * AllowOverride is enabled for the current path.

    Please check these options, then refresh this page.If you believe that your configuration is correct, click here to proceed anyway.

    If I go ahead and proceed anyway, I get the new error:

    Fatal error: Call to undefined method HttpResponse::isFinished() in /mysitepath/www/silverstripe/sapphire/core/control/Controller.php on line 130

    Would really appreciate any other suggestions -- it seems like this has happened to others and would really help get more converts to Silverstripe if we make these steps easier. Let me know if I can provide more info.

    5123 Views
Page: 1 2
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.