Akopia Akopia Services

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

[mv] More info about static building with MV4.03



******    message to minivend-users from jojo@buchonline.net     ******

Hi list,

if i´ve a page with

Test:[page scan/ml=10/su=yes/se=Kind/sf=title]TEST[/page]

and i use this command "bin/minivend -b <myshopname>", i get

Building page stest..................................
>> found search ml=10/su=yes/se=Kind/sf=title.html..........Could not Not a SCALAR reference at /home/mvend4/lib/Vend/Util.pm line 500.
 file '>/www/buchonline.org/html/bol/static4/scan1.html': 
to write this data:
Vend::TextSearch=HASH(0x8aa7108)
build_page died: Couldn't write /www/buchonline.org/html/bol/static4/scan1.html: 
..
..
..
Building page last2search ..................................
>> found search sf=title%2ehtml/se=Kind/ml=10/su=yes........Could not Not a SCALAR reference at /home/mvend4/lib/Vend/Util.pm line 500.
 file '>/www/buchonline.org/html/bol/static4/scan2.html': No such file or directory
to write this data:
Vend::TextSearch=HASH(0x8aa85d4)
build_page died: Couldn't write /www/buchonline.org/html/bol/static4/scan2.html: No such file or directory

I noticed the line ">> found search sf=title%2ehtml/se=K" with
"%2ehtml" inside of this line. It seems to me, this isn`t right.

Looking into Util.pm again, it seems to me, there is a typo "$$"!
Remving one "$" works without any error messages!


--- Util.pm.orig	Sat Mar 18 17:04:49 2000
+++ Util.pm	Fri Mar 31 16:07:11 2000
@@ -497,7 +497,7 @@
 			lockfile(\*MVLOGDATA, 1, 1) or die "lock\n";
 			seek(MVLOGDATA, 0, 2) or die "seek\n";
 			if(ref $data) {
-				print(MVLOGDATA $$data) or die "write to\n";
+				print(MVLOGDATA $data) or die "write to\n";
 			}
 			else {
 				print(MVLOGDATA $data) or die "write to\n";
@@ -508,7 +508,7 @@
             my (@args) = grep /\S/, Text::ParseWords::shellwords($file);
 			open(MVLOGDATA, "|-") || exec @args;
 			if(ref $data) {
-				print(MVLOGDATA $$data) or die "pipe to\n";
+				print(MVLOGDATA $data) or die "pipe to\n";
 			}
 			else {
 				print(MVLOGDATA $data) or die "pipe to\n"

Regards,

	Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1971449
45886 Gelsenkirchen         FAX: 0209 1671449

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