• 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

First Error With Chevereto - Can't Seem To Figure It Out How To Fix

thedude09

Chevereto Member
Never had an issue with Chevereto in the past but finally ran into an issue I can't seem to fix.

server: nginx
php: 7.4
chevereto version: 3.18.0

Here's the log

Code:
2021/03/18 11:30:46 [error] 24837#24837: *46 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Class 'DOMDocument' not found in /var/www/photos.xxxxxxx.com/public_html/app/lib/classes/class.xmpmetadataextractor.php:16
Stack trace:
#0 /var/www/photos.xxxxxxxx.com/public_html/app/vendor/jeroendesloovere/xmp-metadata-extractor/src/XmpMetadataExtractor.php(104): CHV\XmpMetadataExtractor->extractFromContent()
#1 /var/www/photos.xxxxxxxx.com/public_html/app/lib/classes/class.upload.php(134): JeroenDesloovere\XmpMetadataExtractor\XmpMetadataExtractor->extractFromFile()
#2 /var/www/photos.xxxxxxxx.com/public_html/app/lib/classes/class.image.php(478): CHV\Upload->exec()
#3 /var/www/photos.xxxxxxxx.com/public_html/app/lib/classes/class.image.php(667): CHV\Image::upload()
#4 /var/www/photos.xxxxxxxx.com/public_html/app/routes/route.json.php(94): CHV\Image::uploadToWebsite()
#5 /var/www/photos.xxxxxxxx.com/public_html/lib/G/classes/class.handler.php(232): G\Handler->{closure}()
#6 /var/www/photos.xxxxxxxx.com/public_html/lib/G/classes/class.handler.php(13" while reading response header from upstream, client: xx.xxx.xx.xxx, server: photos.xxxxxxx.com, request: "POST /json HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "photos.xxxxxxxx.com", referrer: "https://photos.xxxxxxxx.com/upload/?toAlbum=cd5"

It was resulting in a failed upload and a internal 500 error.

I downloaded a new copy of Chevereto and tried replacing the files that were on my server to no avail. Just hoping to see if I could get some guidance!

Thank you!
 
Last edited:
Thank you so much Rodolfo - I don't know how I missed that. Works like a champ.

I'll leave the post in case anyone happens to be funneled here from a search engine.

How to fix: Install the php-dom extension
 
Back
Top