Menu

#1 Out-of-box installation not working

open
nobody
None
5
2006-04-05
2006-04-05
No

I've downloaded, extracted and configured SmartBee
and could not get it to work straight away. I'm
running PHP 5.0.5 on IIS with pretty much a vanilla
configuration.

I wasn't getting any errors thrown by PHP either (and
they are enabled by default). I started to break
execution at certain spots in the SmartBee index.php
and isolated the problem to the "switch" statement
(line:59):

switch($_GET['action']){

When calling index.php for the first time it does not
pass action as a GET parameter and reports it as an
undefined index.

I reverted to the following:

switch($action){

This is working because $_GET is assigned a default
value if it does not exist.

Hope this helps.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB