Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

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

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

Still No Word on How to Solve Installation Issue


Go to End
Reply


10 Posts   5419 Views

Avatar
Hamish

Community Member, 712 Posts

17 September 2008 at 5:34pm

Edited: 17/09/2008 5:34pm

Hey mandrew, I created the ticket earlier ([url=http://open.silverstripe.com/ticket/2808]2808[/url]). I also updated [url=http://doc.silverstripe.com/doku.php?id=suggested-web-hosts]Suggested Web host[/url] 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.

Avatar
wifiman

Community Member, 20 Posts

18 September 2008 at 4:31pm

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.

Go to Top