Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory-plugins fusiondirectory-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 65
    • Issues 65
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectory-pluginsfusiondirectory-plugins
  • Issues
  • #5020
Something went wrong while setting issue due date.
Closed
Open
Issue created 8 years ago by Vincent@VincentReporter
  • New related issue

  • New related issue

PHP errors in DHCP plugin with PHP7

Closed

PHP errors in DHCP plugin with PHP7

errors once when installing Fusion Directory plugins

[Tue Jul 19 13:12:49.944311 2016] [:error] [pid 28790] [client 193.251.87.166:58905] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpGroup has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpGroup.inc on line 24, referer: http://xxxxxx/fusiondirectory/ [Tue Jul 19 13:12:49.945555 2016] [:error] [pid 28790] [client 193.251.87.166:58905] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpPlugin has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpPlugin.inc on line 24, referer: http://xxxxxxx/fusiondirectory/ [Tue Jul 19 13:12:49.985517 2016] [:error] [pid 28790] [client 193.251.87.166:58905] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpNetwork has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpNetwork.inc on line 24, referer: http://xxxxxxx/fusiondirectory/ [Tue Jul 19 13:12:49.991633 2016] [:error] [pid 28790] [client 193.251.87.166:58905] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpDnsZone has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpDnsZone.inc on line 24, referer: http://xxxxxxxx/fusiondirectory/ [Tue Jul 19 13:12:50.018976 2016] [:error] [pid 28790] [client 193.251.87.166:58905] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpTSigKey has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpTSigKey.inc on line 24, referer: http://xxxxxx/fusion

.... And more...

php package list : php (7.0.4-7ubuntu2.1) php7.0-cli(7.0.4-7ubuntu2.1) php-fpdf (3:1.7.dfsg-1.1ubuntu1) (1.2.0-1ubuntu1) php-cas (1.3.3-2ubuntu1) php7.0-curl (7.0.4-7ubuntu2.1) php7.0-gd (7.0.4-7ubuntu2.1) php-imagick(3.4.0~rc6-1ubuntu3) php7.0-imap (7.0.4-7ubuntu2.1) php7.0-ldap (7.0.4-7ubuntu2.1) php7.0-recode (7.0.4-7ubuntu2.1) schema2ldif (1.1-1) smarty-gettext(1.2.0-1ubuntu1) smarty3 (3.1.21-1ubuntu1)

(from redmine: issue id 5020, created on 2016-07-19, closed on 2016-08-04)

  • Changesets:
    • Revision 0883fe8f by Côme Chilliet on 2016-07-28T09:54:44.000Z:
Fixes #5020 quickfix of PHP4 constructors in DHCP plugin
  • Revision b63dc6a7 by Côme Chilliet on 2016-08-04T13:13:13.000Z:
Fixes #5020 Removed calls to PHP4 constructors
  • Custom Fields:
    • Bug in version: 1.0.14

    Tasks

    0

    No tasks are currently assigned. Use tasks to break down this issue into smaller parts.

    Linked items
    0

    Link issues together to show that they're related. Learn more.

    Activity


    • bmortier
      bmortier @bmortier · 8 years ago
      Maintainer

      hello,

      is this with FusionDirectory 1.0.14 from our repos ?

      Cheers

      (from redmine: written on 2016-07-20)

    • Vincent
      Vincent @Vincent · 8 years ago
      Author Reporter

      Hi,

      No. Directly from sources.

      Best regards

      Vincent

      (from redmine: written on 2016-07-20)

    • Vincent
      Vincent @Vincent · 8 years ago
      Author Reporter

      Bonsoir, refait un test d'installation des plugins, excepté mixed-group -> generation d'un nouveau fusiondirectory-plugins-1.0.14.tar.gz

      mv fusiondirectory-plugins.tar.gz fusiondirectory-plugins-1.0.14.tar.gz root@theflynn:/opt/fd# fusiondirectory-setup --install-plugins Installing FusionDirectory's plugins Where is your plugins archive ?: /opt/fd/fusiondirectory-plugins-1.0.14.tar.gz

      Installing plugins into /var/www/fusiondirectory, please wait...

      root@xxxxx:/opt/fd# systemctl restart apache2.service

      Une fois connecté dans l'application : Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpPlugin has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpPlugin.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; sieve has a deprecated constructor in /var/www/fusiondirectory/plugins/personal/mail/class_sieve.inc on line 63

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpPool has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpPool.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpHost has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpHost.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpDnsZone has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpDnsZone.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpSharedNetwork has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpSharedNetwork.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpSubnet has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpSubnet.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; filterFAIcustoms has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/fai/packageSelect/class_filterFAIcustoms.inc on line 21

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpClass has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpClass.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpSubClass has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpSubClass.inc on line 23

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpTSigKey has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpTSigKey.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpAdvanced has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpAdvanced.inc on line 23

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpGroup has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpGroup.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpNetwork has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpNetwork.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpService has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpService.inc on line 23

      (from redmine: written on 2016-07-27)

    • bmortier
      bmortier @bmortier · 8 years ago
      Maintainer

      vincent T wrote:

      Bonsoir, refait un test d'installation des plugins, excepté mixed-group -> generation d'un nouveau fusiondirectory-plugins-1.0.14.tar.gz

      mv fusiondirectory-plugins.tar.gz fusiondirectory-plugins-1.0.14.tar.gz

      pq generation ??

      les sources sont disponibles ici

      http://repos.fusiondirectory.org/sources/1.0/fusiondirectory/

      c'est bien ca que tu utilise ?

      root@theflynn:/opt/fd# fusiondirectory-setup --install-plugins Installing FusionDirectory's plugins Where is your plugins archive ?: /opt/fd/fusiondirectory-plugins-1.0.14.tar.gz

      Installing plugins into /var/www/fusiondirectory, please wait...

      root@xxxxx:/opt/fd# systemctl restart apache2.service

      Une fois connecté dans l'application : Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpPlugin has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpPlugin.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; sieve has a deprecated constructor in /var/www/fusiondirectory/plugins/personal/mail/class_sieve.inc on line 63

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpPool has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpPool.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpHost has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpHost.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpDnsZone has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpDnsZone.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpSharedNetwork has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpSharedNetwork.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpSubnet has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpSubnet.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; filterFAIcustoms has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/fai/packageSelect/class_filterFAIcustoms.inc on line 21

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpClass has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpClass.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpSubClass has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpSubClass.inc on line 23

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpTSigKey has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpTSigKey.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpAdvanced has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpAdvanced.inc on line 23

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpGroup has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpGroup.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpNetwork has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpNetwork.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpService has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpService.inc on line 23

      (from redmine: written on 2016-07-27)

    • Vincent
      Vincent @Vincent · 8 years ago
      Author Reporter

      Benoit MORTIER wrote:

      vincent T wrote:

      Bonsoir, refait un test d'installation des plugins, excepté mixed-group -> generation d'un nouveau fusiondirectory-plugins-1.0.14.tar.gz

      mv fusiondirectory-plugins.tar.gz fusiondirectory-plugins-1.0.14.tar.gz

      pq generation ??

      les sources sont disponibles ici

      http://repos.fusiondirectory.org/sources/1.0/fusiondirectory/

      c'est bien ca que tu utilise ?

      Oui c'est bien ça que j'utilise. J'ai juste sorti mixed-group qui génère une erreur de schema en plus, qui n'est peut-être pas un bug)

      root@theflynn:/opt/fd# fusiondirectory-setup --install-plugins Installing FusionDirectory's plugins Where is your plugins archive ?: /opt/fd/fusiondirectory-plugins-1.0.14.tar.gz

      Installing plugins into /var/www/fusiondirectory, please wait...

      root@xxxxx:/opt/fd# systemctl restart apache2.service

      Une fois connecté dans l'application : Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpPlugin has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpPlugin.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; sieve has a deprecated constructor in /var/www/fusiondirectory/plugins/personal/mail/class_sieve.inc on line 63

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpPool has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpPool.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpHost has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpHost.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpDnsZone has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpDnsZone.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpSharedNetwork has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpSharedNetwork.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpSubnet has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpSubnet.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; filterFAIcustoms has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/fai/packageSelect/class_filterFAIcustoms.inc on line 21

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpClass has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpClass.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpSubClass has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpSubClass.inc on line 23

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpTSigKey has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpTSigKey.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpAdvanced has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpAdvanced.inc on line 23

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpGroup has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpGroup.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpNetwork has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpNetwork.inc on line 24

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dhcpService has a deprecated constructor in /var/www/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpService.inc on line 23

      (from redmine: written on 2016-07-27)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 8 years ago
      Reporter

      Pushed a quickfix in 1.0.14-fixes for thoses constructors but there might be other problems in DHCP plugin with PHP7 as it’s really old code, it will be rewrote in 1.1.

      (from redmine: written on 2016-07-28)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 8 years ago
      Reporter

      Were you able to test? (it’s in 1.0.14-fixes)

      [EDIT] and our jessie repository should work fine with your Ubuntu: https://integration.fusiondirectory.org/repos/fixes-releases/debian/fusiondirectory-114-fixes-jessie/

      (from redmine: written on 2016-08-04)

    • bmortier
      bmortier @bmortier · 8 years ago
      Maintainer

      hello,

      when i try to create a dhcp service i get this error

      Fatal error: Call to undefined method dhcpPlugin::dhcpPlugin() in /usr/share/fusiondirectory/plugins/admin/systems/services/dhcp/class_dhcpService.inc on line 36

      Cheers

      (from redmine: written on 2016-08-04)

    • bmortier
      bmortier @bmortier · 8 years ago
      Maintainer

      Close issue

      (from redmine: written on 2016-08-04)

    • bmortier closed 7 years ago

      closed

    • bmortier added Fixed label 6 years ago

      added Fixed label

    Please register or sign in to reply
    Assignee
    bmortier's avatar
    bmortier
    Assign to
    Labels
    0
    None
    0
    None
      Assign labels
    • Manage project labels

    Milestone
    No milestone
    None
    Due date
    None
    None
    None
    Time tracking
    No estimate or time spent
    Confidentiality
    Not confidential
    Not confidential

    You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

    Lock issue
    Unlocked
    0
    0 Participants
    Reference:

    Menu

    Explore Projects Groups Topics Snippets