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
Some problems with nginx
Avatar
OlafKS
Member
Free Members
sp_UserOfflineSmall Offline
Sep 3, 2012 - 12:57 pm

Hi :) I need help again :)
after migrating to nginx+php-fcgi (just nginx, without apache), i have faced with two problems.
1. search is not working
2. "mark all read" button is not working

and one more problem - a have alot of posts at the forum (34069 just now) and sometimes, especially if topic is very big (more than 20 pages) it begins to work very slow... and sometimes i'm getting 502 error on that pages.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 4, 2012 - 1:57 am

Well the 502 (Bad Gateway) is going to be some sort of server issue as you probably know.

As to 1 and 2 perhaps you could me more details please. What does 'not working' actually mean. What happens, what do you do and what is the result?

andy-signature.png
YELLOW
SWORDFISH
Avatar
OlafKS
Member
Free Members
sp_UserOfflineSmall Offline
Sep 4, 2012 - 2:21 am

With 502 error everything is ok now. It was gravatar problem. Gravatar was not working, but forum tried to get avatars from there. now everything is ok. But probably you'll want to add something like "waiting for reply"... for ex. if gravatar is not responding for 20 seconds, forum breaks connection. Now I have activated gravatar cache plugin, think this will help.

about search and mark all read... when you press search or mark all read buttons, it just redirects you to main page and nothing happens.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 4, 2012 - 5:15 am

Are you able to give me a link to your forum page?

andy-signature.png
YELLOW
SWORDFISH
Avatar
OlafKS
Member
Free Members
sp_UserOfflineSmall Offline
Sep 4, 2012 - 5:36 am
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 4, 2012 - 5:45 am

Well it is only throwing up one script error (some inline script to do with login) so that is not the issue.

If these are the only two problems then I think you need to take a look at something redirecting the urls that the two functions generate. Is there any redirection in place for anything? Or - more likely - some sort of security parsing of http requests? Your access logs should show something...

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