[ic] Admin now OK. Still have Reporting problem.

Martin Abell abellmt@spsp.net
Sat, 07 Oct 2000 00:15:54 -0400


Yesterday I asked about two problems, the non-working Admin function is
working now.  So wonder if anyone has an idea about the ....

Second problem - 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)

Martin
Speedspan