In een formulier werd de mail-engine gewijzigd naar PHPMailer SMTP in plaats van de standaard PHP mail
de SMTP host, port , user, password zijn correct
bij het openen van de pagina krijgen we een ERROR 500
de oorzaak is vermoedelijk bij de creatie van de php pagina waar het formulier aangemaakt is
<?php
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
require __DIR__.'/Exception.php';
require __DIR__.'/PHPMailer.php';
require __DIR__.'/SMTP.php';
de log meld volgend fout:
Warning: require(/home/ksnbab1q/public_html/Exception.php): failed to open stream: No such file or directory in /home/ksnbab1q/public_html/Reserveringen_Biljart_ERROR.php on line 4
Fatal error: require(): Failed opening required '/home/ksnbab1q/public_html/Exception.php' (include_path='.:/opt/alt/php70/usr/share/pear') in /home/ksnbab1q/public_html/Reserveringen_Biljart_ERROR.php on line 4
Exception.php en PHPMailer.php en SMTP.php staan niet in de /home/ksnbab1q/public_html/
worden die niet automatisch aangemaakt bij de omschakeling naar PHPMailer of hoe moeten we die aanmaken ?
ERROR 500 bij gebruik van PHPMailer
- Pablo
- Posts: 23612
- Joined: Sun Mar 28, 2004 12:00 pm
- Location: Europe
- Contact:
Re: ERROR 500 bij gebruik van PHPMailer
Gebruik je de meest recente update?
Heb je alle bestanden gepubliceerd?
Heb je alle bestanden gepubliceerd?
-
-
- Posts: 13
- Joined: Fri Oct 13, 2017 1:47 pm
Re: ERROR 500 bij gebruik van PHPMailer
probleem is opgelost
moest inderdaad full save doen
dank U
moest inderdaad full save doen
dank U