>       I put the settings back in index.php3 but I think I might be having
> problems because I put the rest of freetrade outside the web space.
> Here's the settings and the errors follow.  I also created the mysql
> database but I'm not sure how glocal settings can tell freetrade
> where it is.
> You can see that the path looks messed up with double slashes.  The only
> way I've seen to fix that is to change the paths in index.php3 but more
> than one person has told me I don't need to do that.  Very confused.  Any
> help is always appreciated.
>
> Path to freetrade modules
> /home/httpd/freetrade
>
> Path to freetrade index.php3
> /home/httpd/html/store
>
> Settings in index.php3: ***commented out and set back to the original
> settings***
> //define("SERVER_NAME", "www.mydomain.com");
> //define("SCRIPT_NAME", basename("index.php3"));
> //define("APPLICATION_ROOT", "/home/httpd/freetrade");
> //define("EXTERNAL_PATH", dirname("/store") . "/");
>
> Here's the errors:
>
> Warning: Failed opening
> '/home/httpd/html//modules/include/global_settings'
> for inclusion in /home/httpd/html/store/index.php3 on line
> 115

FreeTrade makes an assumption about where the modules directory is.  The
directory where index.php3 lives and the directory where the modules
directories are must be parallel.  For example:

/www/modules/include/global_settings
/www/htdocs/index.php3

You can't put index.php3 in a deeper directory.  This bit of flexibility
should be added, but for now it's not there.  Also, the modules directory
must be named "modules" because there are lots of calls everywhere using
this name.  What you can do is rename index.php3 to store.php3.

I am working on FreeTrade 2.0, and these limitations won't exist.

Leon



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

Reply via email to