• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

It Always Returns HTTP 500 Errors on Image Pages

matrax

Chevereto Member
Hi,

After the latest update (v3.16.1) all the single image pages return 500 error. The thing is that the error.log file is empty. I don't see any log related to PHP.

 
500 error is just the error exposed in production, it literally means "Internal Server Error". You must show me the actual (internal) error.

- Enable debug level 3 https://v3-docs.chevereto.com/setup/debug.html
- Enable PHP error reporting at dashboard/settings/system

The logs should be printed to the screen and logged to your server error_log file. Show me the errors to assist you further.
 
Thanks Rodolfo! As always, it was my fault. 🙂 FIXED.
Have a wonderful and healthy day!

[CODE title="error.log"] thrown in /home/serdarwp/imgbu.com/public/app/routes/overrides/route.image.php on line 32" while reading response header from upstream, client: 159.146.10.153, server: imgbu.com, request: "GET /i/5d7ceab3-18f5-4dee-9dbb-e31a1aef4e2a.Rm7fQ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "imgbu.com"
2020/09/04 20:18:13 [error] 677#677: *230 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function CHV\getIdFromURL() in /home/serdarwp/imgbu.com/public/app/routes/overrides/route.image.php:32
Stack trace:
#0 /home/serdarwp/imgbu.com/public/lib/G/classes/class.handler.php(232): G\Handler->{closure}()
#1 /home/serdarwp/imgbu.com/public/lib/G/classes/class.handler.php(132): G\Handler->processRequest()
#2 /home/serdarwp/imgbu.com/public/app/web.php(593): G\Handler->__construct()
#3 /home/serdarwp/imgbu.com/public/app/loader.php(238): require('/home/serdarwp/...')
#4 /home/serdarwp/imgbu.com/public/index.php(20): include_once('/home/serdarwp/...')
#5 {main}
thrown in /home/serdarwp/imgbu.com/public/app/routes/overrides/route.image.php on line 32" while reading response header from upstream, client: 159.146.10.153, server: imgbu.com, request: "GET /i/5d7ceab3-18f5-4dee-9dbb-e31a1aef4e2a.Rm7fQ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "imgbu.com"
2020/09/04 20:20:24 [error] 677#677: *245 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function CHV\getIdFromURL() in /home/serdarwp/imgbu.com/public/app/routes/overrides/route.image.php:32
Stack trace:
#0 /home/serdarwp/imgbu.com/public/lib/G/classes/class.handler.php(232): G\Handler->{closure}()
#1 /home/serdarwp/imgbu.com/public/lib/G/classes/class.handler.php(132): G\Handler->processRequest()
#2 /home/serdarwp/imgbu.com/public/app/web.php(593): G\Handler->__construct()
#3 /home/serdarwp/imgbu.com/public/app/loader.php(238): require('/home/serdarwp/...')
#4 /home/serdarwp/imgbu.com/public/index.php(20): include_once('/home/serdarwp/...')
#5 {main}
thrown in /home/serdarwp/imgbu.com/public/app/routes/overrides/route.image.php on line 32" while reading response header from upstream, client: 159.146.10.153, server: imgbu.com, request: "GET /i/5d7ceab3-18f5-4dee-9dbb-e31a1aef4e2a.Rm7fQ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "imgbu.com"
2020/09/04 20:20:26 [error] 677#677: *247 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function CHV\getIdFromURL() in /home/serdarwp/imgbu.com/public/app/routes/overrides/route.image.php:32
Stack trace:
#0 /home/serdarwp/imgbu.com/public/lib/G/classes/class.handler.php(232): G\Handler->{closure}()
#1 /home/serdarwp/imgbu.com/public/lib/G/classes/class.handler.php(132): G\Handler->processRequest()
#2 /home/serdarwp/imgbu.com/public/app/web.php(593): G\Handler->__construct()
#3 /home/serdarwp/imgbu.com/public/app/loader.php(238): require('/home/serdarwp/...')
#4 /home/serdarwp/imgbu.com/public/index.php(20): include_once('/home/serdarwp/...')
#5 {main}
thrown in /home/serdarwp/imgbu.com/public/app/routes/overrides/route.image.php on line 32" while reading response header from upstream, client: 159.146.10.153, server: imgbu.com, request: "GET /i/5d7ceab3-18f5-4dee-9dbb-e31a1aef4e2a.Rm7fQ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "imgbu.com"
2020/09/04 20:22:13 [error] 5329#5329: *257 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function CHV\getIdFromURL() in /home/serdarwp/imgbu.com/public/app/routes/overrides/route.image.php:32
Stack trace:
#0 /home/serdarwp/imgbu.com/public/lib/G/classes/class.handler.php(232): G\Handler->{closure}()
#1 /home/serdarwp/imgbu.com/public/lib/G/classes/class.handler.php(132): G\Handler->processRequest()
#2 /home/serdarwp/imgbu.com/public/app/web.php(593): G\Handler->__construct()
#3 /home/serdarwp/imgbu.com/public/app/loader.php(238): require('/home/serdarwp/...')
#4 /home/serdarwp/imgbu.com/public/index.php(20): include_once('/home/serdarwp/...')
#5 {main}
thrown in /home/serdarwp/imgbu.com/public/app/routes/overrides/route.image.php on line 32" while reading response header from upstream, client: 159.146.10.153, server: imgbu.com, request: "GET /i/5d7ceab3-18f5-4dee-9dbb-e31a1aef4e2a.Rm7fQ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "imgbu.com"[/CODE]
 
Back
Top