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 fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 39
    • Issues 39
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #999
Closed
Open
Issue created 12 years ago by bmortier@bmortierMaintainer
  • New related issue

  • New related issue

Problem of auto inclusion of the class_pdf.inc

Closed

Problem of auto inclusion of the class_pdf.inc

Hello,

The auto inclusion of this class cause a problem of login : here is the error message :

DEBUG[1] (/usr/share/fusiondirectory/html/main.php:134) - Setting language to: 'fr_FR.UTF-8' Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/MDB2.php on line 393 Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/MDB2.php on line 2647 Fatal error: cannot instantiate class 'FPDF' - try running 'fusiondirectory-setup --update-cache' to fix this

(from redmine: issue id 999, created on 2012-05-31, closed on 2012-08-08)

  • Changesets:
    • Revision 2fabcc98 by Benoit MORTIER on 2012-06-11T13:40:08.000Z:
Fixes: #999 Problem of auto inclusion of the class_pdf.inc
  • Revision ac6aa6fb by Benoit MORTIER on 2012-06-11T14:00:40.000Z:
Fixes: #999 Problem of auto inclusion of the class_pdf.inc
  • Revision 2a40583f by Benoit MORTIER on 2012-08-07T08:52:19.000Z:
Fixes: #999 Problem of auto inclusion of the class_pdf.inc
  • Revision c208896e by Benoit MORTIER on 2012-08-07T08:57:17.000Z:
Fixes: #999 Problem of auto inclusion of the class_pdf.inc
  • Uploads:
    • 0001-Fixes-999-Problem-of-auto-inclusion-of-the-class_pdf.patch

    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 · 12 years ago
      Author Maintainer

      Hello,

      yes there is a crude hack in this file to prevent it to be autoload with the other classes

      /* Avoid autoloading this class */ class PDF extends FPDF

      that has been removed due to doxygen fixes... :)

      But this issue really need to be fixed

      Cheers

      (from redmine: written on 2012-05-31)

      By bmortier on 2017-09-02T14:44:58 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      With this patch only .inc files are autoloaded. Modified the only file that was .php and needed autoloading.

      (from redmine: written on 2012-06-11)

      By Côme Chilliet on 2017-09-02T14:44:58 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      Close issue

      (from redmine: written on 2012-08-08)

      By bmortier on 2017-09-02T14:44:59 (imported from GitLab)

    • bmortier closed 7 years ago

      closed

      By bmortier on 2017-09-02T14:44:59 (imported from GitLab)

    • bmortier added Fixed fusiondirectory-core labels and removed Bugs label 2 years ago

      added Fixed fusiondirectory-core labels and removed Bugs label

    • bmortier added PJ1802-0188 label 2 years ago

      added PJ1802-0188 label

    Please register or sign in to reply
    Assignee
    bmortier's avatar
    bmortier
    Assign to
    Labels
    3
    Fixed PJ1802-0188 fusiondirectory-core
    3
    Fixed PJ1802-0188 fusiondirectory-core
      Assign labels
    • Manage project labels

    Milestone
    FusionDirectory 1.0.4
    FusionDirectory 1.0.4 (expired)
    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
    1
    1 Participant
    bmortier
    Reference: fusiondirectory/fd#999

    Menu

    Explore Projects Groups Topics Snippets