Author Topic: Compatibility with PHP 5 (error messages in apache log)  (Read 3168 times)

Offline possum

  • Sr. Member
  • ****
  • Posts: 99
    • View Profile
Compatibility with PHP 5 (error messages in apache log)
« on: 16/June/2007, 04:18:29 AM »
Maybe it is a good idea to set up a another section with individual boards for each nBill version for users to report bugs.
« Last Edit: 10/September/2007, 08:06:52 AM by possum »

Offline possum

  • Sr. Member
  • ****
  • Posts: 99
    • View Profile
Re: Bug Reporting section?
« Reply #1 on: 19/June/2007, 11:09:51 PM »
I don't see a bug reporting section... so here goes...


Operating system: CentOS 5.0
Apache version: 2.2.3
PHP version: 5.1.6
MySQL version: 5.0.22


I am using mod_fcgid


In my apache error log:

[Wed Jun 20 08:00:48 2007] [warn] mod_fcgid: stderr: Non-static method mosHTML::yesnoRadioList() should not be called statically
[Wed Jun 20 08:00:48 2007] [warn] mod_fcgid: stderr: date() [<a href='function.date'>function.date</a>]: It
[Wed Jun 20 08:00:48 2007] [warn] mod_fcgid: stderr: ny of those methods and you are still getting this warning, you most likely misspelled the timezone identifier.
[Wed Jun 20 08:00:48 2007] [warn] mod_fcgid: stderr: Non-static method mosHTML::yesnoRadioList() should not be called statically
[Wed Jun 20 08:00:48 2007] [warn] mod_fcgid: stderr: Non-static method mosHTML::makeOption() should not be called statically
[Wed Jun 20 08:00:48 2007] [warn] mod_fcgid: stderr: Implicit cloning object of class 'stdClass' because of 'zend.ze1_compatibility_mode'
[Wed Jun 20 08:00:48 2007] [warn] mod_fcgid: stderr: Implicit cloning object of class 'stdClass' because of 'zend.ze1_compatibility_mode'
[Wed Jun 20 08:00:48 2007] [warn] mod_fcgid: stderr: Non-static method mosHTML::makeOption() should not be called statically
[Wed Jun 20 08:00:48 2007] [warn] mod_fcgid: stderr: Implicit cloning object of class 'stdClass' because of 'zend.ze1_compatibility_mode'
[Wed Jun 20 08:00:48 2007] [warn] mod_fcgid: stderr: Implicit cloning object of class 'stdClass' because of 'zend.ze1_compatibility_mode'
[Wed Jun 20 08:00:48 2007] [warn] mod_fcgid: stderr: Non-static method mosHTML::radioList() should not be called statically

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,952
    • View Profile
Re: Bug Reporting section?
« Reply #2 on: 20/June/2007, 08:13:46 AM »
Sorry for the delay setting up this board - I missed your original post for some reason.

Anyway, those messages you are seeing are a result of running nBill on PHP5. Whilst nBill will work with PHP5 (as long as you suppress warnings), it was written for PHP4. Some notices and warnings that PHP5 generates are unavoidable without a complete re-write, so they just have to be suppressed/ignored I'm afraid.

It is possible that the next major version of nBill (2.0) will be written specifically for PHP5.

Offline possum

  • Sr. Member
  • ****
  • Posts: 99
    • View Profile
Re: Bug Reporting section?
« Reply #3 on: 20/June/2007, 11:31:11 AM »
Thanks for the response. You may wish to include that into your FAQs: that bit about compatibility with PHP5.