Good morning,
Production and Dev environment use php 7.0 and built using scriptcase 9.4.
The phpmailer library i setup works fine in dev but when put live it cannot find the files needed. I have been forced to go into an app that uses this library and manually add a reference to it as well as copy these filed to the application directory
here is an example
[B]//added manually
require_once DIR.’/class.phpmailer.php’;
require_once DIR.’/class.smtp.php’;
//end manual add
//CODE THAT DOES NOT WORK
//require_once sc_url_library(‘sys’, ‘PHPmailer5’, ‘PHPmailer/class.phpmailer.php’);
//require_once sc_url_library(‘sys’, ‘PHPmailer5’, ‘PHPmailer/class.smtp.php’);[/B]
any idea what i may be doing wrong here or what I am missing?
This is the location on the server of the class.phpmailer.php and class.smtp.php files
wwwroot/_lib/libraries/sys/PHPmailer5/PHPMailer
All folder have 777 for rights and the individual files within this directory are at 666. Do i need to make them 777?
Thanks,
Keith