Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Minivend3.14/MySQL Problem



******    message to minivend-users from Dan Busarow <dan@dpcsys.com>     ******

On Mon, 24 Apr 2000, OTR Comm wrote:
> I created my own products, pricing, and transactions tables with a
> script (didn't like the MV defaults).

I prefer this too.

> I removed all the .sql files from the products directory.  But I also
> commented out some code in DBI.pm; i.e.
> 
> #       $db->do("drop table $tablename")
> #               or warn "$DBI::errstr\n";
> 
> I had to comment out the code because every time that I restarted MV, it
> wanted to drop the tables that I created and rebuild them with the
> defaults; i.e., varchar(128) for all fields.  Then it would say that the
> tables were created and die without actually creating the tables.

That's what the NoImport directive is for.  MV won't do this if you 
include the table in a NoImport line like

NoImport products pricing

> So, I commented out the code, restarted MV and things appear to be
> working okay.
> 
> Now what I have to do is figure out where MV updates the transactions
> table.  I assume that it is someplace in Order.pm

See etc/report

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: