- NewspaperWhen tagDiv Composer is Not Working
- NewsmagRequirements for Newsmag
- NewspaperRequirements for Newspaper
Hello,
I know that Google Page Insights is not a perfect tool to measure the page speed. But I have a big difference between the mobile and the desktop version:
Mobile Version 19% (https://picload.org/view/dccggriw/bildschirmfoto2018-12-14um13.0.png.html)
Desktop-Version 76% (https://picload.org/view/dccggrip/bildschirmfoto2018-12-14um13.0.png.html)
Has anyone a tipp about the reason of that?
Here is my configuration:
Ubuntu, 16 GB Ram, SSD
PHP 7.2.13
Newsmag 4.7
post_max_size = 50M
max_execution_time = 300
max_input_vars = 3000
SUHOSIN installed = false
mbstring = available
GD library = available
WP version = 4.9.8
WP multisite enabled = no
WP Memory Limit = 512 MB/request
FPM-Application about Nginx 1.14.1
pm.max_children = 100
Nginx configuration (instead of htaccess)
if (!-e $request_filename){
rewrite ^(.*)$ /index.php break;
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires 30d;
add_header Pragma public;
add_header Cache-Control "public";
try_files $uri @fallback;
}
# Block XMLRPC
location = /xmlrpc.php {
deny all;
access_log off;
log_not_found off;
return 444;
}
# Fix for chinese icons
location ~* \.(eot|ttf|woff|woff2)$ {
add_header Access-Control-Allow-Origin *;
}
# GZIP compression
gzip on;
gzip_proxied any;
gzip_types text/plain text/xml text/css application/x-javascript;
gzip_vary on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
WP-Rocket
Caching for mobile devices = enabled
HTML minimize = enabled
Remove static query-strings = enabled
css minimize = enabled
javascript minimize = enabled
load javascript delayed = enabled
lazy loading for pictures = enabled
lazy loading for iframes and videos = enabled
deactivate emojis = enabled
deactivate wordpress embeds = enabled
activate preloading = enabled
heartbeat control = reduced activity
Hi Catalin,
thank you for your quick reply. You are right, the issue was on the webserver. I’m using nginx and the following code fixed it:
location ~* \.(eot|ttf|woff|woff2)$ {
add_header Access-Control-Allow-Origin *;
}
Hi,
I installed newspaper and I am trying to edit the “Dentist Sample” via the TD Composer.
I see that at the “contact page” there is a shortcode on a “column text” component… I tried to replace the shortcode with another one, but there started the problem…
The “Column Text” component that has the “Edit Content” button is dead.
1. I press the “Edit Content” button
2. A window opens with an editor that lets me type html
3. No matter what I type there, when I close the window, nothing goes back to the “column text”.
I tried this with two clean installs (just the template and the dentist demo), with no other plugins installed.
My environment is PHP 7.2 running on nginx on a shared hosting environment.
Newspaper theme has been slowing my site resulting to 504 Nginx error. Switching to another theme the site (kenyannews.co.ke) loads faster with no error.
what might be the issue
I deleted the M1 section on my page that listed the most recent posts with a list of categories at the top to click and update the list (with the “load more” option at the bottom), and now I just use the regular post loop option and I think that fixed it.
Something was preventing M1 from updating posts on my page on mobile devices (iphone/fire tablet). I also added Nginx Helper plugin that purges cache, maybe that had something to do with it (?). But it should have worked with your WP Super Cache plugin settings you provided to begin with. The website is https://distresssedvolatility.com. I used to be able to show multiple categories next to the latest news title, which was cool because it would load the most recent posts for each category. Now I don’t do it.
-
This reply was modified 7 years by
dvolatility. Reason: added link to site
Couple of things — if your form uses authenticated email, there would now be a secure port to connect to for email. This may require using an SMTP plugin. We had this issue when first starting to use WooCommerce — customers would not get receipts, we would not get order notices; an SMTP plugin allowed the form(s) to send authenticated email via the mail system for your domain with the proper port number for secure connection for email, and the login/pass for the email account to send with; or, it allows for the proper sending via the built-in sendmail function on server.
So, if you revisit this, consider testing with an ‘SMTP plugin’ for WordPress – there are several in the WP .org plugin repository; cannot recommend specific, as they can each vary depending on server setup (e.g., Apache, Nginx, etc.).
Hope that helped – perhaps not.
(I don’t work here, just a webdevdinosaurâą đ )
Hi Simion and Tagdiv team,
We found the issue. It is “nginx” blocking the zip extension to be downloaded automatically or uploaded. It is AWS cloud server. You can make this one as case study and update your customers about the known issues.
Please close this thread as resolved.
Thanks for your time.
I solved the error.Basically its nginx config issue.
location / { try_files $uri $uri/ /index.php?$args; }
Initially it was like location / { try_files $uri $uri/ /index.php; }
Hi,
Yes it is a fresh install.I am not using any other plugins except td-composer, td-social.
My server is on nginx, php7 and it is a multisite subfolder.
Error is coming in all pages(demo and new)
System status shows all Ok(all green) except wpsc.
But I had wpsc running already.
-
This reply was modified 8 years by
tusharbhayana.
-
This reply was modified 8 years by
tusharbhayana.
-
This reply was modified 8 years by
tusharbhayana.
Hi, I am having the same issue, i dont have .htaccess since i am using nginx.
How to solve this?
Good morning
Google has announced that the upload speed and full upload speed to interact are now values that influence positioning (SEO).
Lighthouse is a free tool (chrome extension) and does performance testing.
Is there a way to set up / configure “newspaper theme” to get a better score?
Above all, in terms of full time load to interact ( 7seconds currently). I’d like to go down to 3 seconds.
I use the google cloud with optimized nginx, my upload speed is very good (631 ms in pingdom). But the reality with LightHouse is that the loading speed of pingdom is not real. The real time for 3g/4g is about 7 sec.
https://fotos.subefotos.com/09f741585fc695b3ef8e0be66c44de3eo.jpg
Thanks
Goodmorning,
since I update Newspaper Theme and td composer (last version of both) I had a problem with composer. The error is “502 Bad Gateway nginx”.
I disabled all my plugins but the error persist. All the checks of the theme are green. I uninstalled and reinstalled several times (via ftp and via wordpress installer), but the error persist.
Can you help me to understand what’s the error? I really need it!
How to Remove render-blocking JavaScripts and Optimize CSS Delivery in newspaper theme ?.
I am using nginx and since nignx helper plugin is installed i can’t use the td- speed booster plugin. My desktop pagespeed score is okay , but in Mobile its is 57!
http://www.screencast.com/t/lSAp9CGhWO8G
Site https: // insanertech.com
since i have update i have this message : 502 Bad Gateway
nginx
can you help ?
Regards
Hi there,
we are using Newspaper + the mobile theme. Funny thing: since the update from 8.7.4 to 8.7.5 (currently running on 8.8.) the tagDiv Mobile Theme Plugin (version 1.1) is deactivating itself randomly. We do not get any warnings or similar within wordpress, it just deactivates itself and we have to switch it on again. This could then work for minutes or hours until it deactivates itself again.
Our site has around 300k visitors a month – so we should normally see a pattern or a trigger that’s responsible for this behavior, but till now we haven’t found out.
We checked the database logs and the server logs – nothing. We also activated debugging – also nothing related to this strange behavior (just a warning we already fixed).
Any ideas what could go wrong? Did you introduce any changes to the mobile theme related to the last updates of the theme?
Server Setup: nginx, easy engine, fastcgi-cache – worked like a charm till the update from 8.7.4 to 8.7.5
Thanks
A bit more than 24 hours ago, my WordPress site, which has been happily running on the NewsMag theme for a few months, stopped responding, giving me a “Error Establishing a Database Connection” error instead of my content. I had updated to NewsMag 4.3 a couple of weeks ago, but there were no other changes the preceded this problem. Upon further investigation, my database connection became unusable because WordPress initiated a huge number of connections with the database and didn’t shut them down afterwards. Upon looking at those MySQL processes, the ones that stuck around were SLEEP processes–they did appear to be long queries, or anything like that.
In an effort to solve the problem, I disabled plugins, and that did not help. NewsMag 4.4 was released today, so I tried updating to that. That did not help. I tried using a larger database, and WordPress simply consumed whatever number of connections I gave it, yielding the “Error Establishing a Database Connection” error. So using a dedicated database with 16 GB RAM was not enough to handle the connections.
Finally, when I switched from NewsMag to the “2015” theme that comes with WordPress, my problems went away. With the same load, the database now handles only a few requests from WordPress rather than having 40+ of them killing my database connectivity. Whatever the problem is, it seems to be associated with the theme not playing nicely with something in my environment.
I run nginx 1.10.3 on ubuntu with PHP 7.0.30 and php-fpm. As noted the system was working fine until around 19:00 UTC on May 23, 2018. I use WordPress 4.9.6.
Does NewsMag support have any idea what in the theme could cause generation of lots of MySQL SLEEP queries that do not go away on their own? How can I stop this?
I was upload the theme and activated. When try to edit my page with “TAG DIV COMPOSER” getting this error page only internaly.
i was deactivated and deleted all plugins-not worked
clead cache browser and wp_ not worked
please help me
thanks
If you use nginx with php-fpm fastcgi running and have a high traffic website make sure to add
fastcgi_read_timeout 300;
to your nginx configuration despite of memory_execution_time.
That fixed the above error but now we see a lot of:
SELECT post_id FROM wp_postmeta WHERE meta_key = '_wp_attached_file' AND meta_value = 'logo.svg';
and
SELECT post_id FROM wp_postmeta WHERE meta_key = '_wp_attached_file' AND meta_value = '2017/10/logo-og.png';
in slow mysql queries and CPU usage against memory is very high(last night we had two 502 errors with cloudflare optimized).
Just letting you know everything was OK with another theme and 15 more plugins installed.
How to handle this?
Kind Regards
-
This reply was modified 8 years by
minamoto19.
-
This reply was modified 8 years by
minamoto19.
Hello.
Since I installed your the I’ve been getting a lot of this error message:
FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /public/public_html/wp-content/themes/Newspaper/index.php:6
Additionally I noticed a big CPU load.
We use nginx.
Kind regards
i’ve contacted my host support (Kinsta.com), below is what the support said;
Since our platform uses Nginx, there is no .htaccess file to edit.
Depending on the changes needed, we can add them here into the nginx config. If they are detailed, we would need nginx rules from the theme developers.
Let me see if there is a maxlinelength alternative for nginx. I’m not even sure what that is doing.
I don’t see an exact match for mod_substitute built into Nginx. Are you running into issues with the builder, or do they just suggest to add this no matter what?
The memory limit for WordPress is set to 256M in the php config file, so it should have all it needs. From what I am reading, that block just allocates 10M to divi.
If you’re not running into issues, it shouldn’t be needed.
Hello. I have a contact us page in my website (i don’t want to publish the link here publicly). So there’s a text column and when I press “edit content” (using the TD Composer) to change the text the iframe loads for ever and doesn’t open to allow me to edit the text. After inspection I get the following errors: by inspecting the page I get: Failed to load resource: the server responded with a status of 403 () wpeditor.php:1 After seeing my server’s logs I see to errors 1) 403 GET /wp-content/plugins/td-composer/includes/wpeditor.php HTTP/2.0 nginx SSL/TLS access 2) 26270#0: *1693266 access forbidden by rule nginx error. Can you please tell me what’s wrong and what can I do to fix this? I cannot edit the page for now đ Thanks
Hi Simion,
I checked with my host and everything is fine.
I have checked the MIME types and I could see Nginx already has those types added within the configuration file.
I have now updated the Engitron(nginx) on the server where the mime types has been updated,
Change log for v1.8.10:
“Updated Nginx mime type definitions (covers additions to documents file types, web fonts etc.).”
So there is no issue with Nginx for MIME types from server end.
Please let me know what else it could be.
Thanks
Website: http://seo.wrestleview.com
-
This reply was modified 8 years by
adamuiowa.
System Check OK:
WordPress 4.0 or later –> 4.9.5 OK
Apache or Nginx –> Apache OK
php.ini memory limit: 40MB (recommended: 96M) –> 512 OK
PHP version 5.2.4 or greater (recommended: PHP 5.4 or greater) –> 7.1.16 OK
MySQL version 5.0 or greater (recommended: MySQL 5.5 or greater) –> 5.5 OK
Mod Security OFF –> OK
Deactivating all plugins the problem remains so it is not a conflict problem.
I repeat that with the default theme (Twenty seventeen) everything works perfectly so it’s a problem introduced by the newspaper theme. As I work mainly with images, I need it to be fixed quickly. Thanks
Hi, I have an issue with the TagDiv composer. After the theme update, when I click tagdiv composer in the “page” section, the page shows “502 Bad Gateway, nginx”.
I have updated the theme from Elevanto Market last week; I delayted and reinstalled the TagDivComposer, the version is 2.2. I have not coding skills. What can I do? Thanks in advance
Thank you for the answer, but It didn’t fix. The site is on a dedicated server. Regarding the server requirements, here is my “equipment”:
– WordPress version: 4.9.5 (recommended: 4.0);
– webserver: Apache (recommended: Apache or Nginx);
– php.ini memory limit: 70MB (recommended: 64M);
– PHP version: 7.0.2 (recommended: PHP 5.4 or greater) (I had 5.6, I’ve changed the PHP version in cPanel to fix this problem, but It didn’t work);
– MySql version: 5.6.38 (recommended: MySQL 5.5 or greater);
WP Super Cache installed.
TagDiv Composer plugin deactivated, deleted, reinstalled and reactivated.
Nothing.
Sorry if I ask help again, but I really can’t understand what’s happening.
P.S., I even added the code you wrote above in .htaccess. Nothing.
-
This reply was modified 8 years by
libraeditrice.
-
This reply was modified 8 years by
libraeditrice.