Forum Replies Created
-
AuthorPosts
-
February 26, 2020 at 3:00 pm in reply to: Couldn't upload font because the server did not respond #1188084
Hello Ismael,
thanks a lot for your response.
I added the php-zip package on the system. Interestingly enough it did not have any effect at first.
Only after restarting the web server I was able to upload the fonts.
Kind regards
CorneliusFebruary 23, 2020 at 10:35 am in reply to: Couldn't upload font because the server did not respond #1187090Hello Rikard,
thanks a lot for your answer.
I tried to upload Open Sans, so that it will not be fetched from Google. But the above error occurred.
Unfortunately I can not give you admin access, since this is a corporate site. Currently we switched the font to “Lucida Sans”, which works for now.
Do you have some hints, how to investigate this?
We could not see any issues in the web servers (error) logs.However, I took a look again and reaslized, that this is an ajax upload error in framework/js/avia_media_wp35.js, which indeed caused a 500 error:
“POST /wp-admin/admin-ajax.php HTTP/1.1” 500 990 “https://netknights.it/wp-admin/admin.php?page=avia” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64;
rv:73.0) Gecko/20100101 Firefox/73.0″In the browser developer tool I see this:
Request:
Host: netknights.it
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: de,en-US;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://netknights.it/wp-admin/admin.php?page=avia
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 2773
Origin: https://netknights.it
Connection: keep-aliveResponse:
HTTP/1.1 500 Internal Server Error
Date: Sun, 23 Feb 2020 08:31:19 GMT
Server: Apache/2.4.29 (Ubuntu)
Strict-Transport-Security: max-age=63072000; includeSubdomains;
P3P: CP=”NOI”
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Access-Control-Allow-Origin: https://netknights.it
Access-Control-Allow-Credentials: true
X-Robots-Tag: noindex
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Referrer-Policy: strict-origin-when-cross-origin
X-XSS-Protection: 1; mode=block
Content-Length: 191
Connection: close
Content-Type: application/jsonWith a generic body.
Kind regards
CorneliusI would also like to avoid reloading fonts from googleapis.com. This way the user’s browser connects to google. The IP address of the user is a personal data, which we would then pass on to google. We would have to cover this in our privacy policy. I do not want to do this.
I would like to download the google fonts and be able to host them myself.
So I would like a checkbox:
[ ] Do not use google API
and a configuration options:
Provide the URL, where the google fonts can be found: ____________Thanks a lot
CorneliusI found it. Actually I needed to view the excerpt and edit the excerpt. Enfold will display either the excerpt of the post or the first X characters.
See http://www.wpbeginner.com/plugins/how-to-customize-wordpress-excerpts-no-coding-required/
Hi Ismael,
thanks a lot for the quick response.
Where do you recommend to add this snippet?
As script somewhere in the footer?The other thing is, that actually one blog post (the right one) displays the complete abstract till the <!–more–> tag while the left one does not.
Do you have any idea how this could have happened?
Thanks a lot
Cornelius- This reply was modified 6 years, 9 months ago by cornelinux.
Thanks for the hint!
I was able to restore a backup from updraft.
Kind regards
CorneliusOk, I will investigate.
But one thing totally anoys me:
Can you tell me why ALL sidebar definitions in enfold are GONE when switching the theme and switching back?
THis is a desaster to me. I have to go through the complete site and reassign sidebars!!!I consider this a bug!
How can I avoid this?Hello Josue,
ok. I checked with the 2016 theme. And indeed the search does not work with the default theme either.
So obviously this is no issue related to your theme.But if you have any additional idea, I would be grateful to try it out.
Thanks a lot!
CorneliusWhat are you planning to do?
What are you looking for?Thanks a lot
CorneliusHi Josue,
thanks for the quick reply. This is interesting.
If I am searching in the german page (switch with the little flag at top left side) I only get one result from the main page.
(You can also search for privacy)Thanks a lot
Cornelius- This reply was modified 8 years, 6 months ago by cornelinux.
-
AuthorPosts