I have a problem with the download of invoices. When I click on the link obtain a blank page.
I installed the VM. this is the link: http://x.x.x.x/daloradius/include/common/notificationsUserInvoice.php?invoice_id=1&destination=download
Is It this a bug?
Thanks
Anonymous
I'm unable to reproduce this bug with the VM.
I'll need more background info so I suggest you do this:
Thanks for the answer.
I did that you said
From Syslog:
Jan 13 19:33:01 lamp CRON[5592]: (www-data) CMD (/usr/bin/php $DALO_DIR/maintenance/cleanStaleSessions.php 2>&1 >/dev/null)
Jan 13 19:34:01 lamp CRON[5619]: (www-data) CMD (/usr/bin/php $DALO_DIR/maintenance/cleanStaleSessions.php 2>&1 >/dev/null)
Jan 13 19:35:02 lamp CRON[5625]: (www-data) CMD (/usr/bin/php $DALO_DIR/maintenance/cleanStaleSessions.php 2>&1 >/dev/null)
Jan 13 19:35:56 lamp apache2: PHP Notice: Undefined index: billinvoicesedit in /var/www/daloradius/bill-invoice-edit.php on line 265
Jan 13 19:35:56 lamp apache2: PHP Notice: Undefined index: user_idTooltip in /var/www/daloradius/bill-invoice-edit.php on line 354
Jan 13 19:36:02 lamp CRON[5691]: (www-data) CMD (/usr/bin/php $DALO_DIR/maintenance/cleanStaleSessions.php 2>&1 >/dev/null)
Jan 13 19:37:01 lamp CRON[5754]: (www-data) CMD (/usr/bin/php $DALO_DIR/maintenance/cleanStaleSessions.php 2>&1 >/dev/null)
Jan 13 19:38:01 lamp CRON[5779]: (www-data) CMD (/usr/bin/php $DALO_DIR/maintenance/cleanStaleSessions.php 2>&1 >/dev/null)
Jan 13 19:39:01 lamp CRON[5786]: (www-data) CMD (/usr/bin/php $DALO_DIR/maintenance/cleanStaleSessions.php 2>&1 >/dev/null)
Jan 13 19:39:01 lamp CRON[5787]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Jan 13 19:39:07 lamp apache2: PHP Notice: Undefined index: billinvoicesedit in /var/www/daloradius/bill-invoice-edit.php on line 265
Jan 13 19:39:07 lamp apache2: PHP Notice: Undefined index: user_idTooltip in /var/www/daloradius/bill-invoice-edit.php on line 354
Since you said you're getting a blank page, this means that PHP is error'ing out and you need to figure out why (this is why I said you should do step 2 and uncomment it but it seemed like you either didn't do it (completely) or it's somewhere else).
Which version of dalo, and php are you using and which dist?
Which page is it that you're visiting or button you're pressing and where?
I use the version 0.9-9 downloaded from sourceforge.net: http://sourceforge.net/projects/daloradius/files/daloradius/daloRADIUS%20VM/daloRADIUS%20VM.ova/download.
This Ova is converted from virtualbox in vmware virtual machine.
I removed the ";" before error_log for the syslog line 638 and all "@" on the php page
include/common/notificationsUserInvoice.php
From the menu billing/invoices I edit an invoice to download or email it. Maybe I'm doing it wrong.
Thanks for all
Do you see any errors on your syslog? (BTW after enabling the error log in PHP you need to restart apache)
I'm having the same error too when i email batch users.
this can be caused by a malfunctioning Pear Mail classes for sending out emails
Mail.php
Mail/mime.php
Install pear Mail.php and Mail/mime.php. This worked for me..
and also if your are installing from the source code. Try to rebuild the dynamic link for dompdf cause it may be targetted on the wrong path.
Hello..
Can you show me the script of Invoice download and Email? I am having the same issue from the above which is blank page when I selected Download Invoice and Send Email Invoice to Customer..
Please do help me.
Thanks.