![]() |
I understood the error and came to the same conclusion. IT could not delete what was not there. Just bringing it up.
Perhaps the off-site linking can be solved by only looking for the extension of what follows the last slash in the URL... lol ... Oh, yeah ... I only link with permission! Thanks for looking into it! |
OFFSITE LINK FIX
Find in dl_add.php (45) and dl_edit.php (38): Code:
if ($_FILES['upload']['name'] != '') Code:
if ($_FILES['upload']['name'] != '') Find in dl_manage.php (139): Code:
$url = $DB_site->query_result("SELECT url FROM " . TABLE_PREFIX . "file_files WHERE id='".$_GET['id']."'"); Code:
$file = $DB_site->query_first("SELECT * FROM " . TABLE_PREFIX . "file_files WHERE id='".$_GET['id']."'"); Code:
foreach($_POST['id'] as $id => $value) { Code:
foreach($_POST['id'] as $id => $value) { |
i still have problems with it...i still have to go in to ftp...change the filename to whatever it changes it to...then i also have to upload the file because it doesnt upload the file anywhere
|
Quote:
You might want to check some of your server settings and chmod the directory you upload to correctly. Good luck :) |
No matter what I try it will not order my categories via what I put into the admincp Categories section... It is inseting it into the database but it is not sorting by what is in the database. Can anyone else confirm this?
|
I tried this but I still can't link urls, only works when I put in local "/directory/filename"...
But! I can upload files when they have no characters like "-" or "." in the filename... At least it starts to be funcionnal to me! Thanks Quote:
|
what happens is that i click upload...everything works fine from what it looks like....it says file was uploaded...but then when u go to click on download file there is no file there...brings u to the error page...so then i go in...manually upload it through ftp...rename it to the name it gave me and then it works...but i would like it so that everybody can upload files not just me because i have ftp
|
Minor modification request:
When clicking on the download button, can you make it so it opens the link in a new window? Sounds trivial I know, but I am linking to other posts where the author does not mind downloading, but because it is a beta release he does not want it mirrored yet. As it stands, when I link to a forum post, it is leaving my site. This could also benefit other unknown situations too where you may end up leaving the site by clicking on the download link. I am going to make the change on my site as it is really simple, but thought I would share. The change I made: In includes/dl_file.php (around line 123) change: Code:
$download = '<a href="./downloads.php?do=file&id='.$file['id'].'&act=down">Download Here</a>'; Code:
$download = '<a href="./downloads.php?do=file&id='.$file['id'].'&act=down" target="File'.$file['id'].'">Download Here</a>'; |
What are the upload limits and how do you increase it?
Laters |
uploads via http/php are limited by 2 settings in your php.ini file (assuming UNIX, I'm sure its the same in Windoze though). By default, max_post_size and max_upload_size are 2M. Increase them to a value you want but also realize that this consumes extra memory and *could* later be used for some random exploit or DoS. None exist that I know of that affect the current versions but potentially someone could attempt to repeatedly post 8MB strings and chew up all your available RAM and swap a lot faster since they use 8MB blocks.
but again, no such evil exists...today. |
All times are GMT. The time now is 01:29 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|