entryproperties call error

Found a bug? Tell us!!
Post Reply
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

entryproperties call error

Post by TKS »

Hiya all,


I just did a fresh install of 0.7.1 last night...I really dig the new stuffs from v0.7

Anyways, I was entering an entry and have it set to pingback to each and every possible place to pingback to on save...after I save the entry, it displays the following underneath the pingback info:

Code: Select all

Fatal error: Call to undefined function: serendipity_fetchentryproperties() in /var/www/virtual/linuxblog.sytes.net/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php on line 255
A closer inspection of line 255 yeilds the following:

Code: Select all

$property = serendipity_fetchEntryProperties($eventData['id']);
I believe that this is trying to pick up on (detect) the entry it just posted as well as the rest of the posts previous? I'm not really sure... Is this a bug with this version? If I've posted this in the wrong place, please let me know :/


Thanks for any help.



TKS[/code]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: entryproperties call error

Post by garvinhicking »

How did you get the entryproperties plugin? This is only made for Serendipity 0.8 and should not be used for 0.7x... You need to remove the plugin or upgrade to Serendipity 0.8 (currently still in CVS Development, though).

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Post by TKS »

Ahh see,


i didn't know this was only for .8 or higher...I was attempting to use it in the events plugins etc.


So that makes a bit of difference. Perhaps one should have this type of thing added to a FAQ somewhere?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hm, we usually would think that anyone using a Development CVS-Snapshot is aware of a "results may vary" result when using functionality of this; especially when mixing CVS features with "stable release" features.

However there ARE a few plugins which are interchangeable from 0.7 and 0.8 -- so we can'T make it a general statement that plugins from newer versions won't work with previous ones. The 'entryproperties' plugins is noted in our NEWS file that it requiers a DB layout change...

Hard to say, where would you put a notice, and what wording would you choose?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Good Questions

Post by TKS »

Very good questions...

Also, I didn't know that 0.7.1 was a CVS snapshot...I thought only the ones in the snapshot table were 'bleeding edge'

I missed the NEWS file thinking it would be stuff on the horizon for s9y and just version releasing info. doh! :oops:


My thinking on documentation...and I by no means want to offend anyone on this aspect...I haven't been using s9y for very long and am not even entirely fluent with the webpage yet and I haven't joined any mailing lists either (yet). I just figure I'd let you know my thinking on documentation. Who am I? Well, I am a tech writer in the USAF. I know how to bore the crap out of people extemely well through lambasting them with technical jargon. Anyways, my two cents:

I think that any major project such as s9y would do well to have good documentation. Forums are pretty cool but it's a known fact that phpbb lacks a good search capability. If it were me, I'd assign a docs manager to streamline documentation...first establishing criterion/templates for all docs that are submitted (such as for third party plugins) and create a core docs that surrounds the main functions/plugins/etc that ship with s9y. Then I'd announce the docs template/criteria and ask that plugin writers submit their info in compliance with the template (and I'd make it extremely easy to conform with). By making the template a 'fill in the blanks' style of template...it would be relatively easy to keep up to date. The Linux Documentation Project is a good example of how to do this. I've been involved with many open source and sourceforge.net projects...specifically the documentation process (website content as well) and I've found that generally there is a lack of organization with documenation...it's a shame that this is so...especially for really great projects such as s9y.

The first thing a new user is going to look for is an organized FAQ system or documents in pdf format to get him/her started and going. Well, it's what I looked for and what I have always looked for since starting with Linux in 1994.

I would love to help out in any way I can...but I've not been using the software for very long. :oops: If you can handle my sheepish inexperience with the software, I'd love to help :)


TKS
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Good Questions

Post by garvinhicking »

Hi!

[quote]
Also, I didn't know that 0.7.1 was a CVS snapshot...I thought only the ones in the snapshot table were 'bleeding edge'
[/quotes]

That's true - but you fetched the entryproperties plugin from our development branch, so it has nothing to do with the 'core distribution'.

About documentation: I fully agree, we need someone to do that. Are you volunteering, maybe? :-D

We have quite a solid documentation core base on our wiki at http://s9y.org/, did you check that out?

The problem is, that I as a developer find documenting boring...and with the limited time I am given, I mostly want to code and not document; I suppose that's the reason for most OpenSource projects as well. Which doesn't change the fact, that you are right, and we are lacking nice and up-to-date documentiation.

So, if you want to contribute, I could offer you a Wiki account?

Regards,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Post by TKS »

I would love to help out with documentation.

Anything to help out.

Love the configurability of this framework.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Okay, if you would like to polish up documentation (lots of new plugin stuff in 0.8 hasn't yet been documented, as well as new CSS classes) we would love to have your support.

Contact me privately via e-Mail please and tell me a username/password combination for your wiki account :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply