RealBlog comments

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

mhz
Posts: 625
Joined: Tue Jun 25, 2013 8:46 pm
Location: Heusenstamm, Hessen
Contact:

Re: RealBloig comments

Post by mhz » Wed Jun 10, 2020 10:42 am

Have a look here about plugin compatibilities ...
http://cmsimplexh.webdesign-keil.de/?CM ... pabilitaet
Michael Zajusch (mhz)-- Mein Tutorial für CMSimple_XH. Früher

ustalo
Posts: 93
Joined: Mon Aug 16, 2010 7:42 am
Location: Russia
Contact:

Re: RealBloig comments

Post by ustalo » Thu Jun 11, 2020 8:34 am

twocents problem php7.3>>

twocents works separately with php 7.3>>
dose not works with Realblog with php 7.3>>

could be problem of Realblog

any solution?
Aleksei

ustalo
Posts: 93
Joined: Mon Aug 16, 2010 7:42 am
Location: Russia
Contact:

Re: RealBloig comments

Post by ustalo » Thu Jun 11, 2020 8:43 am

twocent works only with php7<<
realblog also works fine only php7<<
with php 7>> does not works properly
Aleksei

lck
Posts: 2009
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: RealBloig comments

Post by lck » Thu Jun 11, 2020 11:38 am

ustalo wrote:
Thu Jun 11, 2020 8:43 am
with php 7>> does not works properly
Is sqlite3 installed? See PHP Info under settings.
realblog/help/help.htm wrote:Requirements
Realblog_XH is a plugin for CMSimple_XH. It requires CMSimple_XH ≥ 1.6 and PHP ≥ 5.3.0 with the sqlite3 extension.
Under Xampp you can activate it as follows, see here.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

cmss
Posts: 201
Joined: Mon Jan 02, 2017 6:15 pm

Re: RealBloig comments

Post by cmss » Thu Jun 11, 2020 3:23 pm

php7.4 patch for realblog ( with isset ) https://github.com/g7sim/realblog_xh

cmb
Posts: 13341
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: RealBloig comments

Post by cmb » Thu Jun 11, 2020 5:17 pm

cmss wrote:
Thu Jun 11, 2020 3:23 pm
php7.4 patch for realblog ( with isset ) https://github.com/g7sim/realblog_xh
Interesting! Why would that be necessary? I have not been able to reproduce any Realblog_XH related issues (with Twocents_XH 1.0beta3) with PHP 7.4. (that doesn't mean there are none, though)
Christoph M. Becker – Plugins for CMSimple_XH

cmss
Posts: 201
Joined: Mon Jan 02, 2017 6:15 pm

Re: RealBloig comments

Post by cmss » Thu Jun 11, 2020 6:05 pm

In xampp php 7.4 i get in debug-mode several error messages which disappeared after that patches with 'isset'. I can make a push from my git - or You can overtake the code ....In December comes php 7.5 ! This was more a reaction on ustalo (see above) - at which i testet realblog and memberpages with my clean version.

lck
Posts: 2009
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: RealBloig comments

Post by lck » Thu Jun 11, 2020 6:47 pm

cmss wrote:
Thu Jun 11, 2020 6:05 pm
In xampp php 7.4 i get in debug-mode several error messages which disappeared after that patches with 'isset'.
cmb wrote:
Thu Jun 11, 2020 5:17 pm
I have not been able to reproduce any Realblog_XH related issues (with Twocents_XH 1.0beta3) with PHP 7.4.
Me neither. Tested with Xampp and PHP version 7.4.4.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

cmss
Posts: 201
Joined: Mon Jan 02, 2017 6:15 pm

Re: RealBloig comments

Post by cmss » Thu Jun 11, 2020 8:11 pm

I get errors
realblog1.jpg
ustalo said realblog also works fine only php7<< (just klick at the picture)
Perhaps the presence of two cents is necessary...?
You do not have the required permissions to view the files attached to this post.

cmb
Posts: 13341
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: RealBloig comments

Post by cmb » Thu Jun 11, 2020 9:06 pm

cmss wrote:
Thu Jun 11, 2020 8:11 pm
I get errors
Thanks! This is unlikely to be ustalo's issue, since you getting notices which are not supposed to result in a fatal error. Anyway, I still don't understand why these happen to you (I also tested with Twocents_XH enabled as comment plugin for Realblob_XH). And while an isset() check doesn't hurt, I would really like to know the actual root cause. Furthermore, just checking for isset() there, doesn't seem quite right; instead something like the following should be okay (same for the other two lines):

Code: Select all

if (isset($plugin_cf['realblog']['auto_publish']) && $plugin_cf['realblog']['auto_publish']) {
This checks that the array element exists, and if it exists, it checks that the flag is actually enabled.
cmss wrote:
Thu Jun 11, 2020 6:05 pm
In December comes php 7.5 !
Nope, probably in November there'll be PHP 8.0 (there likely will be no 7.5 at all), and I expect a lot of code to error, unless it is already warning clean on PHP 7.4.
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply