Omnimaga

Omnimaga => News => Topic started by: DJ Omnimaga on September 21, 2010, 03:31:40 am

Title: OmnomIRC refresh rate lowered
Post by: DJ Omnimaga on September 21, 2010, 03:31:40 am
Until further notice, OmnomIRC refresh rate of 1 second has been increased to 8 seconds, except when sending messages, where it still refreshes one second after sending the message. This was done to lower server load, since sometimes several people have OmnomIRC ON, and also to see if this might help reducing the errors  we have been getting more and more lately due to the recent OmnomIRC update combined with traffic increase. Of course it doesn't guarantee we will get rid of errors, but hopefully it might help until we switch server, or at least help us find if Omnimaga is the cause of the downtimes.

On an unrelated note, but related to the site itself, we have modified EzPortal a little bit to get rid of the Unread Replies and Posts links in the info center. Those are unreliable because the list is cleared as soon as you close your internet browser, meaning that if you check the list but don't have time to check all posts, you miss out on a lot of discussion. Those links were replaced with the list of the latest 200 posts, which marks topics as unread until you actually read them (or mark the entire board as read).

UPDATE: We also switched from PHP4 to PHP5.
Title: Re: OmnomIRC refresh rate lowered
Post by: Netham45 on September 21, 2010, 04:03:52 am
Did you upgrade the site to PHP5?

A backend PHP setting I have no control over has changed, that's killing OmnomIRC.
Title: Re: OmnomIRC refresh rate lowered
Post by: DJ Omnimaga on September 21, 2010, 04:05:21 am
Yeah I noticed OmnomIRC isn't PHP5. You might want to try to find a solution as 1and1 suggested me to upgrade just now.
Title: Re: OmnomIRC refresh rate lowered
Post by: Netham45 on September 21, 2010, 04:07:08 am
It's not that it's PHP5 incompatible, but that 1and1 has a more restrictive PHP5 setup, apparently.

I'ma check if I can get the setting I need re-enabled through the control panel, if not, I'll e-mail 1and1 about it.
Title: Re: OmnomIRC refresh rate lowered
Post by: DJ Omnimaga on September 21, 2010, 04:09:28 am
Ah ok. It seems file_get_content() didn't work well on PHP4 either, though, because this is what the modified version of the Stop Forum Spam mod used and it still didn't work any better than when it used fetch_web_data() or something

I wonder if modifying the .htaccess file in the Omnimaga folder to allow it would be possible?
Title: Re: OmnomIRC refresh rate lowered
Post by: Netham45 on September 21, 2010, 04:17:48 am
Ah ok. It seems file_get_content() didn't work well on PHP4 either, though, because this is what the modified version of the Stop Forum Spam mod used and it still didn't work any better than when it used fetch_web_data() or something

I wonder if modifying the .htaccess file in the Omnimaga folder to allow it would be possible?

fetch_web_data() worked perfectly.
Title: Re: OmnomIRC refresh rate lowered
Post by: DJ Omnimaga on September 21, 2010, 04:18:42 am
it did? Nice to hear. I wonder why the Stop Forum Spam stopped working then. I'll try again I think. It's weird because it still says it could not connect to the server x.x
Title: Re: OmnomIRC refresh rate lowered
Post by: shmibs on September 21, 2010, 09:49:20 am
On an unrelated note, but related to the site itself, we have modified EzPortal a little bit to get rid of the Unread Replies and Posts links in the info center.
0_o
so THAT's where those buttons went

i spent several minutes looking around for them yesterday and then concluded that i was just being senile and they must have been features on some other site :P
Title: Re: OmnomIRC refresh rate lowered
Post by: DJ Omnimaga on September 21, 2010, 01:24:40 pm
Yeah I just replaced them because I felt they were too misleading. A lot of discussion is missed by people who frequent the forums in 5-10 minutes chunks during a short period of the day. I feel the list containing the last 200 active topics is more reliable, because if a topic got a new post or if the last post was edited, it shows the "new" image besides them in the list.
Title: Re: OmnomIRC refresh rate lowered
Post by: Deep Toaster on September 21, 2010, 08:02:56 pm
If it's taking that big of a toll, what about disabling it completely when too many people are online?
Title: Re: OmnomIRC refresh rate lowered
Post by: Happybobjr on September 21, 2010, 10:14:11 pm
quick problem, i can no longer send anything on the irc....?
Title: Re: OmnomIRC refresh rate lowered
Post by: DJ Omnimaga on September 21, 2010, 11:14:00 pm
Yeah Ranman noticed it stopped working in Firefox. It should be working now I think.

Deep Thought errors occurs randomly, even when nobody is on. At 4 AM there were about 20 users on, once, and we got full of errors. Yet, another day there were 180 and we got no error.
Title: Re: OmnomIRC refresh rate lowered
Post by: Netham45 on September 22, 2010, 03:28:08 am
quick problem, i can no longer send anything on the irc....?

Yea, I called a global variable that wasn't present in Firefox that borked the javascript.

It should all be fixed, though it was broken in Firefox for a majority of the day.

I need to test more thoroughly when I make changes...
Title: Re: OmnomIRC refresh rate lowered
Post by: DJ Omnimaga on September 22, 2010, 11:06:59 am
Does it works in Chrome too now? Someone reported Chrome problems
Title: Re: OmnomIRC refresh rate lowered
Post by: Builderboy on September 23, 2010, 01:06:05 am
Im not getting any problems in Chrome :)
Title: Re: OmnomIRC refresh rate lowered
Post by: DJ Omnimaga on September 23, 2010, 01:57:10 am
Ok. Maybe he fixed it, then.
Title: Re: OmnomIRC refresh rate lowered
Post by: Netham45 on September 23, 2010, 05:20:24 pm
The same thing that broke it in FF broke it in Chrome too, so when I fixed it, it fixed both.
Title: Re: OmnomIRC refresh rate lowered
Post by: DJ Omnimaga on September 23, 2010, 05:24:19 pm
Ah ok. I guess both use a similar engine or something close.
Title: Re: OmnomIRC refresh rate lowered
Post by: ztrumpet on September 24, 2010, 09:56:41 pm
Sounds good. :)  I hope it helps fix the errors. ;D
Title: Re: OmnomIRC refresh rate lowered
Post by: DJ Omnimaga on September 24, 2010, 10:28:34 pm
Finally it looks like we got fewer errors, but last night we got errors for about 5 minutes once. I do not know if the switch to PHP5 did anything and if reducing the refresh rate for OmnomIRC made the difference. However, traffic dropped slightly in the past few days so that might explain things.