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
BUG: After upgrading to SP 5.6 Permalink leads to 404 error
Avatar
Blaise
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Apr 25, 2016 - 3:34 pm

Mr Papa said
sometimes works and sometimes not??

are you caching anything?  or minifying js scripts?

do you have link to site?

Yes: I am heavily caching:

- guests are served full page caches for all my site *except simple press*. This is thru zencache / cometcache.

- there is also a layer of object caching (Redis).

No, I am no longer minifying .JS / .CSS.

I will PM you a link to the site with a member access as I am not sure guests have any issues (guests never report bugs).

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 25, 2016 - 3:53 pm

Can you please make it an SP Admin account. We WILL need to deactivate your other WP plugins and possibly swap tho the WP theme briefly.If this is unacceptable then there is probably little more we can do.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Blaise
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Apr 25, 2016 - 3:56 pm

I think the problem is gone. Mr Papa's trick of deactivating and re-activating Simple Press worked. Well, I tried about 50 pages and did not get the 404 error, so I can't conclude a 100% success, but still much better than the 50% success I had. 

 

@yellow-swordfish : I'm sorry, but my site has heavy traffic. I cannot allow turning on and off WP plugins or themes, even briefly.

Avatar
Blaise
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Apr 25, 2016 - 3:58 pm

Thanks.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 25, 2016 - 4:08 pm

Blaise Fiedler said
I think the problem is gone. Mr Papa's trick of deactivating and re-activating Simple Press worked. Well, I tried about 50 pages and did not get the 404 error, so I can't conclude a 100% success, but still much better than the 50% success I had. 

OK - all this activity really does is rebuild the permalinks/rewrite rules once again

@yellow-swordfish : I'm sorry, but my site has heavy traffic. I cannot allow turning on and off WP plugins or themes, even briefly.

Ok - but remember for the next time as it may well continue to happen if the root problem is not resolved - but this is what I said last time

The plugin you were asking about is 'mentions': https://simple-press.com/downl.....ns-plugin/

andy-signature.png
YELLOW
SWORDFISH
Avatar
Blaise
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Apr 25, 2016 - 4:20 pm

Yellow Swordfish said

Blaise Fiedler said
I think the problem is gone. Mr Papa's trick of deactivating and re-activating Simple Press worked. Well, I tried about 50 pages and did not get the 404 error, so I can't conclude a 100% success, but still much better than the 50% success I had. 

OK - all this activity really does is rebuild the permalinks/rewrite rules once again

Interesting. But it seems to have done it in a better way than the rebuild button... I suspect Redis Object Cache has something to do about this.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 25, 2016 - 4:46 pm

Why  would it matter?  you said you are not caching the forum page?  if you cache it, you will get odd results since a cache assumes the page is static...  its not, its dynamic...  most object caches running at server level do a much better job and should be able to function... APC and memcache for example will work in my experience...  never heard of Redis...  its a php opcode object cache, should be fine....  but has to be low level server based...

Avatar
Blaise
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Apr 26, 2016 - 3:17 am

Mr Papa said
Why  would it matter?  you said you are not caching the forum page?  if you cache it, you will get odd results since a cache assumes the page is static...  its not, its dynamic...  most object caches running at server level do a much better job and should be able to function... APC and memcache for example will work in my experience...  never heard of Redis...  its a php opcode object cache, should be fine....  but has to be low level server based...

I am not using a page cache on the forum, but I am using object cache everywhere. 

It matters, because it keeps some options in memory. Wordpress heavily uses transients and object caching for a lot of its options and when you move to a persistent object caching such as Redis or Memcache you might end of having some options that are not refreshed / deleted when required. I did purge Redis several times when I was faced with the bug but only a full deactivating of SP closely preceded by a redis flushing really worked. 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 26, 2016 - 9:06 pm

so simple press does not use the caching components of wp...  if redis relies on that, performance may be sketchy at best...  but simple press does work with op code caches at the server level...  this redis sounds like a wp plugin vice a true object or op code cache at server level...

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