Page 1 of 1
podcasting Plug-In: Bug in 0.7 or in update script 0.6->0
Posted: Fri Aug 18, 2006 10:06 am
by Comander1024
I think I have found a bug in the serendipity podcasting plug-in.
In stumbled into this error in 2 ways of trying to install the update:
First:
Installed blog version: 1.0
Upgrading the postcasting plugin via Spartacus 0.6 -> 0.7
Second:
Upgrading blog from 1.0 -> 1.0.1
Upgrading the postcasting plugin via Spartacus 0.6 -> 0.7
Doesn't matter which upgrade path I followed, same result both times:
2 lines of php error on every page of the plog regarding a wrong-initialized array value in serendipity_event_podcast.php on line 229 and the podcasting feature not working at all. In the plug-in list it is no longer called "Podcast" but "Sample!".
Clicking onto it works and opens the preferences tab of the plug-in, but the frontend doesn't work at all. As I am no php professional (indeed: I am quite a beginner in some programming languages) I do not see a way to solve it alone. Until there is a solution, I will keep up using Podcast 0.6
Thanks in advance for any advice
greetings Commander1024
Re: podcasting Plug-In: Bug in 0.7 or in update script 0.6-&
Posted: Fri Aug 18, 2006 1:32 pm
by garvinhicking
Hi!
Sadly the podcast plugin was broken for a day and contained this error; but new versions work properly. So if you could download the latest ZIP file from
http://spartacus.s9y.org/ and use that one, you should be fine...
HTH,
Garvin
Posted: Fri Aug 18, 2006 3:23 pm
by Comander1024
Oh, alright.
I will retry it the next time I have time tuning my blog. Thanks for the info.
mfG
Commander1024
Posted: Tue Aug 22, 2006 3:00 pm
by Comander1024
Do I have to delete temorary files that are left from the corrupted version of the 0.7 plugin? Because today I tried to update again, and guess what? - it doesn't work!
I also tried to update it manually via the link you provided in your first answer, but all the same.
You might want to have a look at it here:
http://commander1024.dyndns.org (the warnings at the far bottom of the page)
Posted: Tue Aug 22, 2006 3:06 pm
by garvinhicking
Hi!
I'm afraid yes, you need to either download the ZIP from spartacus.s9y.org manually, or you need to delete the podcast plugin first from your directory before re-installing it via spartacus.
The reason is that the parse error got fixed wihtout increasing the version number by accident.
Best regards,
Garvin
Posted: Tue Aug 22, 2006 3:21 pm
by Comander1024
hmmmm....
I deleted the podcast plugin in the admin panel and afterwards changed in to the blog-dir to manually delete the remaining folder blog/plugins/serendipity_event_podcast/
Then I used the admin panel to install the plugin via SPARTACUS, with the same error messages as before.
So I deleted it again and used the zip-file from spartacus.s9y.org but it's all the same
Any other clues?
Posted: Tue Aug 22, 2006 4:40 pm
by garvinhicking
Hi!
Could you give me the exact error message you get?
And could you compare the file that you have with this one:
http://php-blog.cvs.sourceforge.net/php ... iew=markup
HTH,
GArvin
Posted: Tue Aug 22, 2006 6:06 pm
by Comander1024
Thanks for the encouragement!
The thrown Warnings are these:
Code: Select all
Warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/blog/plugins/serendipity_event_podcast/serendipity_event_podcast.php on line 166
Warning: implode() [function.implode]: Bad arguments. in /var/www/blog/plugins/serendipity_event_podcast/serendipity_event_podcast.php on line 166
Warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/blog/plugins/serendipity_event_podcast/serendipity_event_podcast.php on line 229
Warning: implode() [function.implode]: Bad arguments. in /var/www/blog/plugins/serendipity_event_podcast/serendipity_event_podcast.php on line 229
Code: Select all
commander1024:~# diff serendipity_event_podcast.php\?revision\=1.16 serendipity_event_podcast_mine.php
commander1024:~#
Looks like they are perfectly the same!
Tell me, what else you need to have to debug my problem.
mfG
Commander1024
Posted: Wed Aug 23, 2006 9:56 am
by garvinhicking
Hi!
I'm really sorry, you are right. That file still contained some invalid and unclosed "/*" which I fixed in cvs version 0.8. You can look it up here:
http://php-blog.cvs.sourceforge.net/php ... nt_podcast
HTH.,
Garvin
Posted: Wed Aug 23, 2006 2:19 pm
by Comander1024
ok, my next thought would have been a corrupted database structure, although it looks sane to me, but fine that I could help to locate a bug

So, now I can sleep well again, beeing sure it was not me wasting the plugin
Thanks in advance for fixing
mfG
Commander1024