• 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

Blank pages because the returned page is incomplete

myself

Chevereto Noob
🎯Description of the issue

The site looks blank because the returned page is incomplete. If I view source, or get using curl, page finishes at

HTML:
<script>
    $(document).ready(function() {
        if(typeof CHV == "undefined") {
            CHV = {obj: {}, fn: {}, str:{}};
        } else {
            if(typeof CHV.obj.embed_tpl == "undefined") {
                CHV.obj.embed_tpl = {};
            }
        }
        CHV.obj.embed_tpl =

php is version 7.2.22

Installed extensions are:
  • pdo
  • pdo_mysql
  • gd
  • exif
  • zip
  • session
  • curl
  • gettext
Web Server is nginx, with configuration:
NGINX:
server {
    listen 80;
    root /var/www/html;
    index  index.php;

    access_log  /dev/stdout;
    error_log  /dev/stderr;

    client_max_body_size 1G;
    fastcgi_buffers 64 4K;

    location ~ /\.ht {
            deny all;
    }

    # Disable access to sensitive files in app path
    location ~ /(app|content|lib)/.*\.(po|php|lock|sql)$ {
       deny all;
    }

    # Disable log on not found images + image replacement
    location ~* (jpe?g|png|gif) {
            log_not_found off;
            error_page 404 /content/images/system/default/404.gif;
    }

    # Enable CORS header (needed for CDN)
    location ~* \.(ttf|ttc|otf|eot|woff|woff2|css|js)$ {
            add_header Access-Control-Allow-Origin "*";
    }

    # Force serve upload path as static content (match your upload folder if needed)
    location /images {}

    # Route dynamic request to index.php
    location / {
            try_files $uri $uri/ /index.php?$query_string;
    }

    location ~ \.php$ {
        include         fastcgi.conf;
        fastcgi_pass    127.0.0.1:9000;
        fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }


}

😢Unexpected result

Pages appear blank.

📃Error log message

There are no errors reported.
 
I thought I would have to hack at the database or code to do this, because I didn't know how to get to the dashboard with only a blank page, but I did do.
I saw in the message that json_encode is missing. I needed to install module json.
Now it works.
Is there a full list of required modules for chevereto? I had to guess many modules before too before I got so far.
Thankyou.
 
I thought I would have to hack at the database or code to do this, because I didn't know how to get to the dashboard with only a blank page, but I did do.
I saw in the message that json_encode is missing. I needed to install module json.
Now it works.
Is there a full list of required modules for chevereto? I had to guess many modules before too before I got so far.
Thankyou.
Chevereto needs all the PHP "standard" libraries. You can check all what it requires here: https://github.com/Chevereto/Chevereto-Free/blob/master/app/lib/integrity-check.php
 
Back
Top