• 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

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