close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Please help

Thread began 11/28/2010 2:46 am by J7HNW | Last modified 12/01/2010 12:10 pm by Dani Chankhour | 4830 views | 6 replies |

J7HNW

Please help

My universal e mail 4 script is timing out in IE8 and Firefox

It starts to run. I did some test yesterday on 4 e mail addresses
and all was fine. All e mails got through OK and the Thanks page
was displayed when the script had executed.


I have now added 100 e mails and it simply bombs out on IE8 and
firefox after around 25 records.

How can I set the script time to run longer please ? Is this on the
page attached or on my server

Thanks

Attached Files
index.zip
Sign in to reply to this post

J7HNW

Server

I asked our Server hosts to check this for us. The Screen goes blank after so long - sometimes 8 e mails get sent - sometimes 35 then we get a 500 error. The server hosts have replied as follows

------------------------------------------------------------

Hyve Support Ticket Amended - 5222: Mailing Script times out


Hi Jon

I've tried increasing the php timeout for you, but it still doesnt work.

Not sure on this one. We'll have to have a look later as there is a mountain of tickets building up.

This is the error when run locally on the server:

HTTP Error 500.0 - Internal Server Error
C:\Program Files\Parallels\Plesk\Additional\PleskPHP5\php-cgi.exe - The FastCGI process exceeded configured activity timeout
Detailed Error Information
Module FastCgiModule
Notification ExecuteRequestHandler
Handler Plesk_Handler_01294065313
Error Code 0x80070102
Requested URL index.php
Physical Path C:\inetpub\vhosts\andrewstaxis.com\httpdocs\admin\ContactDrivers\index.php
Logon Method Anonymous
Logon User Anonymous
Most likely causes:

* IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
* IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
* IIS was not able to process configuration for the Web site or application.
* The authenticated user does not have permission to use this DLL.
* The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.

Things you can try:

* Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.
* Check the event logs to see if any additional information was logged.
* Verify the permissions for the DLL.
* Install the .NET Extensibility feature if the request is mapped to a managed handler.
* Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.

Links and More Information This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error.

View more information ยป

Microsoft Knowledge Base Articles:

* 294807


Best regards,
Jake Madders

Please can you shed any light on whjat is happening here ?

John

Sign in to reply to this post

Jason ByrnesWebAssist

using FastCGI, increasing the PHP timeout only is not sufficient.


You also need to increase the ActivityTimeout in the fcgiext.ini file.

Sign in to reply to this post

J7HNW

Still problems - please can you help

Hi Jason

I am on a timeframe on this - my customer needs to be able to mail out quickly. I have never had a problem with Universal e mail on previous versions - but this one seems to be causing a problem. Full transcript below

If necessary please update this to a Support Incident so I can get it resolved quickly
Thank you

John


Subject: Mailing Script times out
Hi,

We need an error message or something more to show why this is failing. I would suggest that you rewrite part of the script and create a 'debug mode' which shows explicitly what the script is doing and outputs it to the screen to show an error message or at least the line of code which it is failing on. Without this we are not going to be able to fix this.

Best regards,
Jon Lucas
Ticket #5222
Date: 30 Nov 2010 11:11:25

Subject: Mailing Script times out
Hi Jon

No error messages Jon - it simply goes so far and hangs.Yesterday it was sending out e mails - now it doesnt seem to be. Just trying to help with suggesting the error log on Server

Hope you can find it soon

Regards

John
Ticket #5222
Date: 30 Nov 2010 10:24:44

Subject: Mailing Script times out
Hi,

When you say check the server logs what do you mean? I can see here phpinfo.php that PHP is logging to the screen and I cant see an error message.

There are no timeout errors, so it seems that the script is failing for another reason and this isn't being reported anywhere, are you able to show us an error message?

Best regards,
Jon Lucas
Ticket #5222
Date: 30 Nov 2010 09:44:53

Subject: Mailing Script times out
Hi John

It doesnt seem to work . I have just tested this in Firefox and it sends up to 9 e mails then stopslike it did yesterday. I have done this twice. Also in IE8 it stops at number 22. Please check theserver log to see what is happening for me.

Also more worryingly I have placed my own e mail in position 11 on the database - and have
not had any e mails come through at all today. At least yesterday I was always getting my copy before it bombed out. Have you changed the page code ?

Please can you recheck as this problem is not solved

Thanks

John
Ticket #5222
Date: 30 Nov 2010 07:11:09

Subject: Mailing Script times out
Hi John,

This has been changed to run php as an isapi filter and now it works.

index.php

Best regards,
John Bergmann
Ticket #5222
Date: 29 Nov 2010 22:21:35

Subject: Mailing Script times out
Hi Jon

Thanks for getting back . The Default Domain Template in my control panel was set up by
you and has Fast CGI ticked.

I cannot edit this in my log in. Please can you change it for me on the server as you set it
up at the outset.

Thanks in anticipation

John
Ticket #5222
Date: 29 Nov 2010 21:00:25

Subject: Mailing Script times out
Hi John

Parallels support came back with this:
showthread.php?t=95538

Can you disable fastcgi in the web hosting settings and use the standard php type

Best regards,
Jon Lucas
Ticket #5222
Date: 29 Nov 2010 19:47:18

Sign in to reply to this post

Dani Chankhour

I'm not familiar with the fastcgi, but try reducing the number of emails that is being sent per minute. You can change that in Universal Email. On your page you should have such variables:

$BurstSize = 10;
$BurstTime = 3;
$WaitTime = 2;

this tells universal email to wait 2 seconds between emails and send a max of 10 emails every 3 minutes. You can try changing those values by reducing the max number of emails that is being sent and increasing the wait time to see if that gives a better result.

Sign in to reply to this post

J7HNW

Still hangs after 8 seconds

Please can I elevate this to a support incident as I need to sort it urgently.
I have amended script times to


$BurstSize = 10;
$BurstTime = 3;
$WaitTime = 2;

It still does 8 and then you get a 500 server error on the screen

The server people have asked us to add some Debug code so they can see what is happening. I have been using Universal EMAil for years with no issue - and now I cant even get it to work on a simple form.

Please advise

Thank you

Sign in to reply to this post

Dani Chankhour

I have opened a support ticket to further assist you with this issue:

supporthistory.php

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...