Discussion:
[Citrusdb-users] Typo in dashboard.php?
Rich Cloutier
2010-05-14 20:11:43 UTC
Permalink
Just downloaded the latest version (2.1 stable) the other day to play with.

Turned on E_ALL error reporting and I think I've found a typo in
dashboard.php on line 46:

$nummessages = $nummessaes + $num_rows;

I think that should be:

$nummessages = $nummessages + $num_rows;

Also, you use variables in your language files that are undefined (or
can be:)

$payment_due_date, $total_owed, $turnoff_date, $cancel_date, $phone_billing

Turning on notices and fixing undefined variables can be a pain in the
butt but I think it leads to better programming, a more robust script
(will run properly in more environments) and sometimes you catch errors
like the above.

Rich
Send Citrusdb-users mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/citrusdb-users
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Citrusdb-users digest..."
1. about citrusdb with paypal (Tim Reichhart)
----------------------------------------------------------------------
Message: 1
Date: Fri, 14 May 2010 00:57:52 -0400
Subject: [Citrusdb-users] about citrusdb with paypal
Content-Type: text/plain; charset="iso-8859-1"
Hi Guys
is there a option that I can select for payment option for paypal or not?
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------------------------------------------------------
------------------------------
_______________________________________________
Citrusdb-users mailing list
https://lists.sourceforge.net/lists/listinfo/citrusdb-users
End of Citrusdb-users Digest, Vol 40, Issue 2
*********************************************
Paul Yasi
2010-05-17 16:04:51 UTC
Permalink
I've fixed the nummessages typo and found a whole bunch of undefined
vaiables to fix when I turned on notices. I know i've turned on E_ALL
notices to find these before, but it seems that is was undone during
some upgrade or something. Thanks for reminding me. I've found still
more undefined variables to fix also.

Paul
Post by Rich Cloutier
Just downloaded the latest version (2.1 stable) the other day to play with.
Turned on E_ALL error reporting and I think I've found a typo in
    $nummessages = $nummessaes + $num_rows;
    $nummessages = $nummessages + $num_rows;
Also, you use variables in your language files that are undefined (or
can be:)
$payment_due_date, $total_owed, $turnoff_date, $cancel_date, $phone_billing
Turning on notices and fixing undefined variables can be a pain in the
butt but I think it leads to better programming, a more robust script
(will run properly in more environments) and sometimes you catch errors
like the above.
Rich
--
The CitrusDB Project | http://www.citrusdb.org
Open Source Customer Care & Billing System
Loading...