PHPMailer not found by smtpmailer bundled in public.openstack-org
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-org |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am working to run a local instance of public.
The line that breaks is at https:/
The 500 error looks like:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /opt/openstackw
Warning: require_
Fatal error: require_once(): Failed opening required '/opt/openstack
I can confirm that /opt/openstackw
Changed in openstack-org: | |
status: | New → Fix Committed |
Changed in openstack-org: | |
status: | Fix Committed → Fix Released |
I've confirmed that we are able to install the libphp-phpmailer package in Ubuntu 14.04 and edit smtpmailer/ code/SmtpMailer .php to point to that package's copy of class.phpmailer.php and the site does continue with loading properly.
So this:
require_once( dirname( __FILE__ ).DIRECTORY_ SEPARATOR. 'vendor' .DIRECTORY_ SEPARATOR. 'class. phpmailer. php' );
Is replaced by this:
require_ once('/ usr/share/ php/libphp- phpmailer/ class.phpmailer .php');
Where does it get this vendor/ class.phpmailer .php version? This file does not exist when following the installation documentation in the README.
What is the difference between vendor/ class.phpmailer .php and the one in the Ubuntu package, can we just update the code to use the Ubuntu libphp-phpmailer package instead?