![]() |
upload files not working
I am creating a custom page on my vBulletin installation. The page will allow users to upload files. I am using the vBulletin system for the same. The code that i used for the same is given below. I get this error when i try to upload any file
Code:
Warning: move_uploaded_file(Uploads/index.html ): failed to open stream: No such file or directory in /usr/local/share/doc/vhost/mydomain.org/httpdocs/screen/index.php on line 84 Code:
if ($_REQUEST["do"] != "") { Thanks in advance. There is a upload class in vBulletin. Is that of some help? I have to use the interface to upload pdf files of upto 2 Mb. |
The error is saying that the Uploads directory is not in or writable to the screen directory. Try changing $target_path to the full server path and make sure the Uploads directory is writable.
|
Thanks. The problem was with the target address. Specifying the complete path worked.
You rock!!! |
All times are GMT. The time now is 04:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|