Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4229
Latest: Ghost
New This Month: 3
New This Week: 0
New Today: 0
Stats
Total Posts: 43078
Total Topics: 7493
Most Online Today: 65
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 59
Total: 60

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

+- Recent Topics

Version 6.1.6 issues by SMFHacks
September 25, 2023, 09:52:10 am

Follow / Follower Mod? by SMFHacks
September 23, 2023, 08:44:44 am

Looking for a good video player by replayuk
September 23, 2023, 12:17:39 am

[Mod]Discord Web Hooks by SMFHacks
September 22, 2023, 03:57:28 pm

SMF 2.1.4 Search by Anmer
September 22, 2023, 01:55:15 pm

Error in thise mode by Ghost
September 15, 2023, 08:42:24 am

Gallery Selection List Order by mickjav
September 07, 2023, 12:46:31 pm

[Mod]Tidy Child Boards 2.0 by Norwinjose
September 02, 2023, 11:42:54 am

PrettyUrls SEO Pro: Unable to submit sitemap to google search conmsole by SMFHacks
August 31, 2023, 10:55:22 am

PrettyURL - SEO4SMF Rewrites? by SMFHacks
August 28, 2023, 06:35:33 pm

Powered by EzPortal