• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • 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

Image not loading after update.

myk61

Chevereto Member
▶ Reproduction steps
  1. Update from 3.20.13 to 3.20.14]
😢 Unexpected result

After updating, the image is not uploading to the site. Error code: Twitter-da-tt.jpg - Something went wrong: ⚠ errorId #9474fbfcac2fc5df

📃 Error log message

[Sun Oct 31 19:41:10.233748 2021] [proxy_fcgi:error] [pid 21577:tid 140232963847936] [client 88.231.63.23:55478] AH01071: Got error 'PHP message: PHP Warning: Unknown: open_basedir restriction in effect. File(/var/cpanel/php/sessions/ea-php72) is not within the allowed path(s): (/var/www/vhosts/XXXX.com/:/tmp/) in Unknown on line 0PHP message: PHP Warning: realpath(): open_basedir restriction in effect. File(/var/lib/php/session) is not within the allowed path(s): (/var/www/vhosts/XXXX.com/:/tmp/) in /var/www/vhosts/XXXX.com/httpdocs/lib/G/G.php on line 78PHP message: \nAw, snap! Internal Server Error [debug @ error_log] - https://chv.to/v3debug\n\n** errorId #9474fbfcac2fc5df **\n>> ErrorException [0]: is_file(): open_basedir restriction in effect. File(/etc/pki/tls/certs/ca-bundle.crt) is not within the allowed path(s): (/var/www/vhosts/XXXX.com/:/tmp/)\nAt /app/vendor/composer/ca-bundle/src/CaBundle.php:342\n\nStack trace:\n#0 unknown file(unknown line): G\\errorsAsExceptions()\n#1 /app/vendor/composer/ca-bundle/src/CaBundle.php(342): is_file()\n#2 /app/vendor/composer/ca-bundle/src/CaBundle.php(107): Composer\\CaBundle\\CaBundle::caFileUsable()\n#3 /lib/G/functions.php(1731): Composer\\CaBundle\\CaBundle::getSystemCaRootBundlePath()\n#4 /app/lib/classes/class.moderatecontent.php(45): G\\curlResolveCa()\n#5 /app/lib/classes/class.upload.php(470): CHV\\ModerateContent->__construct()\n#6 /app/lib/classes/class.upload.php(138): CHV\\Upload->validateSourceFile()\n#7 /app/lib/classes/class.image.php(504): CHV\\Upload->exec()\n#8 /app/lib/classes/class.image.php(646): CHV\\Image::...', referer: https://XXXX.com/
[Sun Oct 31 19:41:28.189377 2021] [proxy_fcgi:error] [pid 20436:tid 140233014204160] [client 194.31.64.218:55546] AH01071: Got error 'PHP message: PHP Warning: Unknown: open_basedir restriction in effect. File(/var/cpanel/php/sessions/ea-php72) is not within the allowed path(s): (/var/www/vhosts/XXXX.com/:/tmp/) in Unknown on line 0'

I am now back to the old version.
 
Solution
Open lib/G/functions.php and change this:
PHP:
CaBundle::getSystemCaRootBundlePath()

To this:
PHP:
CaBundle::getBundledCaBundlePath()

Does it fix the issue?
Hi,

PHP Warning: Unknown: open_basedir restriction in effect. File(/var/cpanel/php/sessions/ea-php72) is not within the allowed path(s): (/var/www/vhosts/XXXX.com/:/tmp/)

There's a problem in your server related to the path used to store sessions. You must forward this issue to your hosting company where you have to tell them to fix session support in your instance.
 
ErrorException [0]: is_file(): open_basedir restriction in effect. File(/etc/pki/tls/certs/ca-bundle.crt) is not within the allowed path(s): (/var/www/vhosts/XXXX.com/:/tmp/)

There's another problem with the ca-bundle file (Cert file used for https) which your web-server doesn't allow to include. You must also forward this issue to your hosting company.
 
Hi again,

I updated to version 3.20.15. Still not loading images.

Error:
#8f1b8edaf775ff50 **\n>> ErrorException [0]: is_file(): open_basedir restriction in effect. File(/etc/pki/tls/certs/ca-bundle.crt) is not within the allowed path(s): (/var/www/vhosts/xxxxxx.com/:/tmp/)\nAt /app/vendor/composer/ca-bundle/src/CaBundle.php:369\n\nStack trace:\n#0 unknown file(unknown line): G\\errorsAsExceptions()\n#1 /app/vendor/composer/ca-bundle/src/CaBundle.php(369): is_file()\n#2 /app/vendor/composer/ca-bundle/src/CaBundle.php(344): Composer\\CaBundle\\CaBundle::isFile()\n#3 /app/vendor/composer/ca-bundle/src/CaBundle.php(107): Composer\\CaBundle\\CaBundle::caFileUsable()\n#4 /lib/G/functions.php(1731): Composer\\CaBundle\\CaBundle::getSystemCaRootBundlePath()\n#5 /app/lib/classes/class.moderatecontent.php(45): G\\curlResolveCa()\n#6 /app/lib/classes/class.upload.php(470): CHV\\ModerateContent->__construct()\n#7 /app/lib/classes/class.upload.php(138): CHV\\Upload->validateSourceFile()\n#8 /app/lib/classes/...', referer: https://xxxxxxx.com/
 
Open lib/G/functions.php and change this:
PHP:
CaBundle::getSystemCaRootBundlePath()

To this:
PHP:
CaBundle::getBundledCaBundlePath()

Does it fix the issue?
 
Solution
Back
Top