Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Forum Poll is not working :-(
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 17, 2013 - 11:15 pm

you can have w3tc on with the forum, you just need to tell it to ignore the wp page the forum is on...  if you leave the forum cached, users will not see the latest data and you will have all sorts of js/jquery issues...

On your site now, I see the page caching is disabled - good... but the database caching, cdn and other caching still running...

hard for us to debug when its cached...

btw, what kind of hosting do you have?  most ever online in the forum is 140 users... that is not a large number and most hostings should handle that kind of traffic across all of a wp site including the forum...

Avatar
MrWizard
Member
Free Members
sp_UserOfflineSmall Offline
Jul 17, 2013 - 11:24 pm

Everything is hosted on linode.  I dont think that the forum page is cached... it's in my exclusions.  Are you absolutely 100% certain that it is being cached?

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 18, 2013 - 12:07 am

With w3tc there is an exclusion list for each cache type. Did you enter the exclusion for each cache type or just on the page caching exclusion.

Avatar
MrWizard
Member
Free Members
sp_UserOfflineSmall Offline
Jul 18, 2013 - 2:39 am

That's a great question.  I will add the same exception to the other caching types, but the issue persisted when w3 was off entirely.  That said, even though I DELETED nginx helper, it's still showing me a caching message in the page source.  My developer sent this support request to the mod of the nginx forum if this helps clarify:

The issue in a nutshell: Nginx Helper, despite being deleted, is still showing an HTML comment on forum pages and the timestamp is not changing.

This HTML comment has persisted through full server reboots, nginx restarts and reloads, and a move to different physical hardware. It’s almost as if the HTML itself has actually been modified.

Nginx does have the

fastcgi_cache

module enabled, but we’re not doing anything with it — W3TC is handling caching here.

Here’s the Nginx config: https://gist.github.com/willie.....71572abc6e

Please advise and/or email me directly, and thanks very much for your help in advance.

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 18, 2013 - 4:21 am

Can I also refer you back to my earlier post (#5) where I did suggest you set up a member account for us so we can inspect the polls page you linked to.

Please PM credentials to both myself and to 'Mr Papa'. Please include in the PM a link to your site, a link to this thread and brief reminder of the problem. And one of us will take a look at that page.

andy-signature.png
YELLOW
SWORDFISH
Avatar
MrWizard
Member
Free Members
sp_UserOfflineSmall Offline
Jul 18, 2013 - 7:24 pm

PM sent... thank you very much for your assistance with this.

 

Avatar
MrWizard
Member
Free Members
sp_UserOfflineSmall Offline
Jul 19, 2013 - 3:33 am

I have new interesting stuff for you:

That nginx helper comment is (was) stored by simplepress forum software in its database!

mrwizard_wrdp1.sql:INSERT INTO `wp_sfposts` VALUES (153,'<blockquote><strong>Trav said </strong>nShit... I don't know brother.  I have only used my paypal account when testing purchases.  What kind of credit card is it?n n Really sorry that you're having problems with the payment... feel free to email me with any of the information and I'll contact paypal for you.  n n  n <!--Cached using Nginx-Helper on 2013-07-10 03:36:34. It took 39 queries executed in 0.339 seconds.-->n <!--Visit http://wordpress.org/extend/pl.....elper/faq/ for more details--></blockquote>rnI've Already bought it, Trav!rnrn <img src="http://problem-with-post-edit-buttonowtofightnow.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="spSmiley" /> rn','2013-07-10 03:36:55',48,300,14,'','',0,0,8,NULL,'221.14.60.21',NULL,0,0,NULL);

mrwizard_wrdp1.sql:INSERT INTO `wp_sfposts` VALUES (154,'<!--Cached using Nginx-Helper on 2013-07-10 03:38:20. It took 48 queries executed in 0.337 seconds.--><!--Visit http://wordpress.org/extend/pl.....elper/faq/ for more details-->[sp_show_poll id="1"]rn','2013-07-10 03:38:29',51,1,20,'','',0,0,1,'a:4:{i:0;a:2:{s:2:"by";s:4:"Trav";s:2:"at";i:1373427839;}i:1;a:2:{s:2:"by";s:4:"Trav";s:2:"at";i:1373962663;}i:2;a:2:{s:2:"by";s:4:"Trav";s:2:"at";i:1373962681;}i:3;a:2:{s:2:"by";s:4:"Trav";s:2:"at";i:1373989399;}}','173.49.122.105',NULL,0,0,NULL);

mrwizard_wrdp1.sql:INSERT INTO `wp_sfposts` VALUES (248,'<blockquote><strong>Janie05 said </strong>n14:00 <img alt="Surprised" src="http://problem-with-post-edit-buttonowtofightnow.com/wp-content/forum-smileys/sf-surprised.gif" width="18" />... where ya from?! n <!--Cached using Nginx-Helper on 2013-07-16 03:14:52. It took 26 queries executed in 0.414 seconds.-->n <!--Visit http://wordpress.org/extend/plugins/nginx-helper/faq/ for more details--></blockquote>rnHooah~rn','2013-07-16 03:15:39',53,300,13,'','',0,0,6,NULL,'221.14.60.21',NULL,0,0,NULL);

There were 3 such posts. I am not sure how this can happen. But I fixed them anyway.

Most likely simplepress has something like ob_start and/or not using wordpress admin_ajax.

 

I will also check nginx-helper but these comments has nothing to do with performance fall or caching.

For the matter of fact, even I removed them now, you won't see any relative difference in performance.

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 19, 2013 - 6:52 am

Curious indeed to understand how all this nginx crap can get itself included in a simple html POST variable. Would be nice to know.

I seem to have received a PM from you but when I loaded up your forum page it is still being served up by the total cache plugin...

andy-signature.png
YELLOW
SWORDFISH
Avatar
MrWizard
Member
Free Members
sp_UserOfflineSmall Offline
Jul 19, 2013 - 11:46 am

Yes, once we got the nginx message off the site, we wanted to experiment with what we could get away with.  The forum has been loading INCREDIBLY slowly, and with that form of caching enabled, I was still able to cast a vote on a new poll and tag someone in a post.  I'm not sure what ends up breaking as a result of caching, but the forum is virtually broken without it. 

I'm not sure if it's fully working right now since the cache has had some time to build, but I can check.  Either way, the nginx message is gone so I can actually shut of w3 when we need to diagnose a problem and test it out.

 

 

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 19, 2013 - 2:42 pm

so what does all this mean? Polls DO work OK or what? You've completely lost me and we just seem to be going around in circles now.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625