[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[ic] Admin link fails and Report doesn't report
Hi:
I have 4.5.6 on Linux from the RPM. Most pieces running, but have 2
problems. First, clicking the Administration button at the right end of the
menubar (admin screen) gives Internal Server Error and error log has:
>
216.19...(yada yada yada)... - [05/October/2000:16:03:28 -0400] rocafixusa
/cgi-bin/rocafixusa/admin/genconfig.html Runtime error: Can't use string
("") as an ARRAY ref while "strict refs" in use at (eval 61) line 20.
Second problem is when click on Reporting button, then select any report
(e.g. Overall by Month), the table is empty and the error log has:
>
216.19...(yada yada yada)... - [05/October/2000:16:06:39 -0400] rocafixusa
/cgi-bin/rocafixusa/admin/reports/order/ByAffiliate.html Safe: Not an ARRAY
reference at (eval 1557) line 11.
>
>
> my %sales;
> $master = {};
> if($Scratch->{synd_limit}) {
> $syndstring = "&affiliate=$CGI->{affiliate}";
> }
> else {
> $syndstring = "";
> }
> #Log("query returned " . $Tag->uneval( {ref => $Tmp->{main} } ));
> foreach $line (@{$Tmp->{main}}) {
> my ($month) = substr($line->{order_date}, 0, 6);
(and lots more code)
Any clues as to what is configured wrong? Any pointers appreciated.
Martin
Speedspan
_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users