induslady
11-27-2015, 08:33 AM
Hello,
Have set up a password protected dev env - staging sub domain for the vbuleltin installation.
My live forums is - http://www.indusladies.com/forums/
and the staging sub domain is - http://stage.indusladies.com/forums/
In live forums have set the attachment path as - /home/mypath/attachments
In staging sub domain have set the attachment path as -
/home2/anotherpath/attachments
All the files / settings is same as in live forums.
When I try to upload images it works in the live forums but not in the staging sub domain. In the staging sub domain, the image uploads just blanks and nothing happens.
Ran diagnostics for image upload and for live it is :
file_uploads: On
open_basedir: /home/mypath:/usr/lib/php:/usr/local/lib/php:/tmp
safe_mode: Off
upload_tmp_dir: None
upload_max_filesize: 2.00 MB
Results
No errors occurred while opening the uploaded file for reading. You should be able to turn off the "Upload In Safe Mode?" option without any adverse effects.
and the diagnostics in staging sub domain results as :
file_uploads: On
open_basedir: /home2/anotherpath:/usr/lib/php:/usr/local/lib/php:/tmp
safe_mode: Off
upload_tmp_dir: None
upload_max_filesize: 2.00 MB
No errors occurred while opening the uploaded file for reading. You should be able to turn off the "Upload In Safe Mode?" option without any adverse effects.
Is there any other setting that I need to check. How do I make the image attachments work in the staging sub domain. Thanks in advance for the response.
Have set up a password protected dev env - staging sub domain for the vbuleltin installation.
My live forums is - http://www.indusladies.com/forums/
and the staging sub domain is - http://stage.indusladies.com/forums/
In live forums have set the attachment path as - /home/mypath/attachments
In staging sub domain have set the attachment path as -
/home2/anotherpath/attachments
All the files / settings is same as in live forums.
When I try to upload images it works in the live forums but not in the staging sub domain. In the staging sub domain, the image uploads just blanks and nothing happens.
Ran diagnostics for image upload and for live it is :
file_uploads: On
open_basedir: /home/mypath:/usr/lib/php:/usr/local/lib/php:/tmp
safe_mode: Off
upload_tmp_dir: None
upload_max_filesize: 2.00 MB
Results
No errors occurred while opening the uploaded file for reading. You should be able to turn off the "Upload In Safe Mode?" option without any adverse effects.
and the diagnostics in staging sub domain results as :
file_uploads: On
open_basedir: /home2/anotherpath:/usr/lib/php:/usr/local/lib/php:/tmp
safe_mode: Off
upload_tmp_dir: None
upload_max_filesize: 2.00 MB
No errors occurred while opening the uploaded file for reading. You should be able to turn off the "Upload In Safe Mode?" option without any adverse effects.
Is there any other setting that I need to check. How do I make the image attachments work in the staging sub domain. Thanks in advance for the response.