I am getting this error after installing this mod for through the SMF 2.0RC1 installer. When I installed it there were no errors? How can it be fixed?? Thanks.
http://www.flytyingbug.com/forums/index.php?action=welcome&sa=add2 Invalid value inserted or no type specified.
Function: addtopic2
File: /nfs/c03/h03/mnt/52866/domains/flytyingbug.com/html/forums/Sources/WelcomeTopic2.php
Line: 204
184:
$_REQUEST['topicbody'] = un_htmlspecialchars($_REQUEST['topicbody']);
185:
186:
}
187:
188:
$topicsubject = $smcFunc['htmlspecialchars']($_REQUEST['topicsubject'], ENT_QUOTES);
189:
$topicbody = $smcFunc['htmlspecialchars']($_REQUEST['topicbody'], ENT_QUOTES);
190:
191:
if ($topicsubject == '')
192:
fatal_error($txt['welcome_err_nosubject'], false);
193:
194:
if ($topicbody == '')
195:
fatal_error($txt['welcome_err_nobody'], false);
196:
197:
198:
echo "INSERT INTO {db_prefix}welcome
199:
(welcomesubject, welcomebody)
200:
VALUES ('$topicsubject', '$topicbody')";
201:
// Insert the Topic
202:
$smcFunc['db_query']('',"INSERT INTO {db_prefix}welcome
203:
(welcomesubject, welcomebody)
==>204:
VALUES ('$topicsubject', '$topicbody')");
205:
206:
// Redirect to the main settings
207:
redirectexit('action=admin;area=welcome;sa=admin');
208: }
209:
210: function EditTopic()
211: {
212:
global $txt, $context, $smcFunc, $mbname, $sourcedir, $modSettings;
213:
214:
// Load the edit topic template
215:
$context['sub_template'] = 'edittopic';
216:
217:
// Set the page title
218:
$context['page_title'] = $mbname . ' - ' . $txt['welcome_edittopic'];
219:
220:
// Get the Topic ID
221:
$id = (int) $_REQUEST['id'];
222:
223:
224:
$request = $smcFunc['db_query']('',"