vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=119041)

AndrewD 10-23-2007 04:03 AM

Quote:

Originally Posted by sduckie2k5 (Post 1366396)
Want to thank you first of all, have been running this for quite sometime and have enjoyed your work.

Secondly, I noticed today when upgrading to 2.2.8 besides the obvious reported bug that if I goto the directory where the downloads reside, I can access it and the index of the downloads publicly, is there anyway I can shut this down, in the event that someone finds out its location, i.e should I chmod it? If so, to what or what might I do that only registered users can gain access, thru the proper channels?

Thanks D*

Several points.

You can place all the LDM files outside the web server directories using the local_file_root and local_file_root_prefix settings. That will completely stop anyone being able to get at the files by guessing the location. This is explained in http://www.eirma.org/wikis/index.php...nd_Server_Load

In addition, you should block your web server from allowing production of directory listings when someone just enters the directory name. An easy way to do this is to put an empty index.html file in that directory. A better way is to tell the server not to provide directory listings. With Apache, you can also configure the server to prevent directory listings, using the Options commands within the httpd.conf file.

AndrewD 10-23-2007 04:05 AM

Quote:

Originally Posted by Nam (Post 1366422)
Andrew, thanks so much for all the help so far, but I have another issue. I keep getting error email about max_user_connections:



So I login my server root and change the my.cnf user_max_connection from 50 to 200. Still, the email error keep coming. You have any idea of what's wrong? I did optimize and everything as you instructed.

Here is my.cnf, just in case you need it:

Nam, I'm sorry, but as I said in an earlier message, I am not an expert on MySQL, so I can't help you with this.

Nam 10-23-2007 04:34 AM

It's no problem Andrew, I thought because the error is point to LDM, you might know something about it. I've bothered you enough :).

sduckie2k5 10-23-2007 09:47 AM

Quote:

Originally Posted by AndrewD (Post 1366471)
Several points.

You can place all the LDM files outside the web server directories using the local_file_root and local_file_root_prefix settings. That will completely stop anyone being able to get at the files by guessing the location. This is explained in http://www.eirma.org/wikis/index.php...nd_Server_Load

In addition, you should block your web server from allowing production of directory listings when someone just enters the directory name. An easy way to do this is to put an empty index.html file in that directory. A better way is to tell the server not to provide directory listings. With Apache, you can also configure the server to prevent directory listings, using the Options commands within the httpd.conf file.

Thank you I will use those ideas! D*

jGas 10-23-2007 04:27 PM

the new version is here...that's great andrew! :)

i use LDM to let my users to upload the songs they make, so' id' like to know is there something like "nominate for mod/entry/song of the month" add-on...

or, a way to know, every, month, which songs are best rated...or which songs posted on a month the users like more...

thanks! ;)

obmob 10-24-2007 02:49 AM

Well, finally I updated one of my sites to 2.2.8, but now i'm having a little problem.

I decided to sort better my folders, so i renamed the one where my downloads are... I renamed it and used xml to import my db.

But now, every time i want to rename the uploads directory, I cant, i get the following error:

Code:

Not valid
upload_dir : /files/uploads
Cannot access/create directory /media/usrupl [/home/server/public/files/uploads]

That folder is there, it has CHMOD 777, but it can't be accessed, i even deleted my htaccess file and tried again, but no luck. O.o

Any thoughts?

Thanks! ^^,

AndrewD 10-24-2007 04:28 AM

Quote:

Originally Posted by obmob (Post 1367183)
Well, finally I updated one of my sites to 2.2.8, but now i'm having a little problem.

I decided to sort better my folders, so i renamed the one where my downloads are... I renamed it and used xml to import my db.

But now, every time i want to rename the uploads directory, I cant, i get the following error:

Code:

Not valid
upload_dir : /files/uploads
Cannot access/create directory /media/usrupl [/home/server/public/files/uploads]

That folder is there, it has CHMOD 777, but it can't be accessed, i even deleted my htaccess file and tried again, but no luck. O.o

Any thoughts?

Thanks! ^^,

I'm surprised by that error - as far as I can tell from the code, it should say Cannot access/create directory /files/uploads [/home/server/public/files/uploads]

try doing it in several steps. clear the upload_dir field and submit. then clear the local_file_root and local_file_root_prefix settings and submit. then reset the local_file_root and local_file_root_prefix settings the way you want them. then reset upload_dir.

Are you sure that your upload_dir is where you think it is, i.e. a subdirectory of /home/server/public?

Alfa1 10-24-2007 08:17 AM

Here are the Dutch phrases for LDM. Please let me know if this is up to your liking.

IrPr 10-24-2007 11:07 AM

Little typo in hooks_ldm.xml, Twice ldm_ repeated
Code:

<hook>ldm_ldm_cache_built</hook>

IrPr 10-24-2007 11:26 AM

Quote:

Originally Posted by Nam (Post 1365984)
I got about 3000 emails like this one. At first I used PHPmyadmin and see the field local_linksdownload is marked as "in use". Then I click the field and select repair. It worked fine. But after an hour later, I got another few hundred emails again, this time the table was fine

It seems like something seriously wrong with my database, you have any idea?

Goto phpMyAdmin -> Show MySQL runtime information/Status or locate phpMA_path/server_status.php manually
look for red values and check their Descriptions, maybe it help u

BTW how many records u've on linksdownload?


All times are GMT. The time now is 01:07 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.02913 seconds
  • Memory Usage 1,752KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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