Forums / General Questions / Newsletters wont send - fatal error please help!

Newsletters wont send - fatal error please help!

Locked

Started by emtecmedia on 18 Oct 2006, 11:27 AM · Views: 2,237

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
18 Oct 2006, 11:27 AM
#1
emtecmedia avatar

emtecmedia

Zen Follower

Join Date:
May 2005
Posts:
108
Plugin Contributions:
0

Newsletters wont send - fatal error please help!

Hi,

We have 2000 odd newsletter subscribers and i tried to send out a basic newsletter today and got this error:

Fatal error: Maximum execution time of 30 seconds exceeded in

/var/www/vhosts/ry.com.au/httpdocs/store/manage/includes/classes/mime.php on line 236

Any ideas on what causes this and if i can find out any way how many of the newsletters went out and how many didnt?

Brad.

24 Oct 2006, 11:23 AM
#2
emtecmedia avatar

emtecmedia

Zen Follower

Join Date:
May 2005
Posts:
108
Plugin Contributions:
0

Re: Newsletters wont send - fatal error please help!

Can anyone help me here???

24 Oct 2006, 12:29 PM
#3
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Newsletters wont send - fatal error please help!

All PHP scripts have a maximum execution time, which is set in php.ini

Having said that the script itself should not take longer than 30 seconds to execute, but that script is not a default part of Zen Cart, so I'm assuming it's part of your control panel.

Vger

25 Oct 2006, 10:15 AM
#4
emtecmedia avatar

emtecmedia

Zen Follower

Join Date:
May 2005
Posts:
108
Plugin Contributions:
0

Re: Newsletters wont send - fatal error please help!

Hi,

I am only using the default newsletter mailout feature of zen cart, so i would expect it to work correctly. Has anyone had this error before?

Brad.

25 Oct 2006, 11:56 AM
#5
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Newsletters wont send - fatal error please help!

The point I was making is that the error is occuring not in Zen Cart but in your Hosting Control Panel - which appears to be cPanel. It is this file that is causing the problems:
/manage/includes/classes/mime.php

You need to contact your hosting company.

Vger

25 Oct 2006, 9:23 PM
#6
emtecmedia avatar

emtecmedia

Zen Follower

Join Date:
May 2005
Posts:
108
Plugin Contributions:
0

Re: Newsletters wont send - fatal error please help!

Oh ok, I see what you mean now. I am running Plesk control panel, how would I explain my problem to the hosting company so they understood what I need fixed?

25 Oct 2006, 10:42 PM
#7
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Newsletters wont send - fatal error please help!

Just quote the error to them, and explain to them that this appears to be a problem at their end which is preventing Zen Cart from operating on their servers:

Fatal error: Maximum execution time of 30 seconds exceeded in

/var/www/vhosts/ry.com.au/httpdocs/store/manage/includes/classes/mime.php on line 236

Vger

24 Dec 2006, 1:19 AM
#8
emtecmedia avatar

emtecmedia

Zen Follower

Join Date:
May 2005
Posts:
108
Plugin Contributions:
0

Re: Newsletters wont send - fatal error please help!

My hosting company have told me that it is my script which needs editing which is outside their scope of work. I do have root access to the server, what file do i need to alter to increase the maximum execution time?

24 Dec 2006, 7:46 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Newsletters wont send - fatal error please help!

What version of Zen Cart are you using? (the mime class file was obsoleted in 1.3.0)

I don't recall when (maybe 1.2.7?), but the newsletter module was updated to set the max-execution-time setting to unlimited while running the newsletter batch.
If you have "that" part of the code, and you're still getting 30-second limits, then your host is blocking the ability for us to override the timer.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.