Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-22-2009, 02:15 PM
solidlink solidlink is offline
 
Join Date: Jul 2006
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 11-22-2009, 03:17 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

chmod /tmp in your public_html folder to 777
Reply With Quote
  #3  
Old 11-22-2009, 03:48 PM
solidlink solidlink is offline
 
Join Date: Jul 2006
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 11-22-2009, 04:04 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 11-22-2009, 11:36 PM
solidlink solidlink is offline
 
Join Date: Jul 2006
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 11-23-2009, 01:48 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thought there was already a tmp folder?
/home/tmp ??
Reply With Quote
  #7  
Old 11-23-2009, 06:20 AM
solidlink solidlink is offline
 
Join Date: Jul 2006
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 11-23-2009, 10:07 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You storing attachments to the db?
Reply With Quote
  #9  
Old 11-23-2009, 11:27 PM
nuvar nuvar is offline
 
Join Date: Oct 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm... are you saying my configurations for the database is wrong? oops, im using 2 usernames..
Reply With Quote
  #10  
Old 11-24-2009, 06:37 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What exactly are your attachment settings?
AdminCP> Attachments
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:49 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.04250 seconds
  • Memory Usage 2,250KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete