I jumped into the Php 7.0 bandwagon the updated my server. Site is up and running but the upload and explore are broken.
Upload error report shows "Server error(Internal Server error)".
I found this error in nginx logs.
I know this is might be a server issue. But any advise would be appreciated.
Site: http://gifyu.com
Upload error report shows "Server error(Internal Server error)".
I found this error in nginx logs.
Code:
999#0: *960 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function G\utf8_encode() in /usr/share/nginx/html/lib/G/functions.php:1566
Stack trace:
#0 /usr/share/nginx/html/app/lib/functions.php(464): G\is_url('/usr/share/ngin...')
#1 /usr/share/nginx/html/app/lib/classes/class.image.php(1307): CHV\get_image_fileinfo('/usr/share/ngin...')
#2 /usr/share/nginx/html/app/lib/classes/class.image.php(1363): CHV\Image::fill(Array)
#3 /usr/share/nginx/html/app/lib/classes/class.listing.php(244): CHV\Image::formatArray(Array)
#4 /usr/share/nginx/html/app/routes/route.explore.php(87): CHV\Listing->exec()
#5 /usr/share/nginx/html/lib/G/classes/class.handler.php(216): G\Handler->{closure}(Object(G\Handler))
#6 /usr/share/nginx/html/lib/G/classes/class.handler.php(120): G\Handler->processRequest()
#7 /usr/share/nginx/html/app/loader.php(400): G\Handler->__construct(Array)
#8 /usr/share/nginx/html/index.php(20): include_once('/usr/share/ngin...')
#9 {main}
thrown in /usr/share/nginx/html/lib/G/functions.php on l" while reading response header from upstream, client: 101.63.216.33, server: localhost, request: "GET /explore HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "gifyu.com"
2016/02/25 12:40:46 [error] 998#0: *981 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function G\utf8_encode() in /usr/share/nginx/html/lib/G/functions.php:1566
Stack trace:
#0 /usr/share/nginx/html/app/lib/functions.php(464): G\is_url('/usr/share/ngin...')
#1 /usr/share/nginx/html/app/lib/classes/class.image.php(1307): CHV\get_image_fileinfo('/usr/share/ngin...')
#2 /usr/share/nginx/html/app/lib/classes/class.image.php(1363): CHV\Image::fill(Array)
#3 /usr/share/nginx/html/app/lib/classes/class.listing.php(244): CHV\Image::formatArray(Array)
#4 /usr/share/nginx/html/app/routes/route.album.php(76): CHV\Listing->exec()
#5 /usr/share/nginx/html/lib/G/classes/class.handler.php(216): G\Handler->{closure}(Object(G\Handler))
#6 /usr/share/nginx/html/lib/G/classes/class.handler.php(120): G\Handler->processRequest()
#7 /usr/share/nginx/html/app/loader.php(400): G\Handler->__construct(Array)
#8 /usr/share/nginx/html/index.php(20): include_once('/usr/share/ngin...')
#9 {main}
I know this is might be a server issue. But any advise would be appreciated.
Site: http://gifyu.com