vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   not write temporary file (https://vborg.vbsupport.ru/showthread.php?t=201102)

tarzan22 01-08-2009 08:23 PM

not write temporary file
 
Hello, please, if some try to put your user avatar told they can not write temporary file, I looked and I see all permits that have allowed the vicissitudes and vagaries of public_html folder has permissions 777.

How can that be?

thanks in advance

Lynne 01-08-2009 08:31 PM

Do a test upload - admin cp > maintenance > diagnostics > upload and see what it says about your upload tmp dir. Your host may have to set one for you.

tarzan22 01-08-2009 08:36 PM

It gives me no problems for the rise:

file_uploads: Activated
open_basedir: / var / www / vhosts / foroxd.com / httpdocs: / tmp
safe_mode: Enabled
upload_tmp_dir: None
upload_max_filesize: 2.00 MB (megabytes)

No errors occurred while opening the uploaded file for reading. You should be able to disable the option "Up in Safe Mode? without any adverse effect.

Lynne 01-08-2009 08:56 PM

Do you have problems uploading an avatar? Try the different methods you offer and different sizes for a test and see if you can produce the same error.

tarzan22 01-08-2009 09:05 PM

I did several tests, including upload from admincp and I said:

There was an error with your load:

* Unable to move / copy the file

Lynne 01-08-2009 09:09 PM

Do you store the avatars in the file system? Is the folder chmod to 777?

tarzan22 01-08-2009 09:13 PM

If you have chmod 777, is very rare.

thanks for help

Lynne 01-08-2009 09:30 PM

The only folders you should have chmod 777 are the ones vbulletin tells you to chmod to 777 and this is one of those cases. From the help button in the Avatars area in the admin cp:

Quote:

If you are moving images into the file system, you will need to create a directory within your forums folder (/images/customavatars is a good one) for their storage. Unlike when you are storing attachments in the file system, this folder must be accessible from the web (usually CHMOD 777).

Marco van Herwaarden 01-09-2009 08:05 AM

Please consult with your host if you need to set a upload_tmp_dir

tarzan22 01-09-2009 05:07 PM

Fixed, perfect.

thank you very much and a cordial greeting


All times are GMT. The time now is 02:36 AM.

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.02575 seconds
  • Memory Usage 1,731KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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