Plugin problems?

3 views
Skip to first unread message

tamaracks

unread,
Sep 5, 2009, 7:06:36 PM9/5/09
to habari-users
I just installed Habari 0.6.2. I seem to be having trouble with a lot
of plugins from http://www.habariproject.org/dist/plugins/.
Particularly, I am interested in habari markdown, since I imported my
entries from wordpress and many are in markdown form. After installing
habari markdown, I get the following error:

Fatal error: Class HabariMarkdown contains 1 abstract method and must
therefore be declared abstract or implement the remaining methods
(Plugin::info) in /www/www.darkglass.org/docroot/habari/user/plugins/
habarimarkdown/habarimarkdown.plugin.php on line 73

I realized habari is still very much in development, but I wondered if
anyone could shed some light here. I have gotten similar errors on
other plugins I tried. Are these plugins too old for the version of
habari I'm using? Or too new? Any ideas on a working markdown plugin?

Thanks,
Tamara

Andy C

unread,
Sep 6, 2009, 9:29:03 AM9/6/09
to habari-users
Try

http://trac.habariproject.org/habari-extras/browser/plugins/markup/tags/0.6-0.4

On Sep 6, 12:06 am, tamaracks <tam...@darkglass.org> wrote:
> I just installed Habari 0.6.2. I seem to be having trouble with a lot
> of plugins fromhttp://www.habariproject.org/dist/plugins/.

eighty4

unread,
Sep 6, 2009, 4:30:20 AM9/6/09
to habari-users
The error you describe is caused by trying to run a 0.7 plugin in
0.6.2. One major difference between 0.6 plugins and 0.7 plugins is
that the 0.7 plugins have a separate xml file for the plugins
information instead of an info function. Most plugins have a 0.6
branch found here: http://trac.habariproject.org/habari-extras/browser/plugins/.
If you know how svn works it's simple to checkout plugins (http://
svn.habariproject.org/habari-extras/plugins/.....).

If a plugin doesn't have a 0.6 version most often you can just look at
a 0.6 plugin and add the info function for your 0.7 plugin to make it
work in 0.6. I did the changes needed for habarimarkdown and you can
download it from http://eighty4.googlecode.com/files/habarimarkdown.zip

On 6 Sep, 01:06, tamaracks <tam...@darkglass.org> wrote:
> I just installed Habari 0.6.2. I seem to be having trouble with a lot
> of plugins fromhttp://www.habariproject.org/dist/plugins/.

Lenard, Gabor

unread,
Sep 6, 2009, 3:38:19 AM9/6/09
to habari...@googlegroups.com
Hi Tamara,


I also depend on the Markdown plugin and the one from here works great with my Habari 0.7-alpha r3710 (installed from SVN).

Gabor

Caius Durling

unread,
Sep 6, 2009, 9:46:00 AM9/6/09
to habari...@googlegroups.com
On 6 Sep 2009, at 08:38, Lenard, Gabor wrote:


I also depend on the Markdown plugin and the one from here works great with my Habari 0.7-alpha r3710 (installed from SVN).

That git repo is just a direct mirror of the svn repo, so most of the plugins have been updated to work with 0.7 in svn now.


Tamara Crowe

unread,
Sep 6, 2009, 6:09:05 PM9/6/09
to habari...@googlegroups.com
That version did the trick, thanks! I figured there was some fundamental difference in plugin structure. I will continue to poke around.

Lenard, Gabor

unread,
Nov 6, 2009, 2:00:30 PM11/6/09
to habari...@googlegroups.com
On Sun, Sep 6, 2009 at 14:46, Caius Durling <ca...@caius.name> wrote:
On 6 Sep 2009, at 08:38, Lenard, Gabor wrote:


I also depend on the Markdown plugin and the one from here works great with my Habari 0.7-alpha r3710 (installed from SVN).

That git repo is just a direct mirror of the svn repo, so most of the plugins have been updated to work with 0.7 in svn now.


I tried to find these plugins in the SVN repository here: http://svn.habariproject.org/habari/ but could not find them. Could you help me?

Thanks,
Gabor  

Michael C. Harris

unread,
Nov 6, 2009, 6:51:17 PM11/6/09
to habari...@googlegroups.com
2009/11/7 Lenard, Gabor <ga...@lenard.hu>:

http://svn.habariproject.org/habari-extras has plugins and themes that
are not distributed with Habari.

--
Michael C. Harris, School of CS&IT, RMIT University
http://twofishcreative.com/michael/blog
IRC: michaeltwofish #habari

Lenard, Gabor

unread,
Nov 8, 2009, 1:31:58 PM11/8/09
to habari...@googlegroups.com
On Sat, Nov 7, 2009 at 00:51, Michael C. Harris <michael...@gmail.com> wrote:

http://svn.habariproject.org/habari-extras has plugins and themes that
are not distributed with Habari.


Thanks, Michael. 

Gabor
Reply all
Reply to author
Forward
0 new messages