CURL Fehler

Hallo paresy,

nach dem PI Update von heute, habe ich Probleme mit CURL_init.

Ich erhalte nun bei meinen Scripts die Meldung „call undefined function curl_init()“

Ist dir das bekannt?

Grüße

Oli

Kann ich bestätigen.

Der Fehler taucht auch bei mir auf:

Fatal error: Call to undefined function curl_init() in /usr/share/symcon/scripts/45598.ips.php on line 9

Gruss,

Jörg

Schaue ich mir an. Wird bestimmt die Extension noch nicht korrekt geladen!

paresy

dito, tritt bei mir auch auf.

Michael

und bei mir Ähnliches:

<b>Fatal error</b>:  Call to undefined function mysql_connect() in <b>/usr/share/symcon/scripts/14103.ips.php

Gruß
Peter

mit 0.1-210 funktionieren curl und register variablen wieder, dafür meldet sich nun mein webfront mit „Format Exception: SyntaxError: Ungültiges Zeichen“

des weiteren war noch ein:
ln -s /usr/lib/arm-linux-gnueabihf/libnetsnmp.so.30 /usr/lib/arm-linux-gnueabihf/libnetsnmp.so.15

um ips starten zu können

LSD

Noch was:

Abort Processing during Fatal-Error: Call to undefined function mb_detect_encoding()

EDIT: Workaround (Alternative zu mb_detect_encoding() ?):


// -------------------------------------------

if(!function_exists('mb_detect_encoding')) {
function mb_detect_encoding($string, $enc=null, $strict=false) {
    $out = null;

    if (!empty($enc) && $enc != 'null') {
        $sample = iconv($enc, $enc, $string);
        if (md5($sample) == md5($string)) {
            if ($strict === true) { $out = true; } else { $out = $enc; }
        }
    }
    else {

    static $list = array('utf-8', 'iso-8859-1', 'windows-1251');

    ## http://www.php.net/manual/en/mbstring.supported-encodings.php

    foreach ($list as $item) {
        $sample = iconv($item, $item, $string);
        if (md5($sample) == md5($string)) {
            if ($strict === true) { $out = true; } else { $out = $item; }
            break;
        }
    }

    }

    return $out;
}
}

// -------------------------------------------

Nach dem heutigen Update leider immer noch vorhanden. ich überlege auf die vor-vorletzte Version zurückzuugehen - oder wird dazu kurzfristig ein weiteres Update kommen?

Gruß
Peter

Leider nein. Ich komme kurzfristig auch nicht dazu eine Anleitung zu erstellen, wie du die Extension schnell selber kompilieren kannst. Du kannst leider nicht die normalen Extensions nutzen, da wir die ZTS Variante benötigen.

paresy

Der Curl-Fehler wurde behoben, leider tauchen nun weitere Fehler beim Ausführen des IPSInstaller Scriptes auf…

Warning: Parameter type of ScriptID does not match in /usr/share/symcon/scripts/IPSLibrary/install/IPSInstaller/IPSInstaller.inc.php on line 534

Warning: Parameter type of ScriptID does not match in /usr/share/symcon/scripts/IPSLibrary/install/IPSInstaller/IPSInstaller.inc.php on line 534

Warning: Parameter type of ScriptID does not match in /usr/share/symcon/scripts/IPSLibrary/install/IPSInstaller/IPSInstaller.inc.php on line 534

Warning: Parameter type of ScriptID does not match in /usr/share/symcon/scripts/IPSLibrary/install/IPSInstaller/IPSInstaller.inc.php on line 534

Warning: Parameter type of Icon does not match in /usr/share/symcon/scripts/IPSLibrary/install/IPSInstaller/IPSInstaller.inc.php on line 46
IPSModuleManager-Log-IPSModuleManager 2015-07-09 15:36:19.62 Created Category Output=20393

Warning: Parameter type of Icon does not match in /usr/share/symcon/scripts/IPSLibrary/install/IPSInstaller/IPSInstaller.inc.php on line 46
IPSModuleManager-Log-IPSModuleManager 2015-07-09 15:36:19.63 Created Category Settings=52130

Warning: Parameter type of Icon does not match in /usr/share/symcon/scripts/IPSLibrary/install/IPSInstaller/IPSInstaller.inc.php on line 46
IPSModuleManager-Log-IPSModuleManager 2015-07-09 15:36:19.63 Created Category Widget=42001

Warning: Parameter type of Icon does not match in /usr/share/symcon/scripts/IPSLibrary/install/IPSInstaller/IPSInstaller.inc.php on line 46
IPSModuleManager-Log-IPSModuleManager 2015-07-09 15:36:19.63 Created Category WebFront=52224

Warning: Parameter type of Icon does not match in /usr/share/symcon/scripts/IPSLibrary/install/IPSInstaller/IPSInstaller.inc.php on line 46
IPSModuleManager-Log-IPSModuleManager 2015-07-09 15:36:19.63 Created Category IPS=37682

Warning: Parameter type of Icon does not match in /usr/share/symcon/scripts/IPSLibrary/install/IPSInstaller/IPSInstaller.inc.php on line 46
IPSModuleManager-Log-IPSModuleManager 2015-07-09 15:36:19.63 Created Category File=11555

Warning: Parameter type of Icon does not match in /usr/share/symcon/scripts/IPSLibrary/install/IPSInstaller/IPSInstaller.inc.php on line 46
IPSModuleManager-Log-IPSModuleManager 2015-07-09 15:36:19.63 Created Category Log4IPS=14876

Warning: Parameter type of Icon does not match in /usr/share/symcon/scripts/IPSLibrary/install/IPSInstaller/IPSInstaller.inc.php on line 46
IPSModuleManager-Log-IPSModuleManager 2015-07-09 15:36:19.64 Created Category EMail=18490

Warning: Parameter type of Icon does not match in /usr/share/symcon/scripts/IPSLibrary/install/IPSInstaller/IPSInstaller.inc.php on line 46
IPSModuleManager-Log-IPSModuleManager 2015-07-09 15:36:19.64 Created Category Prowl=22380

Fatal error: JSON output unsupported in /usr/share/symcon/scripts/IPSLibrary/install/IPSInstaller/IPSInstaller.inc.php on line 1078

Wobei mir ein Fatal error immer ein wenig suspekt ist… :slight_smile:

Gruss,

Jörg

Hallo paresy,

Gibt es dazu schon was Neues? MySQL-Support wäre schon wichtig :wink:

Gruß
Peter

Meine Frage zu cURL hat sich erledigt…man sollte erst prüfen, ob die Webseite erreichbar ist :rolleyes: :smiley:

Grüße,
Chris