Fixing the "No (Forum/Thread) Specified" Error
Why it's happening
There was recently a security issue discovered in PHP's file (POST) uploading function. As a result, many hosts not running the secure version (4.1.2) have disabled file uploading (specifically, the file_uploads php.ini setting). With file uploads off, it seems that all POST data coming from a multipart/form-data encoded form (the type required for file uploading) is not correctly set.
How it can be fixed
The best way would probably be to get your host to upgrade to PHP 4.1.2 and reenable file_uploads, but that's not always feasible. Thus, the workaround is to remove the encoding from 4 templates in vBulletin: editpost, modifyavatar, newreply, and newthread.
Procedure (click the images for a full size version)
Note: this example only shows the procedure for newthread; it is *very* similar for the other templates.
1) Login to your control panel and click on "modify" in the Templates section of the left frame.
2) In the resulting page on the right frame, click "show all" by the appropriate template set (normally "Default")
3) Scroll down until you find the newthread template (it's in alphabetical order despite the groupings). Click either "change original" or "edit" next to the template name as appropriate (you'll have one or the other).
4) In the text area box, search/look for the following text:
enctype="multipart/form-data"
Simply remove (or comment out) this text and submit.
5) Repeat for editpost, modifyavatar, and newreply.
Note that you won't be able to attach any files without this encoding even if file_uploads is on. You'll need to replace it before any uploading functions will begin to function again.






Reply With Quote

Bookmarks