11-23-2016, 11:59 PM
I'm testing out the latest UserSpice on an XAMPP install (v5.6.3) and get the following when I attempt to access a page having successfully logged on:
This appears to be because UserSpice and XAMPP both use the Config.php function and despite the evidence from the videos (!) my install of XAMPP doesn't seem to want to play nicely... What's really confusing is that the UserSpice admin pages are fine and work normally.
I copied and pasted the lines suggested in the UserSpice index page into my own php file to place the page under user control. These lines are:
<pre></pre>
Any ideas?
Code:
Fatal error: Cannot redeclare class Config in C:\xampp\php\pear\Config.php on line 44
This appears to be because UserSpice and XAMPP both use the Config.php function and despite the evidence from the videos (!) my install of XAMPP doesn't seem to want to play nicely... What's really confusing is that the UserSpice admin pages are fine and work normally.
I copied and pasted the lines suggested in the UserSpice index page into my own php file to place the page under user control. These lines are:
<pre>
Code:
require_once 'users/init.php';
require_once $abs_us_root.$us_url_root.'users/includes/header.php';
require_once $abs_us_root.$us_url_root.'users/includes/navigation.php';
if (!securePage($_SERVER['PHP_SELF'])){die();}
Any ideas?