XFileSharing Pro - Reports Mod

Message
Author
afdah
Posts: 147
Joined: Jan 27, 2012 2:23 pm

Reports Mod

#1 Postby afdah » Sep 14, 2012 4:41 pm

I'm receiving below error for my reports page.
What could be the cost?

Can't use string ("0") as a SCALAR ref while "strict refs" in use at /home/wwwroot/cgi-bin/index.cgi line 2339.

afdah
Posts: 147
Joined: Jan 27, 2012 2:23 pm

#2 Postby afdah » Sep 15, 2012 5:32 am

if i disable strict by commenting below in index.cgi, the report page will render but without any graph or values.

Code: Select all

#use strict;

pony99
Posts: 55
Joined: Jul 08, 2012 3:45 pm

#3 Postby pony99 » Oct 16, 2012 5:07 pm

Hello,
I have a problem with my users report tables.

It seems the columns of website and referral are changed:

Date Downloads Premium Sales Referrals Websites Total
2012-10-09 0 / €0 EUR 0 / €0 EUR €0 EUR €0.02805 EUR €0.02805 EUR
2012-10-10 0 / €0 EUR 0 / €0 EUR €0 EUR €0.01564 EUR €0.01564 EUR
2012-10-11 0 / €0 EUR 0 / €0 EUR €0 EUR €0.02006 EUR €0.02006 EUR

??
€0.02805 thats from referals earnings and not from website sale??

Is it a bug?


Code: Select all

<Table class="tbl1" cellpadding=2>
<TR>
    <TH>Date</TH>
    <TH>Downloads</TH>
    <TH>Premium Sales</TH>
    <TH>Referrals</TH>
    <TMPL_IF m_x><TH>Websites</TH></TMPL_IF>
    <TH>Total</TH>
</TR>
<TMPL_LOOP list>
<TR align=center>
    <TD><TMPL_VAR day></TD>
    <TD><TMPL_VAR downloads> / €<TMPL_VAR profit_dl></TD>
    <TD><TMPL_VAR sales> / €<TMPL_VAR profit_sales></TD>
    <TD>€<TMPL_VAR profit_refs></TD>
    <TMPL_IF m_x><TD>€<TMPL_VAR profit_site></TD></TMPL_IF>
    <TD>€<TMPL_VAR profit_total></TD>
</TR>
</TMPL_LOOP>
<TR>
    <TH></TH>
    <TH><TMPL_VAR sum_downloads> / €<TMPL_VAR sum_profit_dl></TH>
    <TH><TMPL_VAR sum_sales> / €<TMPL_VAR sum_profit_sales></TH>
    <TH>€<TMPL_VAR sum_profit_refs></TH>
    <TMPL_IF m_x><TH>€<TMPL_VAR sum_profit_site></TH></TMPL_IF>
    <TH>€<TMPL_VAR sum_profit_total></TH>
</TR>
</Table>

the code is right, is it?


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 0 guests