03-15-2010, 06:12 PM
This plugin have been giving me problems since i've installed it
It's the last version of Rss To Post plugin http://mods.mybboard.net/view/rss-to-post
Task is enabled correctly
I have allow_url_fopen enabled
everything as readme file says
forum is http://www.beatdj.net/foros/
and i get this error
Could anyone check the plugin and see why it's wrong?
I found in server logs
that talks about this
PHP Parse error: syntax error, unexpected $end in /xxx/xxx/xxx/xxxx/inc/plugins/rss2post.php on line 470
It's the last version of Rss To Post plugin http://mods.mybboard.net/view/rss-to-post
Task is enabled correctly
I have allow_url_fopen enabled
everything as readme file says
forum is http://www.beatdj.net/foros/
and i get this error
Quote: MyBB SQL Error - [20] array (
'error_no' => 1064,
'error' => 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'\' at line 1',
'query' => 'UPDATE ez2_users SET numtopics=numtopics+1 WHERE uid=',
)
Could anyone check the plugin and see why it's wrong?
I found in server logs
that talks about this
PHP Parse error: syntax error, unexpected $end in /xxx/xxx/xxx/xxxx/inc/plugins/rss2post.php on line 470
Quote: {
$insert_array = array(
'url' => $db->escape_string($mybb->input['newurl']),
'forum' => $forum,
THIS IS LINE 470 'uid' => $uid,
'striphtml' => (!empty($mybb->input['newstriphtml'])) ? 1 : 0,
);
$db->insert_query("rss2post", $insert_array);
// Log admin action
$mybb->input['action'] = 'add';
$log = array('fid' => $db->insert_id(), 'url' => $mybb->input['newurl']);
log_admin_action($log);
// Reset new feed info
unset($mybb->input['newurl']);
unset($mybb->input['newforum']);
}
}
}