Page 2 of 4

Re: RealBloig comments

Posted: Wed Jun 10, 2020 10:42 am
by mhz
Have a look here about plugin compatibilities ...
http://cmsimplexh.webdesign-keil.de/?CM ... pabilitaet

Re: RealBloig comments

Posted: Thu Jun 11, 2020 8:34 am
by ustalo
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?

Re: RealBloig comments

Posted: Thu Jun 11, 2020 8:43 am
by ustalo
twocent works only with php7<<
realblog also works fine only php7<<
with php 7>> does not works properly

Re: RealBloig comments

Posted: Thu Jun 11, 2020 11:38 am
by lck
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.

Re: RealBloig comments

Posted: Thu Jun 11, 2020 3:23 pm
by cmss
php7.4 patch for realblog ( with isset ) https://github.com/g7sim/realblog_xh

Re: RealBloig comments

Posted: Thu Jun 11, 2020 5:17 pm
by cmb
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)

Re: RealBloig comments

Posted: Thu Jun 11, 2020 6:05 pm
by cmss
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.

Re: RealBloig comments

Posted: Thu Jun 11, 2020 6:47 pm
by lck
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.

Re: RealBloig comments

Posted: Thu Jun 11, 2020 8:11 pm
by cmss
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...?

Re: RealBloig comments

Posted: Thu Jun 11, 2020 9:06 pm
by cmb
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.