The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Upload Attachment not working
Hello,
im move my forum to new VPS Server from Hosting and now i have problem. I use CentOS 6.5 with Plesk panel to admin my forum + Root account and connection via SSH. I Have vBulletin 4.2.0 LP4 After change server upload attachments doesnt work but old attachemnts work good. I Keep attachments on my server here: /var/www/vhosts/windowsmania.pl/httpdocs/upload And forum see old attachments good I think i have problem in my php.ini configuration In diagnostic on admincp show me Code:
file_uploads: On open_basedir: /var/www/vhosts/windowsmania.pl/httpdocs:/var/www/vhosts/windowsmania.pl/httpdocs/tmp safe_mode: Off upload_tmp_dir: /var/www/vhosts/windowsmania.pl/httpdocs/tmp upload_max_filesize: 64.00 MB No file uploaded and no local file found. The test cannot continue. with CHMOD 777, 1777 via change FTP CHmod or via root ssh. i dont know how to repair it. I try search on forum resolve but nothing work for me This is onerous becouse nobody cant change avatar, sygnature or upload attachments. Sorry for my english Im from poland Regards |
#2
|
|||
|
|||
are you using Apache or Nginx??
besides, attachments have two ways to be uploaded to either your vb board tree or Database!! so which one you are doing?? |
#3
|
|||
|
|||
I use Apache and i use files on ftp (board tree) not database
|
#4
|
|||
|
|||
ok, since this is the case, you need to be sure that Apache allows ftp user to change CHMOD for the folder where you want to store your attachments.
also make sure to insert folder name with ./myattach_folder or whatever you have, not the root file for the web server... try that and see if that works!! |
#5
|
|||
|
|||
I create a 2 folder via root and 2 folder via ftp in forum director
./upload2 ./upload3 ./upload4 ./upload5 upload2/ upload3 upload4 upload5/ and with full path with /var/www/***** and test file to change director work good but after i got No file uploaded and no local file found. The test cannot continue. I change to test open_basedir and upload_tmp_dir to none for this test. i try change chmod via ssh a+rwx upload* chmod 0777 upload 1777, 2777, 777 and nothing work ( --------------- Added [DATE]1398761461[/DATE] at [TIME]1398761461[/TIME] --------------- i have problem too with change Avatar on forum. Avatar upload too in attachments folder or other?? Or maybe on database ?? i think problem is on my php.ini configurator |
#6
|
|||
|
|||
Quote:
it is usually set up by user, but if you didn't set it up in your web server, you can find it on var/log/apache/error.log it could be this apache2 not apache though... find the error message first because big chance it is permission issue.. |
#7
|
|||
|
|||
OMG i do a big mistake!
I type upload_max_filesize = 64MB not 64M and thats why i cant upload. Sorry and thank u for advice! Please close topic Regards |
#8
|
|||
|
|||
Quote:
you could look into Apache log file to see what's happening at first Good luck!! :up: |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|