• 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.

The font disappears

Status
Not open for further replies.

dandanch

Chevereto Member
After upgrading to the new version, every time I go to a new page the font disappears from the page for a few seconds, and in the drop-down category menu when I hover over a category the bottom of the section below is pushed over you would have to see it hard to explain.
 
Last edited:
I cleaned the cashe and I'm still getting those same results, could it be that the installer didn't override the files and install the new version cleanly, if so do you think by me manually uploading the files and overriding them may help?

And are any of these new add-ons features in the settings where I can enable or disable or modify, because I don't see them in the settings.

- Added album flood detection
- Added support for extended theme overrides
- Added AWS cache-control string
- Added Open Sans font as local resource
 
Oh, the problem is this:

Code:
Font from origin 'http://<origin cdn>' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://<website>' is therefore not allowed access.

Make sure to support CORS for .woff2 and then flush your CDN cache. https://www.maxcdn.com/one//tutorial/how-to-use-cdn-with-webfonts/
 
And are any of these new add-ons features in the settings where I can enable or disable or modify, because I don't see them in the settings.

- Added album flood detection
- Added support for extended theme overrides
- Added AWS cache-control string
- Added Open Sans font as local resource

Album flood detection has been hard-coded to the following:

PHP:
        $flood_limit = [
            'minute'    => 20,
            'hour'      => 200,
            'day'       => 400,
            'week'      => 2000,
            'month'     => 10000
        ];

This is because I saw some Chinese botnets attacking the demo, so for now there is no tweak for those. AWS cache-control has been set to the same values that imgur uses.

Theme overrides doesn't need tweaking at all and Open Sans will be local from now on, no more Google Fonts for Open Sans.
 
Status
Not open for further replies.
Back
Top