#1 August 26, 2014 1:29pm

newme154
Member
Registered: August 26, 2014
Posts: 2

Loading BigTree on LocalHost using XAMPP

FIrst of all.

Is this possible? Yes. I was successful installing the program on my XAMPP server, however, I'm finding a strange error.

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 = md5(json_encode($_GET)); $file = $server_root."cache/$cache_location.page"; // If the file is at least 5 minutes fresh, serve it up. clearstatcache(); if (file_exists($file) && filemtime($file) > (time() - 300)) { 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("../custom/router.php")) { include "../custom/router.php"; } else { include "../core/router.php"; } ?>

Offline

#2 August 26, 2014 1:30pm

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

Re: Loading BigTree on LocalHost using XAMPP

It looks like your PHP install doesn't have short_open_tag set to on.

Offline

#3 August 26, 2014 1:57pm

newme154
Member
Registered: August 26, 2014
Posts: 2

Re: Loading BigTree on LocalHost using XAMPP

quick response. I like it. and it works. even better. well done.

Offline

Board footer

Powered by FluxBB

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