Results 1 to 9 of 9
  1. #1
    Join Date
    May 2005
    Posts
    112
    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.

  2. #2
    Join Date
    May 2005
    Posts
    112
    Plugin Contributions
    0

    Re: Newsletters wont send - fatal error please help!

    Can anyone help me here???

  3. #3
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,102
    Plugin Contributions
    2

    Default 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

  4. #4
    Join Date
    May 2005
    Posts
    112
    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.

  5. #5
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,102
    Plugin Contributions
    2

    Default 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

  6. #6
    Join Date
    May 2005
    Posts
    112
    Plugin Contributions
    0

    Default 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?

  7. #7
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,102
    Plugin Contributions
    2

    Default 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

  8. #8
    Join Date
    May 2005
    Posts
    112
    Plugin Contributions
    0

    Default 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?

  9. #9
    Join Date
    Jan 2004
    Posts
    58,244
    Blog Entries
    3
    Plugin Contributions
    106

    Default 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!
    Donations always welcome: www.zen-cart.com/donate

    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.

 

 

Similar Threads

  1. email not working at all
    By awoman in forum General Questions
    Replies: 2
    Last Post: 29 Nov 2006, 08:14 PM
  2. Email SMTP issues (needed 'smtpauth' instead of 'smtp')
    By petpromises in forum General Questions
    Replies: 23
    Last Post: 8 Nov 2006, 01:48 PM
  3. email wont send to customer, but admin get email just fine
    By Jiancai in forum General Questions
    Replies: 1
    Last Post: 11 May 2006, 03:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •