The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello all!
I try to change a title of a thread with posting.php -> PHP Code:
Code:
Fatal error: Direct Instantiation of vB_DataManager_ThreadPost class prohibited. in /includes/class_dm_threadpost.php on line 30 |
#2
|
|||
|
|||
![]()
Look in the postings.php file for the following:
Code:
if ($_POST['do'] == 'updatethread') { // blah blah if ($threaddeleted != 1) { // see how datamanager and title are handled here } // blah blah } |
#3
|
|||
|
|||
![]()
It's the same of my code ...
This is my new code: PHP Code:
Code:
Fatal error: Call to a member function on a non-object in /home/zech/public_html/forum/postings.php(196) : eval()'d code on line 102 PHP Code:
|
#4
|
|||
|
|||
![]()
You need to use $threadman->setr(), $threadman->pre_save() and $threadman->save(), not $dataman->...()
Thanks, Alan. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|