• 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

Update v3.7.1 problem

Status
Not open for further replies.
Seems that the server has issues generating the minified file.

Code:
https://cdn.scrot.moe/lib/Peafowl/js/scripts.js
https://cdn.scrot.moe/lib/Peafowl/js/scripts.min.js

I disabled the minify feature and now it works fine. If you are OK allowing me to test why that is failing please let me know.
 
It seems related to this bit in lib/G/classess/class.minify.php

PHP:
            if(@is_readable($this->target) and !$this->forced) {
                $source_mtime = filemtime($this->source);
                $target_mtime = filemtime($this->target);
                if($source_mtime and $target_mtime and $target_mtime > $source_mtime) {
                    $this->result = $this->target;
                    return;
                }
            }

That code determines if the minified file already exists and if that's the case, whatever the source (non-minified) is older than the target (minified file). I ran using the forced flag and the files got generated, you may need to flush your CDN to reflect those.

Problem is that I did found null files, so when you did the update (the update comes with minified files already) your installation re-generated those minified files for some reason. I don't have a clue on why it generated zero or nulled .js files because I didn't found that behavior (the class is doing the job).

When you issue the next update make sure to keep an eye of those and if you find an issue let me know asap to debug it properly.
 
Yeah you need to login as admin and complete the update or disable the maintenance mode. /login
 
Status
Not open for further replies.
Back
Top