vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Error editing/managing attachment (https://vborg.vbsupport.ru/showthread.php?t=228609)

solidlink 11-22-2009 02:15 PM

Error editing/managing attachment
 
Warning: fopen(/home/whysg/domains/whysg.com/public_html/tmp/vbupload16356) [function.fopen]: failed to open stream: Permission denied in [path]/includes/class_upload.php on line 287

Upload Errors
http://i397.photobucket.com/albums/p...sh/wii2-1.jpg:
Upload failed due to failure writing temporary file.
---------------------------

I got this error. Can someone please help ? I know it has to do with setting a folder writable? However I do not know which folder should I set as writable?

I "duplicated" this site from another VB website (although I have 2 valid licenses) and currently Im trying to get a mod (frontpage slideshow) to work. Can someone please help?Thanks.

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

Warning: move_uploaded_file(/home/whysg/domains/whysg.com/public_html/tmp/5bb8880eea8675aa350ea3b265b74c3f) [function.move-uploaded-file]: failed to open stream: Permission denied in [path]/includes/class_upload.php on line 376

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpKv8xcf' to '/home/whysg/domains/whysg.com/public_html/tmp/5bb8880eea8675aa350ea3b265b74c3f' in [path]/includes/class_upload.php on line 376

--------------------------

I got the above error when I tried to upload a picture from my computer instead of uploading from photobucket.

snakes1100 11-22-2009 03:17 PM

chmod /tmp in your public_html folder to 777

solidlink 11-22-2009 03:48 PM

Yes I know... but this was what happened when i tried to upload pictures after i chmod to 777

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/gavin/domains/wirebooth.com/public_html/forums/attachment/1) is not within the allowed path(s): (/home/whysg/:/tmp:/usr/local/lib/php/) in [path]/includes/functions_file.php on line 60

snakes1100 11-22-2009 04:04 PM

Click the link in my signature related to fixing open_basedir restrictions, leave tmp 777 fro mthis point on.

You also didnt post that error in your 1st post, you should of posted you already tried chmoding it to 777

solidlink 11-22-2009 11:36 PM

actually i duplicated this site from another site. but thats besides the point coz i have 2 licenses. wonder if this is the root of the problem?

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

now i got this error

Warning: fopen() [function.fopen]: open_basedir restriction in effect. File(/home/forums/tmp/vbupload10423) is not within the allowed path(s): (/home/whysg/:/tmp:/usr/local/lib/php/) in [path]/includes/class_upload.php on line 287

Warning: fopen(/home/forums/tmp/vbupload10423) [function.fopen]: failed to open stream: Operation not permitted in [path]/includes/class_upload.php on line 287

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

after changing to the full path i get this

Warning: move_uploaded_file(/domains/whysg.com/public_html/forums/tmp/154a6ad92aa4cf7c37c9d5b4b7a3b631) [function.move-uploaded-file]: failed to open stream: No such file or directory in [path]/includes/class_upload.php on line 376

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpCBqpBK' to '/domains/whysg.com/public_html/forums/tmp/154a6ad92aa4cf7c37c9d5b4b7a3b631' in [path]/includes/class_upload.php on line 376

ChopSuey 11-23-2009 01:48 AM

I thought there was already a tmp folder?
/home/tmp ??

solidlink 11-23-2009 06:20 AM

hmm i still cant fix the problem, got this error

Warning: move_uploaded_file(/domains/whysg.com/public_html/tmp/49eb03865175115a18b0229aa02d9422) [function.move-uploaded-file]: failed to open stream: No such file or directory in [path]/includes/class_upload.php on line 376

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php8fWpWt' to '/domains/whysg.com/public_html/tmp/49eb03865175115a18b0229aa02d9422' in [path]/includes/class_upload.php on line 376

ChopSuey 11-23-2009 10:07 PM

You storing attachments to the db?

nuvar 11-23-2009 11:27 PM

hmm... are you saying my configurations for the database is wrong? oops, im using 2 usernames..

ChopSuey 11-24-2009 06:37 AM

What exactly are your attachment settings?
AdminCP> Attachments


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.01757 seconds
  • Memory Usage 1,737KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete