[racktables-users] Re: Windows issue with new install

  • From: Rutger Hermarij <rutger.hermarij@xxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Mon, 7 Jul 2014 19:30:50 +0200

Hi,

I had an simular issue here,
because i wanted to use Racktables "offline"
so I installed XAMPP on my local machine.

A simple work arround for this matter is.
open init.php in the inc folder

and replace the following
require_once 'pre-init.php';
require_once 'config.php';
require_once 'functions.php';
require_once 'database.php';
require_once 'auth.php';
require_once 'navigation.php';
require_once 'triggers.php';
require_once 'remote.php';
require_once 'caching.php';
require_once 'slb.php';
require_once 'slbv2.php';

to

require_once 'inc/pre-init.php';
require_once 'inc/config.php';
require_once 'inc/functions.php';
require_once 'inc/database.php';
require_once 'inc/auth.php';
require_once 'inc/navigation.php';
require_once 'inc/triggers.php';
require_once 'inc/remote.php';
require_once 'inc/caching.php';
require_once 'inc/slb.php';
require_once 'inc/slbv2.php';

this solved the issue for me.


*Rutger Hermarij*
System Administrator

ASICS Europe B.V.
Taurusavenue 125
2132 LS Hoofddorp, The Netherlands

Phone +31882742625
Mobile +31623115600
rutger.hermarij@xxxxxxxxx

[image: ASICS logo]


On Fri, Jul 4, 2014 at 10:05 AM, Coles Adrian <mr.adrian.coles@xxxxxxxxxxxx>
wrote:

> Hi,
>
> Hope I'm doing this right. - Need the help of a Windows Racktables expert.
>
> Using XAMPP and Racktables 0.20.8 http://racktables/racktables/wwwroot/ [^
> <http://racktables/racktables/wwwroot/>] produces:
>
>
> _____________________________________________________________________________
> Notice: Use of undefined constant CODE_VERSION - assumed 'CODE_VERSION' in
> C:\xampp\htdocs\racktables\wwwroot\inc\init.php on line 45
>
> Notice: Use of undefined constant CODE_VERSION - assumed 'CODE_VERSION' in
> C:\xampp\htdocs\racktables\wwwroot\inc\init.php on line 48
>
> This Racktables installation seems to be just upgraded to version
> CODE_VERSION, while the database version is 0.20.8.
> No user will be either authenticated or shown any page until the upgrade
> is finished.
> Follow this link and authenticate as administrator to finish the upgrade.
>
> _____________________________________________________________________________
>
> Clicking the link says there is nothing to do, and shows:
>
> Upgrade status
> Current status Data version: 0.20.8
> Code version: 0.20.8
> Summary Come back later.
>
> _____________________________________________________________________________
>
>
> Init line 45 and 48 seem OK:
>
> if (getConfigVar ('DB_VERSION') != CODE_VERSION)
> {
>     echo '<p align=justify>This Racktables installation seems to be ' .
>         'just upgraded to version ' . CODE_VERSION . ', while the '.
>
>
> _____________________________________________________________________________
>
> Config.php contains:
>
> define ('CODE_VERSION', '0.20.8');
>
> on line 16
>
> Tried wiping the server and starting again, but always get the same issue.
> Any help gratefully received.
>
> Regards
>
> Adrian
>

Other related posts: