vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - DownloadsII (https://vborg.vbsupport.ru/showthread.php?t=120122)

carpzone 02-07-2007 11:27 AM

Quote:

Originally Posted by blind-eddie (Post 1176713)
check your path for the download,

All my files are under the downloads map but the error shows that he takes the file from
ec_tmp with tripple slash ??

There are no files stored under the map ec_tmp

My path to the downloads is ./downloads/

blind-eddie 02-07-2007 11:40 AM

change path & see what you get.

carpzone 02-07-2007 11:56 AM

Quote:

Originally Posted by blind-eddie (Post 1176727)
change path & see what you get.


When i change it

I get the following message :

The download directory do not exist

carpzone 02-07-2007 12:03 PM

Ok it works now,

I had to put a index.htm file into the ec_tmp folder

Because after chmod the ec_tmp to 777 , it always switched back to 755
Now the problem is solved.

Tnx for additional help !

GH84 02-08-2007 09:21 AM

Quote:

Originally Posted by CyberRanger (Post 1175434)
For me, January = crappy month for coding due to a bunch of R/L BS. I'll try to catch-up with Jelle on IM this week and see where he stands.

:(

Thanks :)

Stifmeister2 02-08-2007 04:00 PM

Quote:

Originally Posted by carpzone (Post 1176741)
Ok it works now,

I had to put a index.htm file into the ec_tmp folder

Because after chmod the ec_tmp to 777 , it always switched back to 755
Now the problem is solved.

Tnx for additional help !

That didn't help me. :( I still have this error:

Code:

Warning: copy() has been disabled for security reasons in /downloads.php on line 690
ERROR: File not found.

./downloads/ and ./ec_tmp/ folder are both chmod 777.

Linked downloads work fine. I have this problem only with uploaded downloads.

EDIT: I took a look at our PHP info and it says
disable_functions: system, exec, shell_exec, passthru, shell, show_source, copy, proc_open, symlink, popen

Maybe that has something to do with it?

CyberRanger 02-09-2007 12:08 PM

Quote:

Originally Posted by Stifmeister2 (Post 1177641)
That didn't help me. :( I still have this error:

Code:

Warning: copy() has been disabled for security reasons in /downloads.php on line 690
ERROR: File not found.

./downloads/ and ./ec_tmp/ folder are both chmod 777.

Linked downloads work fine. I have this problem only with uploaded downloads.

EDIT: I took a look at our PHP info and it says
disable_functions: system, exec, shell_exec, passthru, shell, show_source, copy, proc_open, symlink, popen

Maybe that has something to do with it?

Yes, I believe that is exactly your problem. Also, if you have command line access, change the owner of the downloads.php script to be the same as the owner of ec_tmp folder.

Stifmeister2 02-09-2007 02:28 PM

Quote:

Originally Posted by CyberRanger (Post 1178317)
Yes, I believe that is exactly your problem. Also, if you have command line access, change the owner of the downloads.php script to be the same as the owner of ec_tmp folder.

How can I do that? Is it possible to do with ftp programs?

CyberRanger 02-09-2007 02:30 PM

Quote:

Originally Posted by Stifmeister2 (Post 1178405)
How can I do that? Is it possible to do with ftp programs?

No, you can't do that with an ftp program. You'll need shell access or else you'll need to have your host do it. But, I think you need "copy" removed from the disabled_functions. Your host will need to do that unless you can edit php.ini yourself.

Staxed 02-09-2007 02:32 PM

Cyb, I have a very large idea for this mod....i was going to post it in the paid requests forum...but thought i'd ask if you wanted to do it yourself and release it for everyone before i went the other route...

mind if I send you a PM?


All times are GMT. The time now is 11:47 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.04313 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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