![]() |
![]() |
Jason Korkin.
Larry Leszczynski wrote:
****** message to minivend-users from Larry Leszczynski <larryl@furph.com> ******Hello All -
I've recently upgraded to MiniVend 3.12, everything works great except
when I try to turn on Storable. For the most part it works, but
sporadically I will get an error message like so:209.69.35.61 qYmV8s5s:209.69.35.61 - [03/May/1999:21:17:09 -0400]
fkjad /cgi-bin/fkjad/process Runtime error:
Modification of a read-only value attempted at
/usr/local/lib/perl5/site_perl/auto/Storable/thaw.al line 14,
at /usr/minivend/minivend-3.12/lib/Vend/Util.pm line 526>From that point forward the catalog will not work until I delete the
session.gdbm file. Anybody seen anything like this?It happens at various times, seems to be more likely to happen when I hit
the browser "Reload" button. I did find a repeatable case using the
feedback.html page from the simple demo catalog. The original page works
fine with Storable turned off, but not with Storable turned on. I
narrowed it to the "check_form" part of the page:[set check_form]
[if !value feedback_message]
form_errors=An empty message won't do us much good!
mv_nextpage=@@MV_PAGE@@
[elsif !value feedback_subject]
form_errors=Please give us a subject so we can track the message
mv_nextpage=@@MV_PAGE@@
[/elsif]
[else]
tracking_number=[counter etc/feedback.counter]
mv_nextpage=special/feedback
[/else]
[/if]
[/set]The error goes away if I take out the "mv_nextpage=..." lines. The
"@@MV_PAGE@@" at the bottom of the page is being interpolated to
"feedback", so I know that's working right.I'm running MiniVend 3.12, Digital UNIX 4.0, perl 5.004_04, and the latest
Storable from CPAN.Larry Leszczynski
larryl@furph.com
--
furph, Inc. WWW/Unix/Windows Solutions 734-513-7763 (voice)
info@furph.com http://www.furph.com 734-513-7759 (FAX)-
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
-- Jason Korkin - jkorkin@korksoft.com KORKSOFT http://www.korksoft.com Design, Hosting, Custom Programming, Database Mgt. and more!