View Full Version : Fatal error
a_badr
11-22-2011, 04:58 AM
hi
I'm having this error when you try to add a new entry
Fatal error: Call to undefined function prepare_newpost_attachmentbit() in /home/xxx/public_html/tutorials/newentry.php on line 1352
I use: vBadvanced Dynamics v2.1.3 RC1 & vBulletin 4.1.8
Thank you
keyvan
11-27-2011, 09:35 AM
I have the same.Anybody can help?
keyvan
11-30-2011, 01:52 AM
Any support?
Brian
11-30-2011, 01:36 PM
It looks like vBulletin decided to remove that function in v4.1.8. I've just updated the dynamics/newentry.php file in the download package here to include the fix, so if you will download the files from here again and update that one on your server, that should take care of the issue. Or you can just look in your dynamics/newentry.php file for this line and remove it:
$newpost_attachmentbit = prepare_newpost_attachmentbit();
keyvan
11-30-2011, 02:26 PM
It looks like vBulletin decided to remove that function in v4.1.8. I've just updated the dynamics/newentry.php file in the download package here to include the fix, so if you will download the files from here again and update that one on your server, that should take care of the issue. Or you can just look in your dynamics/newentry.php file for this line and remove it:
$newpost_attachmentbit = prepare_newpost_attachmentbit();
That worked fine.Thank you
a_badr
12-01-2011, 05:19 PM
Thank you
jwargo
01-20-2012, 09:29 PM
I'm having this problem with Dynamics 2.1.3 and vBulletin 4.1.9. I deleted the specified line, but now when I submit the page I get the following:
Warning: require_once([path]/includes/functions_wysiwyg.php) [function.require-once]: failed to open stream: No such file or directory in [path]/dynamics/newentry.php on line 260
Fatal error: require_once() [function.require]: Failed opening required '/serverpath/vbtest/includes/functions_wysiwyg.php' (include_path='.:/usr/local/lib/php-5.2.12/lib/php') in /serverpath/vbtest/dynamics/newentry.php on line 260
Sure seems like Dynamics is still broken.
Brian
01-24-2012, 05:25 PM
Are you sure you're running vBa Dynamics v2.1.3? The code within the newentry.php file has been updated to call a different file if you're running vB 4.1.4+, so I'd suggest downloading the files from here again, then delete the dynamics/newentry.php file from your server and re-upload the file from the package you just downloaded to make sure you're running the current version.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.