>I have a similar system.  Maybe I'm not following what you're trying to do,
>but I was able to add an item and destroy it with no problem.  How did you
>set up your block of paths in index.php?  Mine's like this:

>define("SERVER_NAME", $SERVER_NAME);
>define("SCRIPT_NAME", basename(__FILE__));
>define("APPLICATION_ROOT", dirname(dirname(__FILE__)) . "/");
>define("MODULE", APPLICATION_ROOT . "modules/");
>define("EXTERNAL_PATH", "/freetrade/freetrade2/htdocs/");

I am running php as a mod so I didn't have to mess with the paths but here
they are:

 define("SERVER_NAME", $SERVER_NAME);
 define("SCRIPT_NAME", basename(__FILE__));
 define("APPLICATION_ROOT", dirname(dirname(__FILE__)) . "/");
 define("MODULE", APPLICATION_ROOT . "modules/");
 define("EXTERNAL_PATH", dirname($SCRIPT_NAME) . "");

I think you are following what I am trying to do.  I replaced the script
again today just to make sure I wasn't completely crazy.  Thankfully, it
turns out that I am not  :)  -I couldn't destroy items with the original FT
code in place.


>I'll fix this in CVS, but it's
>    include_once(DATABASE_MODULE . "attribute");


Yeah, I figure that out and reposted the path fixes along with a few others.
Should I keep posting fixes this way?

Kevin



_______________________________________________
FreeTrade-dev mailing list
[EMAIL PROTECTED]
http://share.whichever.com/mailman/listinfo/freetrade-dev

Reply via email to