#1 February 2, 2016 2:59pm

oaksandelms
Member
Registered: February 2, 2016
Posts: 4

Nothing hapens after install

The install says t was successful, but both the homepage and the admin login are completely blank.
I'm guessing this is because the routing system is not working properly. There doesn't appear to be any .htaccess file anywhere.
Can someone tell me where it would go and what rules to put in it?

Offline

#2 February 2, 2016 3:04pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 974

Re: Nothing hapens after install

What version of routing did you use? (i.e. Basic, Simple Htaccess, Advanced)

Simple puts two .htaccess files in place. One in / and one in /site/.

The one in /site/ looks like this:

IndexIgnore */*

Options -MultiViews

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?bigtree_htaccess_url=$1 [QSA,L]

RewriteRule .* - [E=HTTP_IF_MODIFIED_SINCE:%{HTTP:If-Modified-Since}]
RewriteRule .* - [E=HTTP_BIGTREE_PARTIAL:%{HTTP:BigTree-Partial}]

The one in / looks like this:

RewriteEngine On
RewriteRule ^$ site/ [L]
RewriteRule (.*) site/$1 [L]

Offline

#3 February 2, 2016 3:16pm

oaksandelms
Member
Registered: February 2, 2016
Posts: 4

Re: Nothing hapens after install

I picked basic, but it did not add the files. Maybe I  have write permissions off somewhere. Anyway, I''l add the rules you gave me and see what happens....

Offline

#4 February 2, 2016 3:18pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 974

Re: Nothing hapens after install

Basic should route everything through /site/index.php so it doesn't need htaccess.
I.e. The admin would be at http://localhost/site/index.php/admin/

If it's not working I'm guessing there's a 500 error somewhere. Another thing to check might be PHP's short_tags support. If you view the source of the blank page and see code in there that's probably the issue.

Offline

#5 February 2, 2016 3:30pm

oaksandelms
Member
Registered: February 2, 2016
Posts: 4

Re: Nothing hapens after install

Okay, I think I tracked it down, but I haven't fixed it yet.
Getting errors about the www_root and admin_root in the launcher.
They aren't set.
Also I'm running testing it out on localhost, which could be an issue.

Offline

#6 February 2, 2016 3:32pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 974

Re: Nothing hapens after install

www_root and admin_root should be set in /custom/environment.php, I believe.

There's an example configuration file in /core/config.environment.php -- are you by chance running Windows? It sounds like you may have file permissions problems if nothing got written and Windows is notorious for mis-reporting file permissions to PHP.

Offline

#7 February 2, 2016 3:50pm

oaksandelms
Member
Registered: February 2, 2016
Posts: 4

Re: Nothing hapens after install

I think it's the php short tags.
I have them enabled in php.ini - so it should work.

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.