Search Results for 'nginx'

Results from the Forum
Anamaria
tagDiv Staff

Hello,

Our theme also works with Nginx, but yes, there may be some problems related to Mod Security, which block certain functionalities, but they can be fixed-> https://forum.tagdiv.com/search/nginx/
You can use it.

Thank you!

justrealmoms
Participant
#0

Hi there!

Does TAGDIV have a difference in compatibility with a nginx or apache servers?

TKS

justrealmoms
tagDiv Member

The hosting company I use, said that this WP Super Cache plugin is too heavy for the server – which sounds so strange.

They use Autoptimizze with a Nginx helper. What are your thoughts on these, please?

justrealmoms
tagDiv Member

ok, so we just ativated these 2 cache: autoptimize and nginx helper.

teractu
tagDiv Member

Hello,

I have the same problem, I have tried what you have indicated several times; but I always have the loading in loop.
*admin.php?page=tdb_cloud_templates

I managed to import a demo, it worked, but now that I want to import for the mobile version, impossible to access cloud library

Could you please help me?

https://i.imgur.com/ORgSpZv.jpeg

I have also followed the prerequisites for nginx.

  • This reply was modified 3 years by teractu.
mita
Participant
#0

Please provide instructions for optimal cache settings when using cloudways server plus Cloudflare Cache.

Your cache recommendations lack information on how to get optimal performance in this case scenario. Yet, and despite all his limitations, you advertise the theme as blazing fast and scoring great for PageSpeed Insights.

Cloudways servers rely on Varnish to serve dbqueries efficiently but Varnish and Object cache are incompatible with the theme. That actually puts stress on Apache to serve the files directly to NGINX.

Among other performance issues, we can´t get decent performance for a embed pdf Flipbook. The slowness occurs only in mobile versions (responsive is being used, not mobile theme which must be taken in consideration for cache configuration once we still use mobile theme for other pages).

Regards,
Marta

Anamaria
tagDiv Staff

Hello,

Please let me know if you nginx server.

Thank you!

leonp
tagDiv Member

Hi Anamaria,

Thank you very much for the guidance, in my case problem was at the nginx config were was not redirecting to the correct directory.

Specifically talking about this part:

6) Nginx
If you have Nginx instead of Apache on your Linux box, there is some manual configuration required to have WordPress SEO Urls working as expected. This can affect the tagDiv Composer functionality too. You need to use try_files directive so WordPress can start using pretty permalinks.

Search for the location / block inside nginx configuration and add the following line inside:

try_files $uri $uri/ /blog/index.php?$args;
Please check your host documentation in this regard, it should be specified how to do this ( eg. Digitalocean ).

Now you know how to fix the most common errors that interfere with the tagDiv Composer page builder and you can get back to designing your website. If you didn’t see the answer to your question here, please open a new topic on the Customer Support Forum. Our team is always ready to help you!

Hopefully will be helpful for somebody else as well.

Best Regards.

Lalit
Blocked
#0

Hello, I am trying to fix an issue related to newspaper’s mobile theme plugin and Cloudflare for 10-15 days but I am failed to fix. Finally, I have to create this ticket.

I have installed Wp super cache and setup as per your guide available on https://forum.tagdiv.com/cache-plugin-install-and-configure/ And, added my site over Cloudflare by following your guide – https://forum.tagdiv.com/cloudflare-cdn/ but having some issues with the mobile theme plugin.

My site sometimes loads the desktop version on mobile devices and vice versa sometimes loads the mobile version on desktop PC.

But, When I pause Cloudflare cache or put it on development mode, it works without any problem. On mobile, the mobile theme plugin works, and the full-site works on desktop PC.

I have tried to change many settings in Cloudflare to fix the problem but nothing helped.

I thought, it may cause due to wp super cache so I installed wp-rocket cache plugin but the same problem still facing while using the cloudflare.

Please see the following video and help me to know why newspaper mobile theme is not working with cloudflare cache.

The following video will show you wp-rocket plugin and cloudflare setting and describe the problem
https://drive.google.com/file/d/1ON9lUJh4NxHlbjsV4pkO0bZ9CFDdA0bl/view?usp=sharing

My website URL is same as showing in the above video

Mobile screenshot: https://drive.google.com/file/d/1gz6mHIOU8JtNU9MeCiTfoQWU57QOEPOn/view?usp=sharing

Some info about my site

Activated plugins are:
Akismet Anti-Spam
AMP
OneSignal Push Notifications
Super Progressive Web Apps
tagDiv Cloud Library
tagDiv Composer
tagDiv Mobile Theme
tagDiv Newsletter
WP Mail SMTP
WP Rocket
Yoast SEO

Some info about my hosting server
1) File are hosted on Digital ocean server
2) Server – Ubuntu 22.2, Nginx, Mysql, PHP 8.2
3) Website – https://geeksramp.com
4) All plugins and newspaper theme are updated

I have explored many topics on the tagdiv forum but none helped. moreover, I have made no custom code to change the layout of mobile theme plugin.

Thanking you!

mediagod
tagDiv Member

Hello Everyone,

I was experiencing the same issue and found a solution after monitoring the browser’s console and making changes to my webserver’s configuration.

The following error appeared whenever I went to edit a page with the tagDiv Composer:

Error at zones: 6(models) : 0(dom). The model does not match the content Current state has involved an issue. You could try an UNDO operation (CTRL+Z / CTRL+SHIFT+Z)

I decided to look at the browser’s console while the tagDiv composer page was loaded to see if I could find out what was causing the problem. I saw the following error in the console:

The loading of “https://www.mywebsite.com/tdb_templates/404-template-week-pro/?td_action=tdc_edit&post_id=89&tdbTemplateType=404” in a frame is denied by “X-Frame-Options“ directive set to “DENY“.

Apparently the tagdiv editor uses an xframe and my webserver (Nginx) was configured to deny all xframes. After visiting https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options and following the instructions I was able to get the editor working.

The specific configuration line in NGINX’s server configuration that was causing the problem was:

add_header X-Frame-Options “DENY”;

I deleted this line and replaced it with:

add_header X-Frame-Options SAMEORIGIN always;

After doing this I restarted NGINX and the tagdiv editor proceeded to work as normal.

  • This reply was modified 3 years by mediagod.
Anamaria
tagDiv Staff

Hello,

Please let me know what host you have.
Please check if this code is missing from your .htaccess: https://www.screencast.com/t/iN0R93dD3p from our requirements https://forum.tagdiv.com/requirements-for-newspaper/ this requirement is not displayed in System Status.
Usually, after you set the code in .htaccess the WP editor works well.
Please check this topic with the same error https://forum.tagdiv.com/topic/err_http2_protocol_error-on-go-daddy-hosting/
if you use nginx please check this topic https://wordpress.org/support/topic/failed-to-load-resource-neterr_http2_protocol_error/

Thank you!

Anamaria
tagDiv Staff

Hello,

I checked and seems you have this error -> https://i.imgur.com/3NZh7Ki.png if you use nginx please check this topic https://wordpress.org/support/topic/failed-to-load-resource-neterr_http2_protocol_error/

Thank you!

brauktlv
Participant
#0

Hi!

I have just updated Newspaper from 11.* version to latest one (additionally migrated to another server) and started having these issues when editing any page in tagdiv composer –

Error at zones: 6(models) : 8(dom). The model does not match the content Current state has involved an issue.

I have tried suggestions mentioned in other topics (even erasing any content in page, saving and then trying to edit) – still get the same error. Also I have disabled all plugins except tagdiv – same exact issue as described below –

When I create new page, I can add modules and edit page with tagdiv editor. As soon as I publish page and want to edit again later – I start getting this error.

Also I have checked this – https://forum.tagdiv.com/tagdiv-composer-not-working/

Please let me know if any additional information is required.

My configuration:
nginx, php8.1-fpm, mariadb, redis, latest wordpress and newspaper version

Thank you in advance

Redlemon
Participant
#0

Hi TagDiv team,

We have a website which uses different templates for desktop, and mobile devices. After migrating from a Litespeed Web Server where we used the LSCWP caching plugin – the caching worked flawlessly there but there were other resources issues – to a new server with Nginx, WP Rocket, and Redis object cache (deactivated and removed the LSCWP plugin too), we started off with the site working surprisingly fantastically. Then after a few hours had passed we discovered that the desktop version was squeezed in to the mobile viewports. We tried all different configuration options in WP Rocket, to no avail.

A couple of years ago, before hosting the site to the former server with Litespeed, we had had it in a different host with Apache, and we had experienced the same behavior there also. The only thing that had worked then, was the W3 Total Cache plugin, which we tried to install in this case as well. However, it appeared like shortly after flushing all caches in that, there would be a conflict between that, and WP Rocket’s files inside of /wp-content/cache directory, where apparently both plugins saved (most or all of) their configuration settings individually.

Kindly note that no two caching plugins were enabled at one time while testing everything. There were no conflicts like that. All conflicts appeared to have some relation to WP Rocket’s configuration files. We made sure to also delete advanced-cache.php from /wp-content/.

What puzzled us most, was that even with WP Rocket deactivated (and all other plugins also, including Cloudflare being in Developer Mode), appending the URL parameter ?nowprocket to the URL had a positive effect, allowing the site to load properly, and work flawlessly in both formats (desktop & mobile). It was time to completely remove WP Rocket from our site.

Even after completely removing WP Rocket from the site it would still not function properly. It was clear it was a WP Rocket left-over thing, because even with it being deactivated, and then deleted, we tested further, and we were still experiencing this issue; applying the ?nowprocket url parameter would allow the site to work correctly still. We made sure to delete all left-overs from the file system; at least all we could discover.

Then we noticed in the Newspaper pages that WP Super Cache was the recommended plugin for the Newspaper theme. We installed that and deactivated everything else, but still, after a couple of minutes, we experienced the same behavior once more.

Digging in the WPSC plugin we discovered that there was an option to explicitly set the caching files directory. We set that to /wp-content/super-cache instead of the default /wp-content/cache one, since at first it did not want to work correctly and ?nowprocket was still doing its thing. Additionally we disabled the Developer Mode in Cloudflare again (effectively enabling CF), and purged all caches there. After a half an hour we have not experienced the unwanted behavior yet.

Kindly note that all tests were performed in a new incognito session every time, to rule out the plausibility of a browser cache conflict also.

Anyway, we would like to kindly request you assist us with the correct configuration settings for WP Super Cache for the Newspaper theme. Please share any warning flags we should keep an eye out for, and point us towards possible other culprits we might have overlooked, which would disallow for the unwanted behavior experience we have described.

Thank you.

ruavirtual
tagDiv Member

I solved it
disabling NGINX Caching from my cpanel.

Thanks

Micha
tagDiv Member

Unfortunately, not quite so simple, there is a tutorial (https://forum.tagdiv.com/how-to-make-the-site-faster/), but really much, you get out unfortunately not. You can do a lot with Cloudflare, but only with the Pro version and of course if you optimize WpRocket a little bit (https://www.andraware.com/wp-rocket-for-newspaper-theme/)

If it’s your own server, you can get a lot out of it with Nginx and Redis in conjunction with W3C Cache. And of course in which one throws for example some from the head (rds etc.)

jonesjw
tagDiv Member

My host (Kinsta) said “You should be able to disregard that ?
ModSecurity is generally something you’ll see on Apache based web servers – Kinsta uses Nginx actually. We don’t use ModSecurity ?”

What do you suggest now?

InfinDigital
tagDiv Member

Hi Anamaria,

I have gone through the link which you have shared. We are using nginx as our web server hence the points up to 3 doesn’t apply for us. Regarding 4 our php memory limit is already 512MB. For 5th point we are not using mod_security in our dev server.

We have already configured nginx wordpress rule for SEO part to work and it is already working. This is our dev url https://dev.prasthutha.com/ where SEO link works good. You can use htpassword login as dev / dev

jonesjw
tagDiv Member

Hi,

​I do not use the wordfence or sucuri plugin

​I have disabled all plugins and that did not solve the problem

​I use cloudflare CDN but through my host Kinsta – I do not have access to the cloudflare

​I am using Newspaper 11.5.1 and the prebuilt website “newspaper”


—-
​Jerry W. Jones, MPA, AEMT
Dueño, Out & About PV, S. DE R.L. DE C.V.
Constitución 285-A , Colonia Emiliano Zapata , Puerto Vallarta, Jalisco. 48380
RFC: OAA170623BU1
+52 322 274 3500‬
https://outandaboutpv.com
heme config
Registration key i fcf8e5d4 – **** – **** – **** – e96c5e0be3a3 Reset key
Theme name i Newspaper
Theme version i 11.5.1
Theme database version i 11.5.1
HTTP channel test wordpress
php.ini configuration
Server software i nginx/1.21.3
PHP Version i 8.0.21
post_max_size i 128M – You cannot upload images, themes and plugins that have a size bigger than this value. To see how you can change this please check our guide here.
max_execution_time 300
max_input_vars 10000
SUHOSIN installed false
PHP extensions
mbstring available
GD library available
WordPress and plugins
WP Home URL i https://outandaboutpv.com
WP Site URL i https://outandaboutpv.com
WP version i 6.0.1
WP multisite enabled i No
WP Language i en_US
WP Memory Limit 256 MB/request

pratibimbnews
tagDiv Member

please i can give you my system as remote – Anydesk (304816737) please help me to solve this problem. i am using Nginx

rafaelpetermann
Participant
#0

Hi, we are having trouble with the website performance operating on a large database.

Our structure is on AWS and we have separate services: for the WordPress a 2 core, 4GB RAM EC2 operating with Nginx and PHP7.4. And for the database, initially a 8 core, 32GB RAM RDS.

We have around ~310.000 posts and we use tagDiv builder on most pages for the loops.

Taking a closer look to how the builder works and call the posts, we manage to remove the “SELECT SQL_CALC_FOUND_ROWS” WordPress does on all queries by adding the “no_found_rows” parameter everywhere there is no needed for pagination.

Since that, we manage to reduce the database to a 4 core 16 GB RAM, but it is still bigger than we expected.

All is fine with the EC2, but the RDS is suffering.

Are there more optimizations we can do?

The website in question is: http://jornaldebeltrao.com.br/

Eighthats
Participant
#0

http://www.rcrwireless.com
The site is is going down due to 524 errors every 5 hours or so.
New relic is reporting that tdc_footer is causing the longest loading issues.

Theme name Newspaper
Theme version 11.5.1
Theme database version 11.5.1
Server software nginx/1.20.1
PHP Version 7.4.30
post_max_size 128M
max_execution_time 300
max_input_vars 3000
SUHOSIN installed false
WP Home URL https://www.rcrwireless.com
WP Site URL https://www.rcrwireless.com
WP version 6.0.1
WP multisite enabled No
WP Language en_US
WP Memory Limit 756 MB/request
WP_DEBUG False
Caching plugin No caching plugin detected

I will be emailing support with a login for the site, as well as some screen shots.

Server is hosted with WPMUdev
64GB memory
16 vCPU
640GB storage
30TB bandwidth
1M /month estimated visits

Calin
tagDiv Staff

Hi sheldon911,
Please update the php version to 7.4 and please be sure that the nginx has set the setting to recognize the custom permalinks -> https://i.imgur.com/eFFdSEk.png
Also, the Fix 524 can be a Cloudflare Error, so please check this guide too -> https://webpop.io/cloudflare/error-524-timeout/
I hope this will help you!

sheldon911
Participant
#0

Hello,
I have looked all over the forums to search for a solution to this. When I edit pages with TagDiv I get a 524 timeout error, my database crashes and I have to restart the server completely. I have tried EVERYTHING iv seen in this forum.

Steps taken..
– Update theme
– Update Plugins
– Removed all non-mu plugins

None of that worked so I did a lot of work on the server side detailed below
– Updated WP_MEMORY_LIMIT’, ‘256M
– Updated upload_max_filesize = 200M
– updated max_input_vars = 3000
– updated max_execution_time = 300
– updated post_max_size = 50M
– Updated upload_max_filesize = 50M

None of that still seemed to work, I did not follow htaccess updates as I am on nginx. My stats are below.

Here are all the details from the system panel https://imgur.com/a/iSbSUiZ

The only thing I think I would be missing here is configuration requirements for Nginx as all the details I see in the forum cover htaccess.

Viewing 25 results - 76 through 100 (of 452 total)