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

2014-11-16 Thread Tiger!P
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

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

2014-11-03 Thread Tiger!P
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

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

2014-11-03 Thread Tiger!P
On Tue, Nov 04, 2014 at 08:43:30AM +1300, John Rankin wrote: On Thu, Oct 30, 2014 at 05:41:42PM -0400, DaveG wrote: On 10/30/2014 1:58 PM, Tiger!P wrote: Quick questions: 1. Tiger!P: With your patch file, why are you making the change to $PageTextVarPatterns, from

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

2014-11-01 Thread Petko Yotov
On 30.10.2014 22:41, DaveG wrote: 2. All: Is there a preference to using Markup_e over Markup? No, simply Markup_e() should be easier (less code) in some cases which I assumed will be frequent. I went ahead and used anon functions with Markup, just to make things internally consistent.

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

2014-11-01 Thread DaveG
On 11/1/2014 3:07 PM, Petko Yotov wrote: I went ahead and used anon functions with Markup, just to make things internally consistent. This is fine as long as your recipe is intended to only work with PHP 5.3 and more recent: http://php.net/manual/en/functions.anonymous.php Ah, I was not

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

2014-10-30 Thread Tiger!P
On Thu, Oct 30, 2014 at 02:17:58PM +1300, John Rankin wrote: On Mon, Oct 27, 2014 at 10:22:17AM +1300, John Rankin wrote: Hello John, [cut how to fix the Markup('blogit' line] This does not result in the error message, but when I go to the new blog page

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

2014-10-30 Thread DaveG
I'm looking into PHP5 compatibility right now. Not progressing far, as I need to research exactly what I'm remediating, but hopefully have some progress soonish. ~ ~ David On 10/30/2014 1:58 PM, Tiger!P wrote: On Thu, Oct 30, 2014 at 02:17:58PM +1300, John Rankin wrote: On Mon, Oct 27,

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

2014-10-30 Thread DaveG
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. Blog Title: (:blogit list

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

2014-10-29 Thread John Rankin
On Mon, Oct 27, 2014 at 10:22:17AM +1300, John Rankin wrote: Hello John, On Thu, Oct 23, 2014 at 06:51:59PM -0400, DaveG wrote: ... Try the following: Markup('blogit', 'fulltext', '/\(:blogit (list|cleantext)\s?(.*?):\)(.*?)\(:blogitend:\)/si', function ($m) {

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

2014-10-28 Thread Tiger!P
On Mon, Oct 27, 2014 at 10:22:17AM +1300, John Rankin wrote: Hello John, On Thu, Oct 23, 2014 at 06:51:59PM -0400, DaveG wrote: Hello David, On 10/23/2014 3:24 PM, Tiger!P wrote: The original code line is (line 239): Markup('blogit', 'fulltext', '/\(:blogit

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

2014-10-26 Thread John Rankin
On Thu, Oct 23, 2014 at 06:51:59PM -0400, DaveG wrote: Hello David, On 10/23/2014 3:24 PM, Tiger!P wrote: The original code line is (line 239): Markup('blogit', 'fulltext', '/\(:blogit (list|cleantext)\s?(.*?):\)(.*?)\(:blogitend:\)/esi', blogitMU_$1(PSS('$2'), PSS('$3'))); I

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

2014-10-24 Thread Tiger!P
On Thu, Oct 23, 2014 at 06:51:59PM -0400, DaveG wrote: Hello David, On 10/23/2014 3:24 PM, Tiger!P wrote: The original code line is (line 239): Markup('blogit', 'fulltext', '/\(:blogit (list|cleantext)\s?(.*?):\)(.*?)\(:blogitend:\)/esi', blogitMU_$1(PSS('$2'), PSS('$3'))); I

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

2014-10-23 Thread Tiger!P
Hello, A few months ago I created a test website with pmwiki and blogit [1]. Now my system has been upgraded to PHP 5.5 and blogit is no longer working correctly. I followed the steps from the site [2] for changing the code for PHP 5.5, but I still have a problem with 1 line of code. The

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

2014-10-23 Thread DaveG
On 10/23/2014 3:24 PM, Tiger!P wrote: The original code line is (line 239): Markup('blogit', 'fulltext', '/\(:blogit (list|cleantext)\s?(.*?):\)(.*?)\(:blogitend:\)/esi', blogitMU_$1(PSS('$2'), PSS('$3'))); I replaced it with the following: Markup_e('blogit', 'fulltext', '/\(:blogit