vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Image Attachments blanks (https://vborg.vbsupport.ru/showthread.php?t=320909)

induslady 11-27-2015 08:33 AM

Image Attachments blanks
 
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 :
Code:

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 :
Code:

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.

Dave 11-27-2015 01:50 PM

When you upload the image, is the server returning a certain error?
Check the PHP error/webserver error logs as well.

induslady 11-27-2015 02:52 PM

Hello Dave,

Checked the error log in the cpanel of my hosting account. And there are no errors reported there.

Stratis 11-27-2015 05:44 PM

Just in case, forgotten tmp folder permissions must be to 777 in ftp :)
or try with other browser


All times are GMT. The time now is 07:05 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
  • Page Generation 0.00985 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete