>  I just downloaded FreeTrade 1.0.3 and 1.0.4, with both I am not able to
> generate the SID the front page display a message that reads "GENERATE_SID
> not a valid action", I have set the tables right, also all
> parameters needed
> on global_settings I did face the need to set the
> APPLICATION_ROOT constant
> with a var because it was failing to determin the right location but after
> that my only problem is I am not obtaining a SID could some one
> please help
> me?

This is the part of index.php3 that giving the error message:

                if(eregi('^[A-Z_0-9]*$', $ACTION) AND
                        file_exists(APPLICATION_ROOT . "/modules/actions/$ACTION") )
                {
                        //try, as much as possible, to disallow actions from being 
interrupted
                        set_time_limit(ACTION_TIME_LIMIT);
                        $userAbortOrig = ignore_user_abort(TRUE);

                        include(APPLICATION_ROOT . "/modules/actions/$ACTION");

                        //restore default settings (we don't care about the time limit 
before
                        //the action since it's only screens and actions that take a 
lot of time)
                        set_time_limit(DEFAULT_TIME_LIMIT);
                        ignore_user_abort($userAbortOrig);

                }
                else
                {
                        $ActionResults[] = "\"" . prepareText($ACTION) .
                                "\" is not a valid action.";
                }

The if statement is evaluating as false.  Since we know the action is
GENERATE_SID, we can guess the regular expression is working, so it must be
the call to file_exists().  My guess would be that APPLICATION_ROOT doesn't
actually match up with where you installed FreeTrade.  Try printing out
APPLICATION_ROOT . "/modules/actions/$ACTION" to see where it's trying to
find the action module.

My guess is that you need to tweak the settings at the top of index.php3
some more.

Good Luck,
Leon



------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to