Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4219
Latest: Toddie
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 42829
Total Topics: 7462
Most Online Today: 66
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 40
Total: 40

Author Topic: Getting a 500 - Internal server error when attempting to send newsletter??  (Read 11991 times)

0 Members and 1 Guest are viewing this topic.

Offline jgmayes

  • Member
  • *
  • Posts: 4
    • View Profile
For the past few days I have ben attempting to send a newsletter to my members and continue to get a 500 - Internal server error when I click "Send". We are a new forum and have approximately 1,000 members. I have not had this problem until recently.

any help would be appreciated.

Thanks

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16247
    • View Profile
With the newsletter pro software or SMF in general?

Sounds like you are reaching a memory limit. I would check the forum's error log for any relevant errors.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline jgmayes

  • Member
  • *
  • Posts: 4
    • View Profile
with newsletter pro..

here is what the error log says:

 The Don   Today at 03:42:47 pm 
 68.74.60.62     a72afafc3cbc4a4ea17fa3ff5716d1da 
 http://whitetail-mafia.com/forum/index.php?action=news;sa=mailingsend 
2: mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at "relay-hosting.secureserver.net" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
File: D:\Hosting\4245180\html\forum\Sources\Subs-Post.php
Line: 661

Any advice?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16247
    • View Profile
And what version of SMF?

500 error I would try to increase the memory limit in php and the max execution time if possible.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline jgmayes

  • Member
  • *
  • Posts: 4
    • View Profile
SMF 1.1.11

to increase the memory limit in php or max. execution time; is that done in the server setting from host? Or is that a setting in SMF?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16247
    • View Profile
This is generally done on the hosted side. If you have access to the php.ini it can be increased there as well.
If the host can't do I can tell you where to add some code in SMF itself that might help.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline jgmayes

  • Member
  • *
  • Posts: 4
    • View Profile
Well I found that I was able to create a php5.ini file and modify the settings. However this crashed other portions of the site, since I am on a Windows server.... I did not know the difference between Linux and Windows but now I am going to make the switch. Unfortunately my store is in NOP so I have to rebuild it.

Any temporary fixed to the max esecution problem why I rebuild my store in something else?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16247
    • View Profile
Try this code edit

Open Sources/ManageNews.php

Find
Code: [Select]
function SendMailing()
{
Add After
Code: [Select]
@ini_set('memory_limit', '128M');
@ini_set('max_execution_time',600');
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline scept1c

  • Member
  • *
  • Posts: 8
    • View Profile
thx SMFHacks, I increased the memory limit in php.ini and that solved the problem.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
3379 Views
Last post August 19, 2007, 12:20:15 am
by Tunerbrothers.com
0 Replies
3462 Views
Last post February 01, 2008, 03:45:42 am
by Paladin32
3 Replies
10764 Views
Last post September 15, 2008, 07:34:47 pm
by ApplianceJunk
8 Replies
6591 Views
Last post November 04, 2008, 09:55:54 am
by pioneer
5 Replies
6483 Views
Last post March 02, 2015, 11:36:29 am
by DenDen60

+- Recent Topics

[Mod]GDPR Helper by SMFHacks
Today at 01:50:14 pm

RSS Feed Poster Database Error by SMFHacks
May 22, 2023, 06:26:18 pm

Errors With Older Version. by Ken.
May 09, 2023, 05:35:40 pm

Pretty Urls SEO Pro by SMFHacks
May 06, 2023, 03:30:11 pm

New Post Image Upload Error by Mike66
April 28, 2023, 07:30:28 am

Copyright Removal Key by SMFHacks
April 03, 2023, 02:44:28 pm

Converting from Aeva Media by sudhakar
April 02, 2023, 11:09:54 am

Using SMF's Built-in Search Algorithm by shuban
March 27, 2023, 09:15:10 am

Permissions query by davejo
March 26, 2023, 04:43:48 am

prettyurls - TroubleShooting.wiki by SMFHacks
March 25, 2023, 01:49:35 pm

Powered by EzPortal