> -->If you restore the original file, does the problem return?
>
> Yep.  Strange but true.  I don't understand it but spent plenty of time
> trying to.  My developement box is win98, Apache 4.05, MySQL 3.23.36.  I
> haven't put it on the Linux server yet.

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/");

(That last line is not what's in CVS, since $SCRIPT_NAME doesn't work with
PHP as a CGI, which is what I have on my Win98 box).

> Also,
> The paths to the attribute module are incorrect in the following:
> DELETE_VARIATION, DELETE_ATTRIBUTE, ADD_ATTRIBUTE, ADD_VARIATION
>
> Change:  include_once(MODULE . "utility/attribute");
> To: include_once(MODULE . "database/mysql/attribute");

I'll fix this in CVS, but it's
    include_once(DATABASE_MODULE . "attribute");
which allows you to switch the database engine in the global settings..well,
it will if anyone writes another set of database modules. :)

Leon


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

Reply via email to