WCF ohne GD-Bibliothek

  • Affected App
    WoltLab Suite Core

    Bei der Installation erhalte ich folgenden Fehler:


    Code
    2016/05/06 21:59:30 [error] 1421#0: *55 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: Argument 1 passed to handleException() must be an instance of Exception, instance of Error given in /usr/local/www/nginx/wbb/install.php:187
    Stack trace:
    #0 [internal function]: handleException(Object(Error))
    #1 {main}
      thrown in /usr/local/www/nginx/wbb/install.php on line 187" while reading response header from upstream, client: 192.168.178.78, server: freebsd.fritz.box, request: "POST /wbb/install.php?step=installPackages HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "freebsd.fritz.box", referrer: "http://freebsd.fritz.box/wbb/install.php"

    Ausschnitt aus der PHP-Info:


    PHP Version 7.0.6


    System FreeBSD freebsd 10.3-RELEASE FreeBSD 10.3-RELEASE #0 r297264: Fri Mar 25 02:10:02 UTC 2016 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
    Build Date May 5 2016 01:23:34
    Configure Command './configure' '--with-layout=GNU' '--localstatedir=/var' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--enable-mysqlnd' '--with-libxml-dir=/usr/local' '--with-pcre-regex=/usr/local' '--program-prefix=' '--enable-fpm' '--with-fpm-user=www' '--with-fpm-group=www' '--with-regex=php' '--with-zend-vm=CALL' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd10.1' 'build_alias=amd64-portbld-freebsd10.1' 'CC=cc' 'CFLAGS=-O2 '-pipe' '-fstack-protector' '-fno-strict-aliasing'' 'LDFLAGS= '-fstack-protector'' 'LIBS=-lpthread' 'CPPFLAGS=' 'CPP=cpp' 'CXX=c++' 'CXXFLAGS=-O2 '-pipe' '-fstack-protector' '-fno-strict-aliasing'
    Server API FPM/FastCGI
    Virtual Directory Support disabled
    Configuration File (php.ini) Path /usr/local/etc
    Loaded Configuration File /usr/local/etc/php.ini
    Scan this dir for additional .ini files /usr/local/etc/php
    Additional .ini files parsed /usr/local/etc/php/extensions.ini
    PHP API 20151012
    PHP Extension 20151012
    Zend Extension 320151012
    Zend Extension Build API320151012,NTS
    PHP Extension Build API20151012,NTS
    Debug Build no
    Thread Safety disabled
    Zend Signal Handling disabled
    Zend Memory Manager enabled
    Zend Multibyte Support provided by mbstring
    IPv6 Support enabled
    DTrace Support disabled
    Registered PHP Streams php, file, glob, data, http, ftp, compress.zlib
    Registered Stream Socket Transports tcp, udp, unix, udg
    Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, zlib.*


    This program makes use of the Zend Scripting Language Engine:
    Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies





    Edited once, last by bdz ().

  • Welche WCF version hast du denn ?
    Das 2.1 ist problemlos kompatibel, das 2.0 glaub ich hatte den php7 fix nicht bekommen...

  • Welche WCF version hast du denn ?
    Das 2.1 ist problemlos kompatibel, das 2.0 glaub ich hatte den php7 fix nicht bekommen...

    Ich nutze die 4.1.10. Unter Debian funktioniert es beispielsweise mit nahezu identischer Konfiguration auch, nur unter FreeBSD scheint es zu hapern.

  • Hmm, hab mich gleich doppelt geirrt, sehe gerade erst dass der Fehler vom setup script selbst stammt und zum anderen wurder der php7 patch damals doch fürs wcf2.0 portiert ;)


    Wenn du möchtest kannst du selbst mal den bug soweit fixxen, da du hier nen engine exception bekommst wird vermutlich eion modul oder vergleichbares fehlen.
    Versuch mal das angepasste install.php aus dem anhang, dort hab ich die entsprechende funktion angepasst und hoffe dass du so ne fehlermeldung erhälst ;)

    • Official Post

    Hallo,


    Ich freue mich immer über einen guten Pull Requests, einerseits steht dann auch dein Name an deiner Änderung, andererseits ist es für mich weniger Aufwand.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!