vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [ Audio / Visual ] - VB Mega Jukebox - Now with permissions to save bandwith (https://vborg.vbsupport.ru/showthread.php?t=74170)

spence2 02-05-2005 08:10 AM

Trafix,

Having open_basedir restriction in effect problem ... please see post #255 ... thanks.

trafix 02-05-2005 08:46 AM

Quote:

Originally Posted by spence2
I'm getting this error in user upload:

Warning: copy(): open_basedir restriction in effect. File(/var/tmp/phpVgCnlX) is not within the allowed path(s): (/usr/home/xxx/:/usr/lib/php:/usr/local/lib/php:/tmp) in /vb_jukebox.php on line 144

Fatal error: Call to undefined function: print_stop_message() in /usr/home/xxx/public_html/forum/vb_jukebox.php on line 148


I have created a folder for uploads, entered in name the Jukebox Admin & chmod'ed folder permissions to 777


My vB configuration is running in Safe Upload mode
with this path to my temp uploads file:
/usr/home/xxx/public_html/forum/tmp

BTW, manual entry works fine.

Any ideas how to fix so that my users can upload successfully?

Thanks for your support.

you you can upload in the admin area but not the user end

spence2 02-05-2005 10:02 AM

Quote:

you you can upload in the admin area but not the user end
Thank you for your reply.

Are you re-confirming my problem?

OR are you stating that there is no way around this problem to allow user uploads?

trafix 02-05-2005 10:28 AM

hmmm, im trying to assertain more information ;)

Have you tried just putting "tmp" in the media folder field in the admin options?

As the script will use this in the relative path

spence2 02-05-2005 10:34 AM

Yes, I tried "tmp" and "/tmp" and "./tmp".
No go, I'm afraid.

trafix 02-05-2005 10:40 AM

have you done a test out of safe mode?

spence2 02-05-2005 10:52 AM

Quote:

Originally Posted by trafix
have you done a test out of safe mode?

Okay, now here is where we hit a brick wall because of my ignorance!

I installed Jukebox and noticed that I was getting the restriction error. Because my board is not yet ready for prime time, I had never tried to upload an avatar either. I tried to do so and discovered I received the restriction error there as well.

So, I inquired at vB.com and was told I needed to set Safe Mode in vB and set the path to my "tmp" directory as stated above.

When I did so, I found I could upload avatars, but still not a file via the Jukebox.

So, originally, when I discovered the restriction in Jukebox I was not running in Safe Mode ... and now that I am, I still receive the error. If there is something that you would like for me to ammend now in order to check my installation, you will have to tell me "Hey, do this..." with instructions on precisely how to do it ...

Obviously, I only "know enough to be dangerous". :ermm:

trafix 02-05-2005 07:30 PM

OK im confused ...... the jukebox uses the same uploader as the avatars etc.

To comfirm: ... your whole instilation is working except you cant upload songs from the user end.

Talking out loud:... Why does it restrict browser uploading in the user end but not in the admincp?

spence2 02-06-2005 01:08 AM

Yes. My install works fine if I do manual entries. Only the user upload results in the restriction error.

I double-checked my user permissions and they are set to allow uploads.

On a whim of desperation, I even tried entering the name of my avatar upload folder "customavatars" but still got the restriction error.

I dunno, Trafix. I thank you for your support. I'd hate to uninstall because it's a great hack, but I'm stumped!

trafix 02-06-2005 01:16 AM

before we do anything rash ;)

can you PM a test login and link to your forum


All times are GMT. The time now is 05:34 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.01386 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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