[pmwiki-users] Fix blogit for use with PHP 5.5

Tiger!P pmwiki-tigerp at tigerp.net
Sun Nov 16 13:44:41 CST 2014


On Sun, Nov 02, 2014 at 12:08:30PM +0100, Tiger!P wrote:
> On Thu, Oct 30, 2014 at 05:41:42PM -0400, DaveG wrote:
> > On 10/30/2014 1:58 PM, Tiger!P wrote:
> > >>>This does not result in the error message, but when I go to the new blog
> > >>>page (/Site/BlogIt-Admin?action=bi_ne ) some blogit codes are displayed
> > >>>on the page. I don't know if this was the case before PHP5.5, but don't
> > >>>think so.

Sorry for the late reply, but I needed some time to setup an old system.
I checked this and the following text is indeed new. I compared a debian
squeeze (PHP 5.3.3) and a debian jessie (PHP 5.6.2) installation.

> > >>>Blog Title: (:blogit list "$:entrytype":)bi_PageType/Type:
> > >>>(:blogitend:)(:blogit list "$:blogid":)bi_BlogList/BlogID: (:blogitend:)
> > >>>Tags: (:blogit list "$:entrystatus":)bi_StatusType/Status:
> > >>>(:blogitend:)(:blogit list "$:entrycomments":)bi_CommentType/Comments:
> > >>>(:blogitend:)
> > >
> > >This problem still exists.

The information above is valid for PHP 5.6.2.
I can provide screenshots of the issue when needed. Please let me know
where I should share the two screenshots (+/- 140 KB).

> > >And now the /Blog/Main page does not have any blog posts anymore. Also
> > >the list of recently written is empty.
> > >But the Categories contains a list of tags and when I select a tag, I
> > >see a link to the blogpost which has that tag.

This is not valid when using a clean pmwiki (2.2.69) install with only
blogit as cookbook item.

> > >
> > >So I think something is not quite right yet.
> > >
> > >Hopefully DaveG can give some advice.
> > I suspect this error is not related to PHP5. I've applied your patches, and
> > the test site seems to work (ref http://wiki.solidgone.org/BlogIt/Main).

I'm not able to test the error situation above, because you have to be
logged-in. to be able to create a new entry.

Tiger!P
-- 
A random quote:
Ruimte bewaken heeft geen zin, ze stelen het en je weet niet eens dat 
ze het gestolen hebben.



More information about the pmwiki-users mailing list