MiniVend Akopia Services

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

Can't locate html_query...




Hi...

	Just checked the archives, and saw the responses to the thread
titled 'Minivend with MySQL', where someone else was seeing this problem,
but nobody appears to have given an answer to fix this...

	I too just got hit by it:

142.177.192.151 UqoyQYRm:142.177.192.151 - [25/July/1999:22:08:32 -0400] hub_prod /hub_prod.cgi Runtime error: Can't locate object method "html_query" via package "Vend::Table::DB_File" at /home/projects/minivend/mvend/lib/Vend/Data.pm line 414.

	I'm using PostgreSQL instead of MySQL, since I need an RDBMS for other
projects, but that's neither here nor there...

	My table is defined as:

hardware=> \d hardware
Table    = hardware
+----------------------------------+----------------------------------+-------+
|              Field               |              Type                | Length|
+----------------------------------+----------------------------------+-------+
| code                             | text                             |   var |
| description                      | text                             |   var |
| avail                            | text                             |   var |
| cost                             | text                             |   var |
| price                            | text                             |   var |
| supplier                         | text                             |   var |
| date                             | datetime                         |     8 |
+----------------------------------+----------------------------------+-------+

	So I have the 'code, description and price' fields in place here, but the
table name isn't product, which shouldn't matter...

	I have my catalog.cfg file defined as:

Database        hardware hardware .asc dbi:Pg:dbname=hardware;host=hub.org;port=5432
Database        hardware NAME code,description,avail,cost,price,supplier

	And doing a 'restart' on minivend comes up clean...

	So, what is it that I, and others, appear to be overlooking?

	Oh, I do have DBI and DBD both installed on the system, as a few of the sites
we host use it extensively, so would know if that was broken very quickly..

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 



Search for: Match: Format: Sort by: