Kannst du bitte die Lösung posten, für welche die das gleiche Problem haben?
In der Datei klasse.php das ganz oben in das ändern:
PHP-Code:
if (file_exists ('lib/mimePart.php')) require_once ('/mimePart.php');
elseif (file_exists ('../lib/mimePart.php')) require_once ('../lib/mimePart.php');
elseif (file_exists ('../../mimePart.php')) require_once ('../../lib/mimePart.php');
so müsste der code richtig lauten. in dem von dir sind ein paar flüchtigkeitsfehler enthalten. kannste das mal austesten, obs dann noch immer klappt?PHP-Code:
if (file_exists ('lib/mimePart.php')) require_once ('lib/mimePart.php');
elseif (file_exists ('../lib/mimePart.php')) require_once ('../lib/mimePart.php');
elseif (file_exists ('../../mimePart.php')) require_once ('../../lib/mimePart.php');
noch besser wäre es, wenn das klappt:
PHP-Code:
require_once (dirname(realpath(__FILE__)).'/mimePart.php');
Das funktioniert bei mir.PHP-Code:
if (file_exists ('lib/mimePart.php')) require_once ('/mimePart.php');
elseif (file_exists ('../lib/mimePart.php')) require_once ('../lib/mimePart.php');
elseif (file_exists ('../../mimePart.php')) require_once ('../../lib/mimePart.php');
Das funktioniert bei mir nicht.PHP-Code:
if (file_exists ('lib/mimePart.php')) require_once ('lib/mimePart.php');
elseif (file_exists ('../lib/mimePart.php')) require_once ('../lib/mimePart.php');
elseif (file_exists ('../../mimePart.php')) require_once ('../../lib/mimePart.php');
Das funktioniert bei mir auch und da das ja das Beste ist, hab ich das jetzt lassen.PHP-Code:
require_once (dirname(realpath(__FILE__)).'/mimePart.php');
Das geht bei mir auch. Danke.PHP-Code:
require_once (dirname(realpath(__FILE__)).'/mimePart.php');
![]()