Jump to content

No download but error

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
11 replies to this topic

#1
Jeroen66

Jeroen66

    Newbie

  • Members
  • Pip
  • 5 posts
Hi I tried ionfiles 2.0.

This is the error I got:

Warning: parse_url() expects exactly 1 parameter, 2 given in /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php on line 159

Warning: Cannot modify header information - headers already sent by (output started at /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php:159) in /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php on line 62

Warning: Cannot modify header information - headers already sent by (output started at /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php:159) in /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php on line 63

Warning: Cannot modify header information - headers already sent by (output started at /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php:159) in /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php on line 64

Warning: Cannot modify header information - headers already sent by (output started at /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php:159) in /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php on line 65

Warning: Cannot modify header information - headers already sent by (output started at /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php:159) in /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php on line 66

Warning: Cannot modify header information - headers already sent by (output started at /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php:159) in /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php on line 67

Warning: Cannot modify header information - headers already sent by (output started at /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php:159) in /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php on line 68

Warning: Cannot modify header information - headers already sent by (output started at /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php:159) in /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php on line 69

Warning: Cannot modify header information - headers already sent by (output started at /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php:159) in /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php on line 70

Warning: Cannot modify header information - headers already sent by (output started at /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php:159) in /srv/akiwebmr/www/www.aki-lens.nl/components/com_ionfiles/download.php on line 71


Anybody knows what to do?

Also in manage files, you don't see the categories you creaded but 0
If you created 3 categories you see three times 0

Please advise,
Jeroen

#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
What version of PHP are you using? If you check php.net you can see where the function takes two parameters so I'm assuming you are running a very old version?

http://www.php.net/parse_url

#3
Jeroen66

Jeroen66

    Newbie

  • Members
  • Pip
  • 5 posts
Version 4.4.2 is that to old? Joomla! 1.0.10 Stable

Jeroen

#4
v0id

v0id

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,936 posts

Jeroen66 said:

Version 4.4.2 is that to old? Joomla! 1.0.10 Stable
You minimum have to update to 5.1.2.
The second parameter was first added in that version.

#5
Jeroen66

Jeroen66

    Newbie

  • Members
  • Pip
  • 5 posts
So php5? I didn't know that. Is that no problem for running Joomla 10.12 and components like Joomlaboard, Group Access and JcalPro?

Jeroen

#6
v0id

v0id

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,936 posts
I don't know about Joomla! and Joomla!board, but ionFiles requires, because the code uses the parse_url with two arguments, and it was first in PHP 5.2.1 the second argument was added.

#7
Lop

Lop

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,172 posts
Or you could just turn off error display.

#8
Jeroen66

Jeroen66

    Newbie

  • Members
  • Pip
  • 5 posts
I understand but why is ionfiles made in php5 as most Joomla comonents are php4?
Have a look at RSfiles for Joomla I think I'm choosing that for downloads. Sorry.
Jeroen

#9
Guest_Jordan_*

Guest_Jordan_*
  • Guests

Jeroen66 said:

Version 4.4.2 is that to old? Joomla! 1.0.10 Stable

Jeroen

That is fine and even what I used here to develop this product.

#10
Guest_Jordan_*

Guest_Jordan_*
  • Guests

v0id said:

I don't know about Joomla! and Joomla!board, but ionFiles requires, because the code uses the parse_url with two arguments, and it was first in PHP 5.2.1 the second argument was added.

You are right, I must have missed this somehow. I need to change this for php 4 support - thanks.

#11
Guest_Jordan_*

Guest_Jordan_*
  • Guests

Jeroen66 said:

I understand but why is ionfiles made in php5 as most Joomla comonents are php4?
Have a look at RSfiles for Joomla I think I'm choosing that for downloads. Sorry.
Jeroen

That is a nice looking download component. Good luck and thank you for the bug report.

#12
meimei3936

meimei3936

    Newbie

  • Members
  • Pip
  • 6 posts
hello,

i have met exactly the same errors as you, please tell me how you solve that problem? I do not know how to fill out the blanks in the ionFiles-->Manage Caterigories page and also ionFiles-->Manage Files Page....., i do not know where to put the download files and also how to fill in the URL blanks....please help me with that. Thanks.