Welcome, Guest. Please login or register.

Author Topic: Undefined variable: exportxls  (Read 2198 times)

mark

  • Newbie
  • *
  • Posts: 4
    • View Profile
Undefined variable: exportxls
« on: May 05, 2015, 03:50:51 AM »
Hi

Apache logs are showing the following error.

PHP Notice:  Undefined variable: exportxls in /var/nedi/html/inc/header.php on line 247

Any ideas?

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2614
    • View Profile
    • NeDi
Re: Undefined variable: exportxls
« Reply #1 on: May 05, 2015, 10:29:24 AM »
I missed setting this variable on some Modules. Which one do you access when seeing the warning?
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

mark

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Undefined variable: exportxls
« Reply #2 on: May 06, 2015, 01:38:46 AM »
Reports-*.php  seem to be causing it.
« Last Edit: May 06, 2015, 05:15:22 AM by mark »

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2614
    • View Profile
    • NeDi
Re: Undefined variable: exportxls
« Reply #3 on: May 06, 2015, 12:59:39 PM »
tx, I'll fix it for 1.5, but probably not backport to 1.4... (it's not affecting functionality)
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

mark

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Undefined variable: exportxls
« Reply #4 on: May 07, 2015, 02:51:50 AM »
No problem. another you may want to look at for 1.5 is

PHP Strict Standards:  Only variables should be passed by reference in /var/nedi/html/Monitoring-Health.php on line 279,

big

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: Undefined variable: exportxls
« Reply #5 on: May 12, 2015, 09:57:45 PM »
I'm getting the same error from the Devices-Graph.php


rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2614
    • View Profile
    • NeDi
Re: Undefined variable: exportxls
« Reply #6 on: May 13, 2015, 12:01:23 AM »
Yepp, there are more of them in 1.4. Please ignore them ;)
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo