vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to make Attachments upload to my ftp ? (https://vborg.vbsupport.ru/showthread.php?t=146859)

69lakalle 05-09-2007 08:53 PM

How to make Attachments upload to my ftp ?
 
i see that when i upload an attachment it goes to my database .. how do i make it go to a folder in my ftp ?

HMBeaty 05-09-2007 08:57 PM

Go to your admincp > attachments > attachment storage type

69lakalle 05-09-2007 09:10 PM

Your server has PHP's SAFE_MODE enabled. You can not move attachments to files while SAFE_MODE is enabled. Please contact your host and ask them to consider disabling it if you wish to use the file system for attachments.


whats is that ?????

HMBeaty 05-09-2007 10:13 PM

It's exactly what it says. Therefore.....
Quote:

Originally Posted by 69lakalle (Post 1244591)
Please contact your host and ask them to consider disabling it if you wish to use the file system for attachments.


MrPHD 05-10-2007 09:01 AM

Hi ppl, if your Host running on Safe mode, note is not by default for many hosting companys, you can disabaled on your Admincp or you create on attachments folder one folder name "ec_tmp" and give permissions or chmod 777. Have a nice day. regards

69lakalle 05-14-2007 09:15 PM

Quote:

you create on attachments folder one folder name "ec_tmp" and give permissions or chmod 777
Thank you for your answer
hows that ?
please tell me

Guest210212002 05-15-2007 02:14 AM

I'm not 100% sure it will work, but you can disable safe mode in PHP per directory with .htaccess.

Just create a file called .htaccess with:

Code:

php_value safe_mode "1"
As the contents, and upload it to your /attach directory.


All times are GMT. The time now is 01:11 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.01095 seconds
  • Memory Usage 1,721KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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