Bug 1156385 - API access fails attempting to include php-mailer
Summary: API access fails attempting to include php-mailer
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: mantis
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gianluca Sforna
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-24 11:07 UTC by Volker Fröhlich
Modified: 2016-07-19 12:16 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-19 12:16:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Volker Fröhlich 2014-10-24 11:07:49 UTC
Description of problem:

Mantis uses set_include_path() and therefore the system-wide php-mailer module can not be loaded when accessing the API.

How reproducible:

Access https://localhost/mantis/api/soap/mantisconnect.php?wsdl -->

Actual results:

SYSTEM WARNING: 'require_once(PHPMailer/class.phpmailer.php): failed to open stream: No such file or directory' in '/usr/share/mantis/core/email_api.php' line 56

Apache error log:

[Fri Oct 24 12:28:09 2014] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required 'PHPMailer/class.phpmailer.php' (include_path='/usr/share/mantis/core/:/usr/share/mantis/library:../../library') in /usr/share/mantis/core/email_api.php on line 56

Resolution:

Upstream has removed the invocation, see:

* http://www.mantisbt.org/bugs/view.php?id=11549
* https://github.com/mantisbt/mantisbt/commit/3c23897730be8b0bbba19301ea7621f58351a014

Comment 1 Jaroslav Reznik 2015-03-03 16:23:50 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 2 Fedora End Of Life 2016-07-19 12:16:20 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.