Die Fehlermeldung selbst kommt von OCS.
Habe jetzt herausgefunden, dass mein php keine openssl unterstützung hat.
Sollte die nicht normalerweise dabei sein?
Habe ein Testskript geschrieben:
if (function_exists("openssl_open"))
{
print "<p>openssl: ist vorhanden</p>";
}
else
{
print "<p>openssl: ist nicht vorhanden</p>";
}
$isOK = @fopen("https://servername.domain.com/pfad", "r");
if ($isOK)
{
print "<p>handle: ist vorhanden</p>";
}
else
{
print "<p>handle: ist nicht vorhanden</p>";
}
$handle = fopen("https://servername.domain.com/pfad", "r");
$contents = stream_get_contents($handle);
fclose($handle);
print "<p><pre>" . $contents . "</pre></p>";
Dabei bekomme ich folgende Ausgabe (Pfade habe ich ausgeblendet):
openssl: ist nicht vorhanden
handle: ist nicht vorhanden
Warning: fopen(
https://servername.domain.com/pfad) [function.fopen]: failed to open stream: Invalid argument in [pfad]\htdocs\test.php on line 29
Warning: stream_get_contents() expects parameter 1 to be resource, boolean given in [pfad]\htdocs\test.php on line 30
Warning: fclose(): supplied argument is not a valid stream resource in [pfad]\htdocs\test.php on line 31
Habt ihr eine Idee? Ich verzweifle noch
Danke euch!
chris_chris