Akopia Akopia Services

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

[mv] MiniVend 4 Bug



******    message to minivend-users from Stefan Hornburg <racke@linuxia.de>     ******


I found a bug within MiniVend 4. 

Situation is as follows:
We have a catalog with the following configuration:

# Define the site-specific information
#
ParseVariables Yes
Variable    SERVER_NAME     @@SERVER_NAME@@
Variable    CGI_URL         /@@CGIBIN@@/bonobo
Variable    SECURE_SERVER   https://@@SERVER_NAME@@
Variable    ORDERS_TO       @@ORDERS_TO@@
Variable    IMAGE_DIR       /bonobo/images

VendURL                 http://__SERVER_NAME____CGI_URL__
SecureURL               __SECURE_SERVER____CGI_URL__
MailOrderTo             __ORDERS_TO__

Database persons persons.asc SQL
Database persons DSN dbi:mysql:bonobo
Database persons USER @@BONOBO_USER@@
Database persons PASS @@BONOBO_PASS@@

ProductFiles persons
ParseVariables No

NoImport persons import

# get translations 
Locale de_CH readfile 1


Quite simple, isn't it ? The problem is that the password for
the database wrong. MiniVend calls import_database for this
and fails. No error message, just calls itself recursively here
(Data.pm, 774ff):

		if($@) {
#::logDebug("Dieing of $@");
			die $@ unless $no_import;
			if(! -f $database_dbm) {
				$Vend::ForceImport{$obj->{name}} = 1;
				return import_database($obj);
			}
		}

I think this may be problem, Christian Müller noticed once, MiniVend
just sucks all memory :-)

Bye
        Racke

-- 
LinuXia Systems, eCommerce and more => http://www.linuxia.de/ or 0511-3941290.
Unsere Partner: Cobolt NetServices (http://www.cobolt.ch), CAPCON Systemhouse
(http://www.capcon-systemhouse.com), ecoservice gmbh (http://www.ecoservice.de)
Unser Fokus liegt auf Open-Source-Software (MiniVend, Debian GNU/Linux, etc.)

-
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: