Page 1 of 1
[plugin downloadmanager] error message in admin interface
Posted: Sun Aug 06, 2006 11:03 pm
by melesigene
Hi,
just installed the plugin "download manager" but I can't use it :
I got this after installing when I went to the admin interface to configure new categories for the download manager:
Code: Select all
Warning: Invalid argument supplied for foreach() in /www/plugins/serendipity_event_downloadmanager/serendipity_event_downloadmanager.php on line 1791
I can't figure what it can came from ?
can you help me with this ?
thanks
Re: [plugin downloadmanager] error message in admin interfac
Posted: Mon Aug 07, 2006 10:14 am
by garvinhicking
Hi!
Which version of the downloadmanager plugin are you using? In the recent version, in line 1791 there is no "foreach"...?
Where did you download the plugin from?
Best regards,
Garvin
Posted: Tue Aug 08, 2006 4:07 pm
by melesigene
Hi Garvin,
the version is serendipity_event_downloadmanager-0.7.zip
I downloaded it at
http://blog.linux-stats.org/index.php?s ... thiscat=74
the website of the developper (I found the address in the plug rep of s9y)
my s9y is a 1.0
my serendipity_event_downloadmanager.php [line 1791] :
Code: Select all
$cat = array();
$last = "";
foreach($cats as $cat) {
if (($cat["level"] == 1))
$parent = array();
I will drop the plug and tring to reinstall it
Posted: Tue Aug 08, 2006 4:19 pm
by garvinhicking
Hi!
You should try to fetch the latest plugin from
http://spartacus.s9y.org/
Best regards,
Garvin
Posted: Tue Aug 08, 2006 7:01 pm
by melesigene
Thanks Garvin,
I will remove the plug and try using spartacus
cheers !
Posted: Wed Aug 09, 2006 10:03 am
by melesigene
raaaargh !
I remove the plugin [admin], I also removed the files (spartacus still installing the 0.7 version if I don't removed the files),
Spartacus fetched a new version of downloadmanager plugin (0.12)
but I still have the same message (error line has changed)
Code: Select all
Warning: Invalid argument supplied for foreach() in /filer/m/e/melesigene/www/plugins/serendipity_event_downloadmanager/serendipity_event_downloadmanager.php on line 1742
I don't understand
you said that the foreach() is not present in recent version ? can you tell me which one ?
thanks
Posted: Wed Aug 09, 2006 10:13 am
by garvinhicking
Hi!
This error message comes when you have not yet created any categories for the downloadmanager! You can ignore the error, but I'll try to make a safer check so that the message does not appear any more.
Best regards,
Garvin
Posted: Wed Aug 09, 2006 10:57 pm
by melesigene
yes there's no categories
but I tried to create one to see if the error message can be ignored
the problem is that I can't create one, that's why I begin to searche how to solve the problem.
is there any chance that the problem (creating new gategories) came form my browser >> Firefox 1.0.8 ???
thanks for your time spent on this
Posted: Thu Aug 10, 2006 3:08 pm
by garvinhicking
Hi!
I must admit I have never used the downloadmanager myself. How do you try to create a category, and what happens? Maybe you could make some screenshots and post them on imageshack or your own webspace?
Best regards
Garvin