vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Attachments in the filesystem - Unable to write (https://vborg.vbsupport.ru/showthread.php?t=253607)

MrEyes 11-13-2010 12:20 PM

Attachments in the filesystem - Unable to write
 
I have just migrated my site from a Windows server to a CentOS server.

When I attempt to set the attachment storage location I get the following error:

Quote:

We attempted to write a test file to /path/to/my/attachments/directory, but we were unsuccessful. Please verify that the web server has write/delete permissions for this path.
A couple of relevant things:
  • This directory is chmod'd to 777 (drwxrwxrwx 12 siteusername psacln 122 Nov 13 10:10 forumattachments)
  • PHP runs in safe mode but safe mode uploads to /tmp are enabled in ACP
  • /tmp is chmod to 777 (drwxrwxrwt 3 root root 120 Nov 13 05:11 tmp)
  • This is a dedicated server
  • I get the same error on all the other storage locations so i assume this is a server/config issue

So anybody got any ideas on what to check next?

EDIT: The server is allowing uploads as I have the DownloadsII mod installed and this is working fine
EDIT: Also getting this "Failed to write css files. Please make sure that the directory 'clientscript/vbulletin_css' is writable.Done." when attempting to save CSS with store in filesystem enabled - It seems that it is possible to create directories but not files

Lynne 11-13-2010 02:45 PM

If you are running in safe_mode, then you may not store attachments or css in the file system.

MrEyes 11-13-2010 09:31 PM

Ahhh, this is something I was not aware of

ihstiv 03-24-2011 09:06 PM

I am getting this error as well, I checked and my server does not have PHP in safe_mode. All directories are 777 - anything else I can check?


All times are GMT. The time now is 03:35 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.01806 seconds
  • Memory Usage 1,713KB
  • 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
  • (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