Quote:
Originally Posted by Opserty
You need to fetch_foruminfo($forumid); before $threaddm->set_info('forum', $newforuminfo);
|
I added the code:
PHP Code:
$foruminfo = fetch_foruminfo($forumtouse);
Where $forumtouse has the (correct) forum id to post the new thread to.
Adding :
PHP Code:
var_dump($uname);
exit();
yielded the expected return value:
string(9) "admintw42"
[QUOTEI'm sure there is something easy were missing lol :erm:[/QUOTE]
I hope so - this is one of those 2% tasks taking 98% of the time.
Is there an equivalent line of code needed before:
PHP Code:
$threaddm->set_info('thread', $threadinfo);
If so what call should be made for $threadinfo?
bump. anyone? this error is dogging me.
I think it has something to do with the server script somehow not being "allowed" to post.