Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4260
Latest: Verrick
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43319
Total Topics: 7526
Most Online Today: 230
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 221
Total: 221

Author Topic: Getting a 500 - Internal server error when attempting to send newsletter??  (Read 13358 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: 16463
    • 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: 16463
    • 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: 16463
    • 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: 16463
    • 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
4299 Views
Last post August 19, 2007, 12:20:15 am
by Tunerbrothers.com
0 Replies
4425 Views
Last post February 01, 2008, 03:45:42 am
by Paladin32
3 Replies
11987 Views
Last post September 15, 2008, 07:34:47 pm
by ApplianceJunk
8 Replies
7577 Views
Last post November 04, 2008, 09:55:54 am
by pioneer
5 Replies
7616 Views
Last post March 02, 2015, 11:36:29 am
by DenDen60

+- Recent Topics

Attachment images Upsidedown or Sideways by SMFHacks
June 18, 2024, 10:53:24 am

JSON decode error: The maximum stack depth has been exceeded by SMFHacks
June 14, 2024, 10:15:16 pm

“Insert from Gallery” by donk
June 10, 2024, 01:26:57 pm

Pretty Urls extras by SMFHacks
May 13, 2024, 10:28:54 am

Mod question by Verrick
May 11, 2024, 02:42:50 pm

i have paid but cant download ad pro. by SMFHacks
May 02, 2024, 11:29:38 pm

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Powered by EzPortal