SMFHacks.com

Newsletter Pro => Support => Topic started by: guest3817 on April 01, 2017, 07:30:44 am

Title: Newsletter Pro errors in log
Post by: guest3817 on April 01, 2017, 07:30:44 am
Hello

We are getting the followings errors showing in the error log. Any ideas on how to fix?

Thanks

http://www.sisac.co.uk/forum/index.php?action=newspro;sa=schedule2
8: Undefined index: list
File: /home/xxxx/public_html/forum/Sources/NewsPro2.php
Line: 1086
   
http://www.sisac.co.uk/forum/index.php?action=newspro;sa=schedule2
8: Undefined index: message
File: /home/xxxx/public_html/forum/Sources/NewsPro2.php
Line: 1085

http://www.sisac.co.uk/forum/index.php?action=newspro;sa=schedule2
8: Undefined index: subject
File: /home/xxxx/public_html/forum/Sources/NewsPro2.php
Line: 1084

NewsPro2.php
Code: [Select]
1083:
1084: $subject = htmlspecialchars($_REQUEST['subject'],ENT_QUOTES);
==>1085: $message = (int) $_REQUEST['message'];
1086: $list = (int) $_REQUEST['list'];
1087:
   

I am also getting lots of the following error showing in the error_log file for the forum directory.

01-Apr-2017 13:32:25 Europe/London] PHP Fatal error:  Cannot redeclare DoToolBarStrip() (previously declared in /home/sisac/public_html/forum/Sources/NewsPro2.php:893) in /home/sisac/public_html/forum/Sources/Gallery2.php on line 11392
Title: Re: Newsletter Pro errors in log
Post by: SMFHacks on April 01, 2017, 11:05:43 pm
Does it happen everything you do a certain action?
Title: Re: Newsletter Pro errors in log
Post by: guest3817 on April 03, 2017, 02:40:38 am
Yes the errors in the smf log appear if I try to schedule a campaign without entering a subject and/or email addresses for the email.

The PHP Fatal error in the the root error_log Im not sure about but there are hundreds of them.
Title: Re: Newsletter Pro errors in log
Post by: SMFHacks on April 03, 2017, 04:54:40 pm
Posted an update to fix these issues
3.3
!Fixed a closing tag on the schedule campaign page.
!Made some changes to reduce conflicts with other mods gallery pro