#1 Re: Developer Help » Installation Quirks » February 20, 2014 4:30pm

Woohoo!


Ok I double checked and short tags show up twice in the ini files, so I turned those on as well and it works now! Thank you so much!!! smile

#2 Re: Developer Help » Installation Quirks » February 20, 2014 4:24pm

Ok I'll double-check them.


I did see that warning during install, but I turned short tags on in all six of the php.ini files I found on the machine (I wasn't sure which one bigtree was specifically using!).


But I'll check again. Thanks!

#3 Re: Developer Help » Installation Quirks » February 20, 2014 4:19pm

Ok it looks like it installed correctly (woohoo!) but when I go to the URL, it goes to a page that says the following. The admin URL goes to a similar looking thing:


1) {            $bigtree["path"] = array_slice($bigtree["path"],$x - 1);        }        if (file_exists("../custom/admin/router.php")) {            include "../custom/admin/router.php";        } else {            include "../core/admin/router.php";        }        die();    }        // We're not in the admin, see if caching is enabled and serve up a cached page if it exists    if ($bigtree["config"]["cache"] && $bigtree["path"][0] != "_preview" && $bigtree["path"][0] != "_preview-pending") {        $cache_location = $_GET["bigtree_htaccess_url"];        if (!$cache_location) {            $cache_location = "!";        }        $file = "../cache/".base64_encode($cache_location).".page";        // If the file is at least 5 minutes fresh, serve it up.        clearstatcache();        if (file_exists($file) && filemtime($file) > (time()-300)) {            // If the web server supports X-Sendfile headers, use that instead of taking up memory by opening the file and echoing it.            if ($bigtree["config"]["xsendfile"]) {                header("X-Sendfile: ".str_replace("site/index.php","",strtr(__FILE__, "\\", "/"))."cache/".base64_encode($cache_location).".page");                header("Content-Type: text/html");                die();            // Fall back on readfile otherwise.            } else {                readfile($file);                die();            }        }    }        // Clean up the variables we set.    unset($config,$debug,$in_admin,$parts_of_admin,$x);    // Bootstrap BigTree    if (file_exists("../custom/bootstrap.php")) {        include "../custom/bootstrap.php";    } else {        include "../core/bootstrap.php";    }    // Route BigTree    if (file_exists("../customrouter.php")) {        include "../customrouter.php";    } else {        include "../corerouter.php";    } ?>

#4 Re: Developer Help » Installation Quirks » February 20, 2014 4:10pm

Alrighty, I'll try it and get right back to you!

#5 Re: Developer Help » Installation Quirks » February 20, 2014 2:10pm

Hi! I'm trying to install BigTree on a local machine running IIS but after installing, the page just goes to the 500 server error page.


I can see the install script makes the bigtree tables in the MySQL database and inserts data into them and everything but (it looks like) it just doesn't end up creating the website files. No new files appear afterwards in the directory.


The directory is writable (that was the first error I was getting during the install) so I know that part is fine, so I don't know what to check next!

Board footer

Powered by FluxBB

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