news and newsletters: Session timeout.

Started by Katrien, September 05, 2010, 03:12:06 PM

Previous topic - Next topic

Katrien

Dear all

I have a problem:

if we want to sent a mass pm or mass e.mail to all members or just one membergroup we get Sessie timeout.

I've tested with one membergroup: owners (previous admins). There are just 4 people who are in this membergroup. I sent to all of them (4) a pm using news and newsletters, immediately they get the pm, but in the smf page where you sent the pm, it keeps on sending (0,16 done, 1% done etc). It takes a long while after which we get a session time out. Same thing happens if we want to sent an e-mail.

Could you pls advise us?

Thanks in advance

Kind regards
Katrien
Pls visit www.1place4ads.nl for advertisement design.

xenovanis

Are there any errors in your forums errorlog?
Do you have any modifications installed?
"Insanity: doing the same thing over and over again and expecting different results."

Katrien

sorry forgot:

we have SMF 2.0 RC3

f.y.i: following packages have been installed:

1. PM to New Members 1.2   [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ] 
2. Aeva Media 1.3a   [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ] 
3. SimpleSEF 1.0.3  Uninstalled!
4. PortaMx v0.980-1 0.980-1   [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ] 
5. SMF Arcade 2.5 RC1  disabled in mainadmin area [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ] 
6. Board Sort Methods 2.0.1   [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ] 
7. PortaMx v0.980 0.980  [ Overzicht bestanden ] [ Verwijderen ] 
8. AjaxChat Integration 3.2.1 (modified for SMF 2 RC3)   [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ] 

I hope to hear from you soon.  :)


Kind regards
Katrien
Pls visit www.1place4ads.nl for advertisement design.

Katrien

dear xenovanis

Was already typing the above. Yes we have errors:

most of the time the following error, something with arcade? we have disabled it (not uninstalled) but stil errors.

http://www.1place4you.eu/index.php?board=107.0;wap28: Undefined index: arcadeBestand: /home/oneplace/domains/1place4you.eu/public_html/Sources/Subs.php
Regel: 3992

i hope to hear from you soon.

Kind regards
Katrien
Pls visit www.1place4ads.nl for advertisement design.

xenovanis

Odd, the Arcade mod is pretty stable in 2.0. However I'm sure that's not causing you trouble.

What about errors regarding the sending of the newsletters? Try sending one and take a look at the errorlog right after that.
"Insanity: doing the same thing over and over again and expecting different results."

rd

How many members does your forum have?

For example one of my forums has 3,000 members and it takes a while to send all the newsletters. This is because it's in shared hosting.

Please contact your host and ask them if there is a limit on how many php mails you can send in an hour or a day. Some host limit bulk emails, some even disables it.

Katrien

Thanks for your reply.

I have cleaned the errorlog and hv sent a masspm to the administrators (we have 4 administrators including me). No new error.

It keeps sending and sending just for 4 pms. But i see that i already have received the pm. I receive the pm immediately... direct after i have pushed the button "sent", however it keeps sending and sending (0.15 % done, 0.28% done etc), but the job is already done.

regards
Katrien
Pls visit www.1place4ads.nl for advertisement design.

xenovanis

In Admin -> Configuration -> Server Settings -> Cookies and Sessions, what are your settings for

Default login cookies length (in minutes)
Enable local storage of cookies
Use subdomain independent cookies
Force cookies to be secure

Use database driven sessions
Allow browsers to go back to cached pages

?
"Insanity: doing the same thing over and over again and expecting different results."

Katrien

Dear xenovanis

I have given yr the answer below in red:


Quote from: xenovanis on September 08, 2010, 12:59:12 AM
In Admin -> Configuration -> Server Settings -> Cookies and Sessions, what are your settings for

Default login cookies length (in minutes) 60
Enable local storage of cookies empty
Use subdomain independent cookies empty
Force cookies to be secure empty

Use database driven sessions yes
Allow browsers to go back to cached pages yes

?

Thanks

regards
Katrien
Pls visit www.1place4ads.nl for advertisement design.

xenovanis

Enable local storage of cookies -> try checking that.
"Insanity: doing the same thing over and over again and expecting different results."

Katrien

i did that, and checked errorlog...no change.

..same problem as descriped as above.
Pls visit www.1place4ads.nl for advertisement design.

xenovanis

How about disabling local cookies and enable subdomain independent cookies?
"Insanity: doing the same thing over and over again and expecting different results."

Katrien

here i am again.

Perheps it has nothing to do with the above, but i see a strange error:

Katrien
my ip nr
    Vandaag om 08:59:26
ed0a9e22eacc3a14589a33f0b8e41cab
Fouttype: Ongedefinieerd 
http://www.1place4you.eu/index.php?action=post2;board=67;preview;xml8: Undefined index: aeva_unseen
Bestand: /home/oneplace/domains/1place4you.eu/public_html/Sources/Subs.php
Regel: 4151 

I havent been there: AVEA unseen
perheps one error cause other errors?

this is what i get after click on the file as above:

4139:          // Aeva Media changes
4140:          'media' => array(
4141:             'title' => (isset($txt['aeva_gallery']) ? $txt['aeva_gallery'] : 'Media') . (!allowedTo('aeva_access_unseen') || empty($user_info['aeva_unseen']) || $user_info['aeva_unseen'] == -1 ? '' : ' [<b>' . $user_info['aeva_unseen'] . '</b>]'),
4142:             'href' => $scripturl . '?action=media',
4143:             'show' => allowedTo('aeva_access'),
4144:             'sub_buttons' => !allowedTo('aeva_access_unseen') || empty($user_info['aeva_unseen']) || $user_info['aeva_unseen'] == -1 ? array() : array(
4145:                'aeva_home' => array(
4146:                   'title' => $txt['aeva_home'],
4147:                   'href' => $scripturl . '?action=media',
4148:                   'show' => true,
4149:                ),
4150:                'aeva_unseen' => array(
==>4151:                   'title' => $txt['aeva_unseen'],
4152:                   'href' => $scripturl . '?action=media;sa=unseen',
4153:                   'show' => true,
4154:                   'is_last' => true,
4155:       


edit: i will do as you advise and come back asap
Pls visit www.1place4ads.nl for advertisement design.

Katrien

Quote from: xenovanis on September 08, 2010, 03:28:23 AM
How about disabling local cookies and enable subdomain independent cookies?

Have done that..no change, same error :-\
Pls visit www.1place4ads.nl for advertisement design.

xenovanis

So, the emails are sending okay but the session expires. Weird.

Could you try switching to the default theme and see if the problem persists?
"Insanity: doing the same thing over and over again and expecting different results."

Alex' Manson

#15
looks like her site is too slow because of traffic on the host so it takes too long to redirect back and the server gives a timeout error.. what you think? logic..  :P

xenovanis

It must be incredibly slow then since only 4 messages were queued  :P

Katrien, could you setup a testforum on the same server, unmodified and see if you can send out newsletters from there?
"Insanity: doing the same thing over and over again and expecting different results."

Alex' Manson

#17
yeah, it can really be a slow connection or a slow host because of muuuuch traffic but i really think you must read xenovanis posts, katrien cuz i am still a newbie :P

EDIT: is this solved? because she logged out 0.0

Katrien

not solved..i had to go sorry

i dont think server is the problem because the pms are sent quickly. Task is done correctly as it should be, everybody has got the pm immediately, but it continues sending (it looks like that, 0,4 % done, 2 % done, 2,4 done)

We have a test forum and there we do not have that problem (i have tested that). I have compared the server settings and there was one difference:

Schakel evaluatie van templates uit (translation: dont evaluate the templates) is marked (yes) on our test forum and not on our live forum. I've changed that on our live forum, but unfortunately still the same problem.

sorry for my bad english, i hope u understand me.

To be sure i will contact our host and ask him. Will keep u informed.

Regards
Katrien
Pls visit www.1place4ads.nl for advertisement design.

Alex' Manson

#19
Quote from: Katrien on September 08, 2010, 11:00:57 AM
not solved..i had to go sorry

i dont think server is the problem because the pms are sent quickly. Task is done correctly as it should be, everybody has got the pm immediately, but it continues sending (it looks like that, 0,4 % done, 2 % done, 2,4 done)

We have a test forum and there we do not have that problem (i have tested that). I have compared the server settings and there was one difference:

Schakel evaluatie van templates uit (translation: dont evaluate the templates) is marked (yes) on our test forum and not on our live forum. I've changed that on our live forum, but unfortunately still the same problem.

sorry for my bad english, i hope u understand me.

To be sure i will contact our host and ask him. Will keep u informed.

Regards
Katrien
It Looks Like A Configuration You Made On The New Forum Or A Mod Is Causing That...
Try Putting All The Mods You Have In The Testing Forum And See If 1 Of Them Is Causing The Problem..
I Don't Understand Why Will It Timeout When Messages Are Already Sended Correctly.. WEIRD..
Anyways Your English Isn't Bad...
And Don't Loose Hope (Like Me) And Someone Will Answer If It Is Not A Mod Problem.. :D
Recheck Your Cookie Settings And Server Settings, News Settings Too..

Advertisement: