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
Something breaking the forum
Avatar
roy001ryc
Member
Free Members
sp_UserOfflineSmall Offline
Dec 12, 2013 - 6:48 am

But I am unsure what.

Every so often when someone either makes a post, sends a PM or edits a post, whatever they did will not save and the forum gets reloaded as plain text in with most of the links not working and functions not appearing.

 

When it does happen it appears to affect only an individual and even after logging off and restarting their computer the display is still weird and non functional. Mostly this lasts for about an hour or two before the forum displays correctly and is usable for that person again. Even using a different browser seems not to help.

 

It has happened to me on a few occasions now and seems to be getting more frequent, while the forum will not display for my main account when it happens, I can still log in and use it fine with a second account I created, hence why it appears to affect just the single user not everyone together.

 

I'd like to say it happens when a longer post/PM are put in but I can not confirm that and certainly some long post I have put up did not cause any issues.

 

I am at a bit of a loss to explain, I'm not greatly computer literate but I do literally have no idea why this is happening.

 

Please help, if you need me to send anything let me know.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 12, 2013 - 6:54 am

Might need to do this in stages... So first question: Are you using a WordPress caching plugin? if so, and if you have not already, then you must exclude the forum page (using the forum home page slug) from all caching options which you can do via any cache plugin option panels.

After this we can move to the next thing. Go to the forum admin > Options > Global Settings and try turning OFF the options to cache and compress CSS and JavaScript - if they are indeed turned on.

andy-signature.png
YELLOW
SWORDFISH
Avatar
roy001ryc
Member
Free Members
sp_UserOfflineSmall Offline
Dec 12, 2013 - 9:04 am

Yes there is a wordpress caching plugin, I think I have now excluded the forum page, but I do not know what the 'slug' is exactly. Is this the same as the forum page permalink?

 

I have also turned off the options to cache and compress CSS and JavaScript.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 12, 2013 - 12:33 pm

And? Any change or does it still break? If still breaking can we have a link to your forum page to see how things are loading?

andy-signature.png
YELLOW
SWORDFISH
Avatar
roy001ryc
Member
Free Members
sp_UserOfflineSmall Offline
Dec 12, 2013 - 1:57 pm

hmm.. seems worse as I can't access them now, several others reported problems also

 

http://antaresscorpions.co.uk/forum-2/

 

At the moment I'm just receiving this:

502 Bad Gateway

nginx

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 12, 2013 - 3:13 pm

To quote my small http handbook...

(502) This code indicates that the server (or proxy) encountered invalid responses from anothr server (or proxy).

All of which really means that you need to be talking to your hosting support in the first instance...

andy-signature.png
YELLOW
SWORDFISH
Avatar
roy001ryc
Member
Free Members
sp_UserOfflineSmall Offline
Dec 12, 2013 - 7:32 pm

I went to our host first but some time there were no issues they could see and pointed me towards the forum, as the problem was coming after a post or PM was made.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 13, 2013 - 3:55 am

They blamed SP for your 502 http 'bad gateway' error? How do they work that one out?

A 502 is caused (as I said above) by your web server making a request to a third party server and getting, basically, an invalid response. This may be permanent, temporary, or even intermittent if the reason for it is exhausted resources on the target server.

So this is likely to be something your site loads that is not stored on your own server. So it could even come down to an attachment someone has placed in a post - for example. And that IS just an example.

Your host should maintain logs of all these transactions and therefore should be able to locate what was being requested when the status was returned. It is impossible for us to know what that might be...

andy-signature.png
YELLOW
SWORDFISH
Avatar
roy001ryc
Member
Free Members
sp_UserOfflineSmall Offline
Dec 13, 2013 - 5:05 am

No, the 502 bad gateway error I only received yesterday immediately after going through the cashe fixes you mentioned, I have no idea if it is connected or coincidence. I had not had that error before, and have not had it since. Incidentally I also got this error message from the forums at the same time as the 502 one yesterday 

Error 404 - Not Found
Sorry, the page that you are looking for does not exist.

 

In testing since yesterday I have managed to break the forums again a couple of times by making long posts and PM's. Have not got a 502 error these times but instead non or partly functional forums just as before.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 13, 2013 - 5:29 am

OK - understood.

Well another big possibility - especially if this is happening on 'long' posts - is that you are running out of php memory. You should be able to see what you have available in the forum admin > toolbox > environment panel. While it is possible to run WP and SP in 64MB it will also depend on what other plugins are active etc. Obviously the more code - the more RAM that is needed to process the scripts.

Alternatively another question would be how long are these 'long' posts. Is it possible that your php environment is set up so that too much information is being posted for it to handle. What, exactly, do you mean by 'long'?

Once again - both of the above error conditions would show up on your php error log on your server.

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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626