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 04-26-2007 01:55 PM

Quote:

Originally Posted by Ophelia (Post 1235816)
Hello Andrew.

We moved to a new server yesterday, and now all the thumbs are no longer working.

In shell I went and typed in chmod -R 777 thumbs

This set the directory in forum/thumbs where our thumbs are stored to 777.

I also 777'ed team uploads

I verified that they are indeed 777.

I then went in to settings to make sure everything was the same there.

upload_dir
/forum/teamuploads
thumbs_dir
/forum/thumbs/
file_icons_dir

This is all correct.

I then went in and reset the thumbnails.

Nothing.

I even cleared my cache :lol to make sure it wasn't that.

Any ideas on what I'm doing wrong?

I took a look at your site and can't see anything obvious. Pls can you upgrade AndrewD's account so that I can get at the LDM admin page and your main admincp page (I need the maintenance section).

Ophelia 04-26-2007 02:01 PM

Andrew, you have access now through the AndrewD account. Thank you!!

AndrewD 04-26-2007 02:39 PM

Quote:

Originally Posted by Ophelia (Post 1235844)
Andrew, you have access now through the AndrewD account. Thank you!!

Your new server doesn't have the php GD2 library installed. So LDM is creating null images.

Ophelia 04-26-2007 02:54 PM

Thank you Andrew, just put a ticket in to get it installed.

Ophelia 04-26-2007 03:41 PM

We're good to go now Andrew! Thank you for your help!!

aryapsh 04-26-2007 04:26 PM

I've checked the file, as I use the link directly in my navegation it works but when I enter them into the download center I recieved a message says : "Link check failed. For a url pointing to a remote site, this may not be a cause for concern, as not all sites reply to the check. For a local file, something is wrong." and I can't download the file

AndrewD 04-26-2007 04:35 PM

Quote:

Originally Posted by aryapsh (Post 1235923)
I've checked the file, as I use the link directly in my navegation it works but when I enter them into the download center I recieved a message says : "Link check failed. For a url pointing to a remote site, this may not be a cause for concern, as not all sites reply to the check. For a local file, something is wrong." and I can't download the file

Do you want to send me a PM with the full url to this file?

aryapsh 04-26-2007 04:45 PM

Quote:

Originally Posted by AndrewD (Post 1235929)
Do you want to send me a PM with the full url to this file?

yes sure

aryapsh 04-26-2007 04:59 PM

i have sent you

AndrewD 04-26-2007 05:38 PM

Quote:

Originally Posted by Poag (Post 1234629)
Hi Andrew, the reason I have to run them on seperate ports is down to user load, whena file goes up there are generally 100s of downloads started straight away and these continue for some hours before dieing down to a few per hour.

The problem I have is not bandwidth, but instead memory, to prevent the machine from disk caching I used lighttpd for downloads [it doesn't spawn extra servers] but has less functionality, and apache for web pages.


Thus what I would like is for client to upload to say http://www.example.net/downloads [/home/bob/downloads] but there download to be served from http://www.example.net:81/downloads [/home/bob/downloads]

What I am looking for LDM to do is automatically add the :81 into the download url so they are served from the correct process, instead of having to edit them by hand after using the built in file uploader you have supplied.


So we are using the same physical machine, same file system, simply a seperate process ona different port to serve the files. Keeping downloads and webpages seperate as much as I can :)

I hope this clears up what I am trying to do :)

I am sorry for not responding sooner, work has had me tied up recently.

Thanks

-Alex


Alex, you should be able to do this with LDM's pseudo 'mod_rewrite', see http://www.eirma.org/wikis/index.php/Hacking_LDM

LDM has a feature which does simple rewrites on urls at the very last stage before attempting to deliver them. If you combine this with setting force_redirect to 1, then you should be able to get LDM to manage the upload and have lighttpd handle the download.

Try creating a rewrite.txt file something like the following (change to match your site)

RewriteRule /downloads http://www.example.net:81/downloads

Upload it onto your site and use ldm/admin/settings to point mod_rewrite at it.


All times are GMT. The time now is 10:45 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.03529 seconds
  • Memory Usage 1,746KB
  • 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
  • (5)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