Lost Password?


Go Back   CodeCall Programming Forum > Community > Community Projects

Community Projects Projects created by members of CodeCall. Post all reviews, bugs and questions in this forum under the correct project thread.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #301 (permalink)  
Old 08-13-2008, 09:36 PM
tuco tuco is offline
Newbie
 
Join Date: Aug 2008
Posts: 1
Rep Power: 0
tuco is on a distinguished road
Default Re: Project: ionFiles - Joomla Simple File Download

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #302 (permalink)  
Old 08-30-2008, 05:24 PM
TheEdge TheEdge is offline
Newbie
 
Join Date: Dec 2007
Posts: 5
Rep Power: 0
TheEdge is on a distinguished road
Default Re: Project: ionFiles - Joomla Simple File Download

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;

}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #303 (permalink)  
Old 08-30-2008, 05:49 PM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,224
Last Blog:
Ext JS or Ext GWT
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Re: Project: ionFiles - Joomla Simple File Download

Can you PM me temp admin details please?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #304 (permalink)  
Old 09-25-2008, 03:28 PM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,224
Last Blog:
Ext JS or Ext GWT
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Re: Project: ionFiles - Joomla Simple File Download

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #305 (permalink)  
Old 10-12-2008, 01:07 PM
devouk devouk is offline
Newbie
 
Join Date: Aug 2008
Posts: 6
Rep Power: 0
devouk is on a distinguished road
Default Re: Project: ionFiles - Joomla Simple File Download

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #306 (permalink)  
Old 10-12-2008, 01:30 PM
Friedel Friedel is offline
Newbie
 
Join Date: Jun 2007
Posts: 16
Rep Power: 6
Friedel is on a distinguished road
Default Re: Project: ionFiles - Joomla Simple File Download

I had this 0 byte error when not locating the file with its full path, e.g.
Code:
/downloads/my_file.ext
You need to locate the file by its full path like
Code:
http://www.my_page.com/downloads/my_file.ext
You might want to check that?!?

Regards,
Friedel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #307 (permalink)  
Old 10-12-2008, 08:35 PM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,224
Last Blog:
Ext JS or Ext GWT
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Re: Project: ionFiles - Joomla Simple File Download

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #308 (permalink)  
Old 10-13-2008, 10:09 AM
devouk devouk is offline
Newbie
 
Join Date: Aug 2008
Posts: 6
Rep Power: 0
devouk is on a distinguished road
Default Re: Project: ionFiles - Joomla Simple File Download

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #309 (permalink)  
Old 10-13-2008, 10:56 AM
devouk devouk is offline
Newbie
 
Join Date: Aug 2008
Posts: 6
Rep Power: 0
devouk is on a distinguished road
Default Re: Project: ionFiles - Joomla Simple File Download

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #310 (permalink)  
Old 10-26-2008, 04:12 PM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,224
Last Blog:
Ext JS or Ext GWT
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Re: Project: ionFiles - Joomla Simple File Download

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

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


All times are GMT -5. The time now is 12:40 PM.

Contest Stats

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

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 98%

Ads