Yes, the test file was outside the directory. Moving it inside did get rid of that, but more have come
Fatal error: Call to a member function on a non-object in ...forums/includes/functions.php on line 259
That line is within the function fetch_phrase, which is used in function verify_post_errors, which is used in this snippet within functions_new_post.
PHP Code:
if ($_REQUEST['fromquickreply'] AND $post['preview'])
{
$errors = array();
}
else
{
verify_post_errors($type, $post, $errors);
}
Tracing code use is fun kids! lol
Ok, so $post['preview'] has already been set to 0 in the code I listed in the test file a couple of posts back. Not real sure how to set $_REQUEST['fromquickreply'] to the correct value though. Tracing it back, I think that's a default setting. I'm starting to get the feeling that a manual INSERT might work better, but I'm not giving up yet!