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)

Digital Jedi 12-11-2008 12:46 PM

Quote:

Originally Posted by tlwwolfseye (Post 1683091)
You?re 100 % sure about that ? Because nothing in the Mod (as i found til now) states that the files for IMPORTING has to be zipped.

If so, wouldn?t the Mod say that at some point when you?re trying to import something ? I just am not sure about that Error. Is anyone around that has first hand knowledge of that and can confirm this ?

I would appreciate any help.

Thank you very much.

Wolfseye

Well, that's just my point. I've not heard of anyone ever trying this. I'm trying to figure how it would handle multiple extension checks and if it's configured to create subfolders in the download folder. In any case, have you made certain that all the files in the directory have allowed extensions? If so, have you tried allowing the file folder extension (I forget what that is off the top of my head).

I'm not saying files have to be zipped, I'm saying that it may not recognize a path to a folder, as this is configured to upload individual files, not the contents of file folders. To get multiple files you'd have to ZIP it, as nothing in the description says it's a multi-uploader.

tlwwolfseye 12-11-2008 01:26 PM

Look, the way i see it is that this IMPORT function is to actually make a list of all files in one folder, that you can then insert each into the Downloads. Its not adding a complete folder but it puts all files into fields so you can easily add them to the Downloads.

Otherwise, how would you actually put in Downloads that you already have on your webspace, since you dont have to upload them again and so. I saw one line of fields and I think if there wouldnt be that error that I posted, it would show the other files also in these fields, in a list down.

I have to make a screenshot from that one line what i saw before the error gets shown. Then i think you know how i mean.

And btw, a Download Script that can add all the files of an entire folder is not uncommon, many can do that actually.

EDIT:

Here is the screenshot of that one line that I see after the error.

https://vborg.vbsupport.ru/

I am sure if it wouldn?t be for the Error, i would see that a lot more often with the files already inserted and I would just have to add them with the IMPORT FILES button. But because of this error it doesn?t work. And yes, I used the right file extensions for these files. But that OPEN BASE DIR function error seems to be server related, but I am just not 100 % sure since i saw this Script the first time today.

Digital Jedi 12-11-2008 01:42 PM

Quote:

Originally Posted by tlwwolfseye (Post 1683127)
Look, the way i see it is that this IMPORT function is to actually make a list of all files in one folder, that you can then insert each into the Downloads. Its not adding a complete folder but it puts all files into fields so you can easily add them to the Downloads.

Otherwise, how would you actually put in Downloads that you already have on your webspace, since you dont have to upload them again and so. I saw one line of fields and I think if there wouldnt be that error that I posted, it would show the other files also in these fields, in a list down.

I have to make a screenshot from that one line what i saw before the error gets shown. Then i think you know how i mean.

And btw, a Download Script that can add all the files of an entire folder is not uncommon, many can do that actually.

EDIT:

Here is the screenshot of that one line that I see after the error.

http://www.postimage.org/aVbHXri.jpg

I am sure if it wouldn?t be for the Error, i would see that a lot more often with the files already inserted and I would just have to add them with the IMPORT FILES button. But because of this error it doesn?t work. And yes, I used the right file extensions for these files. But that OPEN BASE DIR function error seems to be server related, but I am just not 100 % sure since i saw this Script the first time today.

My mistake, from the start, I missed the word "import". I thought you were trying to upload folders form the user end. I completely forgot about the import option in the Admin CP.

If I'm reading your error message correctly, it sounds like your host does not allow scripts to run outside /var/www/vhosts/mydomain.com/httpdocs:/tmp. Have your tried testing a folder with that absolute path?

By the way, your screenshot isn't enlarging.

tlwwolfseye 12-11-2008 01:45 PM

Ok, now we?re getting into something. ;)

Well, my host is in this case myself, its my server. I am not so the expert in things, I get along with most stuff over time. I Just didnt had that before.

Does anyone know how to change that ? I mean, its in the httpd.conf I know, that setting. But I just don?t know 100 % how to change it, to what path. Anyone has maybe experience with that himself, with his own Server ?

Quote:

<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode on
php_admin_value open_basedir "/var/www/vhosts/mydomain.com/httpdocs:/tmp"
Thats btw. whats in my httpd.conf for that vhost I am using on my Server. So to what do I change that properly that i don?t have that problem anymore ?

Digital Jedi 12-11-2008 01:54 PM

I haven't gotten real in depth into that aspect myself, but I believe it all depends on what kind of server your running and what kind of tools you have access to. This has a few options as well as what to do to the httpd.conf file if applicable: http://www.mydigitallife.info/2007/0...-effect-error/

tlwwolfseye 12-11-2008 02:37 PM

I found many topics about that and how to change it, but i just don´t know the main problem about it. To what I change the path that it works without actually deactivating the SAFE-MODE for that Domain which I don´t want to do for security reasons.

My Server runs with Debian 4 and PLESK 8.6 btw. just in case its important for this problem.

Digital Jedi 12-11-2008 10:19 PM

Did this not help any?

Quote:

You can also opt to allow your PHP scripts to access additional directory instead without disabling the protection. Additional directory can be added to the line, separated with color “:”. For example, to add /new_directory to the allow list:

php_admin_value open_basedir “/home/user_account/:/usr/lib/php:/usr/local/lib/php:/tmp”

php_admin_value open_basedir “/home/user_account/:/usr/lib/php:/usr/local/lib/php:/tmp:/new_directory”


tlwwolfseye 12-12-2008 07:50 AM

Ok, i got it solved by temp. disabling the open basedir for this Domain. Now I could finally get to the Import form. I added around 6 files and then pressed on IMPORT and it took almost 10 Minutes for those Files to import. Wow, and I sure don´t run my site on shared hosting, the whole server performance is at my disposal. But I think this took a bit too long for just 6 files, even if they´re all around a couple of 100's MB each.

Anyone noticed that the Import is that slow, does anyone tried it with bigger files ?

tlwwolfseye 12-12-2008 01:50 PM

Would it be possible to change the values of the Rating capability in the Mod ? Currrently its set to values like in school grades.

A
A+
A-
B
B+
B-
C
C+
C-

etc. and i would prefer if it would be possible like

1
2
3
4
5
6
7

which is the usual way of ratings in Download Scripts. That should be changable somewhere, right ?

P.S: Is the guy who made the mod still around ?

Digital Jedi 12-13-2008 02:46 AM

Quote:

Originally Posted by tlwwolfseye (Post 1683702)
Ok, i got it solved by temp. disabling the open basedir for this Domain. Now I could finally get to the Import form. I added around 6 files and then pressed on IMPORT and it took almost 10 Minutes for those Files to import. Wow, and I sure don?t run my site on shared hosting, the whole server performance is at my disposal. But I think this took a bit too long for just 6 files, even if they?re all around a couple of 100's MB each.

Anyone noticed that the Import is that slow, does anyone tried it with bigger files ?

Hrm, I've not noticed any slowdown when doing a large import. The couple I've tried anyway.

Quote:

Originally Posted by tlwwolfseye (Post 1683826)
Would it be possible to change the values of the Rating capability in the Mod ? Currrently its set to values like in school grades.

A
A+
A-
B
B+
B-
C
C+
C-

etc. and i would prefer if it would be possible like

1
2
3
4
5
6
7


which is the usual way of ratings in Download Scripts. That should be changable somewhere, right ?

P.S: Is the guy who made the mod still around ?

Dang, I can't get my forum open at the moment. I'm thinking it would be as simple as a template edit.

I believe he said a while back that he was working on an update. Usually that means you won't hear from them for a while until the update is finished.


All times are GMT. The time now is 02:24 AM.

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.03477 seconds
  • Memory Usage 1,760KB
  • 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
  • (6)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