vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   upload of attachment failed (https://vborg.vbsupport.ru/showthread.php?t=257299)

hgb 01-17-2011 07:30 PM

upload of attachment failed
 
good day all,

on the 13th all was ok and has been for 5 years on my site then on the 14th it was down so i had my host fix it, they said it was an permission issue on there side(I haven't touched anything in over 3 years) and not sure what happened on the 14th.

on the 15th a long time user post that he can no longer upload a file of any size and i check and have no issue with a upload and tell him to clear cookies ect. but no good.

a few more long time users also started to post the same and even 1 of my admins cant upload now but alot still can upload with no issues.

my host now tells me that those users prob. dont have upload rights and i need to fix that on my end:rolleyes: tho i haven't changed anything or installed anything in years:confused:

well i did check and everything is ok from what i can tell and no settings within vb have been changed so i disabled all mods and went to a stock skin but still no luck:confused:

I did search here and see the image dir can get chmodded back to 755 at times which mine was:confused: so i changed that to 777 and the 9 sub dirs under it to 777 as well but there are sub dir. within sub dir. and wanted to know if those also need to be changed to 777?

I have tried using a couple of the accounts that no longer can upload and i get the same error (just says upload failed) I also created a new test account that has no problems with uploads??

so far this seems to effect 8-10 users and not just all in 1 user group so got me stumped a bit.


thank you for any help on this issue

kh99 01-17-2011 08:10 PM

Someone else might know exactly what your problem is, but in the mean time - are you talking about uploading attachments? And do you remember exactly what the error message said?

Lynne 01-17-2011 08:12 PM

If your images are stored in the filesystem, then that directory, and all directories in it, must be chmod 777.

hgb 01-18-2011 01:33 AM

Quote:

Originally Posted by Lynne (Post 2150651)
If your images are stored in the filesystem, then that directory, and all directories in it, must be chmod 777.

ok thanks Lynne, I will do that and report back

--------------- Added [DATE]1295371067[/DATE] at [TIME]1295371067[/TIME] ---------------

it seems my host installed suphp and that doesn't support chmod 777?


is there a work around for this or do i now need to move all the attachments into the DB?


thanks

Lynne 01-18-2011 07:28 PM

If you host doesn't allow you to store the attachments in the filestystem, then you will need to store them in the database.


All times are GMT. The time now is 03:05 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.01930 seconds
  • Memory Usage 1,716KB
  • 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
  • (5)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