SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
February 11, 2012, 11:54:05 am

Login with username, password and session length
Members
Total Members: 9906
Latest: mdebruijne
Stats
Total Posts: 27819
Total Topics: 4860
Online Today: 86
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 67
Total: 68
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Getting a 500 - Internal server error when attempting to send newsletter??  (Read 2678 times)
jgmayes
Newbie
*
Offline Offline

Posts: 4


View Profile
« on: March 24, 2010, 02:44:55 pm »

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
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9408


View Profile
« Reply #1 on: March 24, 2010, 03:38:37 pm »

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.
Logged
jgmayes
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #2 on: March 24, 2010, 03:47:24 pm »

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?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9408


View Profile
« Reply #3 on: March 24, 2010, 04:00:09 pm »

And what version of SMF?

500 error I would try to increase the memory limit in php and the max execution time if possible.
Logged
jgmayes
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #4 on: March 24, 2010, 04:30:39 pm »

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?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9408


View Profile
« Reply #5 on: March 25, 2010, 12:35:18 pm »

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.
Logged
jgmayes
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #6 on: March 28, 2010, 08:52:28 am »

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?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9408


View Profile
« Reply #7 on: March 28, 2010, 09:38:45 am »

Try this code edit

Open Sources/ManageNews.php

Find
Code:
function SendMailing()
{
Add After
Code:
@ini_set('memory_limit', '128M');
@ini_set('max_execution_time',600');
Logged
scept1c
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #8 on: April 15, 2010, 06:39:20 am »

thx SMFHacks, I increased the memory limit in php.ini and that solved the problem.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 11:47:03 am]

[Today at 09:32:34 am]

[Today at 08:49:33 am]

[Today at 08:36:58 am]

[February 10, 2012, 02:42:09 pm]

[February 10, 2012, 02:23:51 pm]

[February 10, 2012, 10:26:45 am]

by exit
[February 09, 2012, 04:47:13 pm]

[February 08, 2012, 09:09:16 pm]

[February 08, 2012, 09:11:02 am]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 4.729 seconds with 20 queries.