News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Download System

Started by SMFHacks.com Team, October 31, 2007, 06:55:37 PM

Previous topic - Next topic

Arash.Goodarzi

#420
Modified

heg0b00

Hi, i have a problem with the script.

After installing it and working perfectly (at first glance) ie . ..

I can edit permissions, add downloads etc etc. Just the problems start when i want to :

"Delete" downloads or
"Download" downloads

Then i get the following error messages from my browser with the urls as listed :

Dowloading a dowload :
Url : http://www.mysite.com/forum/index.php?action=downloads;sa=view;id=3

error message :
The website is unable to display the webpage  HTTP 501/HTTP 505 
   What you can try:
     Go back to the previous page.

     More information

This error (HTTP 501 Not Implemented or HTTP 505 Version Not Supported) means that the website you are visiting doesn't currently have the ability to display the webpage, or support the HTTP version used to request the page.

For more information about HTTP errors, see Help.



Editing downloads gives the same error message, but ofcourse with a diffrent url :)

Any idea's ?

heg0b00

#422
I do know that recently my host upgraded from php 4 to php 5 and my first thought is that they might have disabled a function in the php.ini that this script needs.

As a note, i have the same problem with the Rss feed poster. So i do not think its script related, unless it doesnt work on php 5 :)


My host did edit the following in the php.ini

- session.auto_start (not activated)
- magic_quotes_gpc (activated)
- safe_mode (not activated, suPHP active)

I would love a heads up about this.

heg0b00

I think it might have to do with the session autostart and the scripting .. but .. i am sort of lost after that :)

heg0b00

The problem is in download.php script in the forum/sources folder.

The following functions give the above error :


'delete' => 'DeleteDownload',
'delete2' => 'DeleteDownload2',
'edit' => 'EditDownload',
'edit2' => 'EditDownload2',
'downfile' => 'DownloadFile2',


The other functions work.

(ps i had to rename function downloadfile to downloadfile2 due to a conflict with itemstats)

coris

How can I reorder the downloads by the Title in order from A to Z. Thanks.

jonde99

DownloadFile() was already declared by another mod of mine (wowitemstats) so I had to alter Downloads.php.

In Downlaods.php
Find:

                'downfile' => 'DownloadFile',

Replace with:

                'downfile' => 'DownloadFile1',

Find:

function DownloadFile()

Replace with:

function DownloadFile1()



vbgamer45

Quote from: jonde99 on September 16, 2008, 10:12:02 AM
DownloadFile() was already declared by another mod of mine (wowitemstats) so I had to alter Downloads.php.

In Downlaods.php
Find:

                'downfile' => 'DownloadFile',

Replace with:

                'downfile' => 'DownloadFile1',

Find:

function DownloadFile()

Replace with:

function DownloadFile1()



Thanks will fix that in the next update.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

virtualxtc

Will compatiblitiy with SMF V2.0 Beta 4 been added in the near future?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

virtualxtc


vortodox

hi!
I'm using this mode and TP, and I was woundering is it posibl to make a block only with recently added downloads for TP?
www.bg-anime.com [nofollow]


kenji

#433
I had been using an earlier vers. of Downloads System...which I uninstalled when I upgraded smf to 1.16....reinstalled Download System 1.0.4 but in the menu bar I have 2 'Downloads' buttons....how can I get rid of the extra button?


hmmm....now I have uninstalled the mod...and deleted the zip from the 'packages' directory...but I still have 1 Download button on the menu bar O_o


vbgamer45

Quote from: kenji on September 21, 2008, 01:05:12 AM
I had been using an earlier vers. of Downloads System...which I uninstalled when I upgraded smf to 1.16....reinstalled Download System 1.0.4 but in the menu bar I have 2 'Downloads' buttons....how can I get rid of the extra button?


hmmm....now I have uninstalled the mod...and deleted the zip from the 'packages' directory...but I still have 1 Download button on the menu bar O_o


You can delete the download button from the index.template.php of the default theme. Search for downloads and delete the related code.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

kenji

 ;D Thanks so much for your help!  It worked,  and so easy!  Thank you.

vbgamer45

Major Update for SMF 1.1.x

1.1
+New updated interface.
+Uses SMF's built in paging function
!Fixed bug with blocks shown item's that the user does not have access to.
+Added unlimited level deep link tree
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro


CanadianIce

We just installed your latest version of this mod, and it looks awesome but (don't you hate that word ;) ) when we click the links for the download, it can't seem to find the file and we get a page that says "No download selected"

This is what shows up in the forum error log....
Quotehttp://******.net/forum/index.php?action=downloads;sa=view;down=3 
No download selected.
Quote8: Undefined index: id
File: /home/httpd/vhosts/******.net/httpdocs/forum/Sources/Downloads.php
Line: 1060

I'm at a loss on what is going wrong and sure would like to get it working, as this seems like an awesome feature!

Sakae

Hi. I installed fine this mod on my SMF 1.1.6, but it ain't working.

When I add a download, it uploads fine and stuff, but when I try to view the download, I see everything BUT THE FILE.

See it for yourself: http://www.tigrelog.com.br/index.php?action=downloads;cat=2    

Here is my error log:

Quotef4a2c610f8a84591c7cb8d03d00aed56
http://www.tigrelog.com.br/index.php?action=downloads;sa=view;down=1
No download selected.

4a2c610f8a84591c7cb8d03d00aed56
http://www.tigrelog.com.br/index.php?action=downloads;sa=view;down=1
8: Undefined index: id
Arquivo: /home/tigrelog/public_html/Sources/Downloads.php
Linha: 1060
http://www.tigrelog.com.br
l: simple p: machines

Advertisement: