|
||||||
| Community Projects Projects created by members of CodeCall. Post all reviews, bugs and questions in this forum under the correct project thread. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Installed ionfile and it works well except the only users who can see the download files are author and higher. Registered and general public can't see the download page.
Is that how it's supposed to be? I would have thought at least registered could see the download page. PS - Never mind, I found the problem. One of the accesses was set to 'special' from when I was testing it. Last edited by tuco; 08-13-2008 at 09:59 PM. |
|
|||
|
I'm already using ionFiles for Joomla 1.0.x and I wanted to install it on my new site. But I always get this message in the backend
Fatal error: Cannot redeclare getparams() (previously declared in /www/htdocs/v0*****/j15t/administrator/components/com_smf/helper.php:26) in /www/htdocs/v0*****/j15t/administrator/components/com_ionfiles/admin.ionfiles.php on line 1356 This is the code from line 1331 to 1356 Code:
/***************************************************************
// Joomla 1.5/1.0 DB switch for get Params
***************************************************************/
function GetParams($method = "POST", $field, $default = "", $params = "", $type = "") {
if (defined ( '_JEXEC' )) {
// Change the type from old to new
if ($params == "_MOS_ALLOWHTML") {
$params = JREQUEST_ALLOWHTML;
}
if ($params) {
$variable = JRequest::getVar ( $field, $default, $method, $type, $params );
} else {
$variable = JRequest::getVar ( $field );
}
} else {
if ($method == "POST") {
$variable = mosGetParam ( $_REQUEST, $field, $default, $params );
} else {
$variable = mosGetParam ( $_REQUEST, $field, $default, $params );
}
}
return $variable;
}
|
|
|||||
|
ionFiles 4.4.2 has been released! This is a minor release that fixes and issue with SMF Bridge. If you have any suggestions for feature enhancements please let us know.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! |
|
|||
|
hi there
I am joomla novice and setting up a website for a friend... I have installed the ionfiles and set up a test menu for it to work. I have tried to point it at a jpg file which are downloadable wallpapers, i can click the link it goes to save as, then when i go save it saves a 0 byte file what is wrong ... is it me.. is a host problem or is it a bug many thanks |
| Sponsored Links |
|
|
|
|||
|
I had this 0 byte error when not locating the file with its full path, e.g.
Code:
/downloads/my_file.ext Code:
http://www.my_page.com/downloads/my_file.ext Regards, Friedel |
|
|||||
|
If your homepage it set correctly by Joomla! it should simply append that. IE: /downloads/my_file.txt becomes /home/yourname/www/downloads/my_file.txt and it seems to work on most installations. What version of Joomla! are you using?
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! |
|
|||
|
i am currently using joomla 1.5.7
i did use full path originally on the download. and when i copy and pasted the absolute link in to a browser the item displayed... but considering what jordan was saying is it because it will be adding the site name again so www . jangosplay.co.uk/stories/images/jangos/wallpaper.jpg for example is getting converted in to a www . jangosplay.co.uk/www . jangosplay.co.uk/stories/images/jangos/wallpaper.jpg link when downloading also can some one advise about the application url.. i wasnt too sure if i should put something in that. is there a way to see the debug of the link of the download from the script ? or is it more trial and error and learn from the working link thanks |
|
|||
|
just with regards to jordan last post about using relative address of items.. i did this and viola it works...
so i would say defineatly work with relative url from the point realtive url provides the following link from firefoxs download module h**p://w*w.jangosplay.co.uk//components/com_ionfiles/download.php?file=/home/sites/jangosplay.co.uk/public_html//images/stories/jangos/jangoswallpaper.jpg&download=1 absolute url provides the following link from firefoxs download module h**p://jangosplay.co.uk//components/com_ionfiles/download.php?file=h**p://w*w.jangosplay.co.uk/images/stories/jangos/jangoswallpaper.jpg&download=1 from this it looks like because my host is a virtual space, with access to a higher area (private) above the public web area, i presume when you use a joomla api call it see the full site url and thus sends it a bit of a wobbler dont know if this is an issue.. as there is work around with a bit of messaging and hopefully searching on here... the only question i have is where there is // ... will this ever be an issue ... i presume todays browsers are clever enough to work out what it is.. or does a cancel out of the spurious 2nd / comments are welcomed as knowledge is power also thanks for the help and a great plugin which solved a issue for me.. so i am much appreciated for all the time spent on it |
|
|||||
|
Updated by TkTech.
It is highly recommended that you install this update. It fixes a security issue with the old (obsolete) download.php file.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! |
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Project: ionFiles - Joomla Simple File Download - Mirror 2 | Jordan | ionFiles | 6 | 11-06-2008 01:24 PM |
| Download a file | Lop | PHP Forum | 14 | 05-16-2008 01:07 PM |
| Project for a simple password cracker | waf | Visual Basic Programming | 2 | 03-22-2007 05:19 PM |
| How do I let people download a file from my page? | littlefranciscan | HTML Programming | 6 | 01-29-2007 12:57 AM |
| Easy way to download a file | Saint | Managed C++ | 5 | 09-11-2006 03:13 PM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |
Goal: 100,000 Posts
Complete: 98%