Akopia Akopia Services

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

Re: [mv] Minivend / MySQL problem



******    message to minivend-users from cfm@maine.com     ******

On Sat, Mar 04, 2000 at 06:50:22AM -0800, Eddie S wrote:
> ******    message to minivend-users from Eddie S <_eddies_@yahoo.com>     ******

I seem to remember something like this:

if (! connect(whatever is specified)) {
	if (!connect(GDBM))  # getting desparate; is there GDBM?
	        .........

We've not used anything but DBI::mysql for some time
so YMMV; I might easily be wrong.

> 
> Greetings.
> 
> I have a MySQL database and can derive data from it.
> But when I try to connect to MySQL from Minivend, I
> get an "Internal Server Error". Minivend is able to
> connect to MySQL, because when it was not able to, it
> would give an error during start-up of Minivend. The
> version of Minivend is 3.14 and version of MySQL is
> 3.22.32
> 
> catalog.cfg contains the following lines:
> 
> Database mvtable table.asc
> dbi:mysql:database:myserver.here.com:3306
> Database mvtable USER minivend
> Database mvtable PASS password
> 
> test.html:
> [sql list select * from mvtable][sql-code][/sql]
> 
> error.log:
> test /cgi-bin/test/ Runtime error: Can't locate object
> method "array_query" via package "Vend::Table:GDBM" at
> /../minivend/lib/Vend/Data.pm line 414
> 
> I realize that errors like this were posted frequently
> in the past, but none of the replies have helped me to
> solve this problem. So I hope that someone can clearly
> explain to me what I have done wrong...
> 
> Thanks in advance,
> Eddie
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
> -
> 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

-- 

Christopher F. Miller, Publisher                             cfm@maine.com
MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
1.207.657.5078                                       http://www.maine.com/
Database publishing, e-commerce, office/internet integration, Debian linux.
-
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: