First beta release of FlatPress 1.2 "Legato": Please help testing

General information and announcements regarding the FlatPress project
Lubomír Ludvík
Posts: 44
Joined: Wed Feb 20, 2019 7:44 pm
Location: Rouchovany
Contact:

Re: First beta release of FlatPress 1.2 "Legato": Please help testing

Post by Lubomír Ludvík » Sun Feb 14, 2021 5:37 pm

I upgrade to PHP Version 7.4.6 !
new instalation flatpress-master.zip
When loggin, get errors:
error_admin.jpg
error_admin.jpg (27.79 KiB) Viewed 31859 times

Code: Select all

http://mohelno.cz/pokus/%7B$baseurl%7Dlogin.php?do=logout

User avatar
Arvid
FlatPress Coder
Posts: 555
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: First beta release of FlatPress 1.2 "Legato": Please help testing

Post by Arvid » Sun Feb 14, 2021 5:53 pm

Lubomír, this is the faulty code I meant here ;)
Please get the current snapshot from GitHub and update the five files I listed, then everything should be fine again. Please let us know!

All the best,
Arvid

Lubomír Ludvík
Posts: 44
Joined: Wed Feb 20, 2019 7:44 pm
Location: Rouchovany
Contact:

Re: First beta release of FlatPress 1.2 "Legato": Please help testing

Post by Lubomír Ludvík » Sun Feb 14, 2021 6:53 pm

Now I try flatpress-master.zip (14.2), it is OK.

Please add lang_cs commentcenter from viewtopic.php?f=3&t=206#p640

laborix
Posts: 118
Joined: Sat Feb 16, 2019 3:51 pm

Re: First beta release of FlatPress 1.2 "Legato": Please help testing

Post by laborix » Tue Feb 16, 2021 5:08 pm

Arvid wrote: Sun Feb 14, 2021 5:53 pm... Please get the current snapshot from GitHub ..., then everything should be fine again. Please let us know! ...
Flatpress Github 559 Setup is running on PHP 8.0.2 without Errors/Warnings. But, the german language pack has no file in the setup folder :shock:

Visible Errors/Warning by clicking through the Admin Interface:

Administration area - Entries - Comment Center - Configure the plugin

Code: Select all

Warning: Uninitialized string offset 0 in .../fp559/fp-content/cache/e93fccb09cf8b04111b9595da102f3f4^%%B8^B88^B888B430%%configure.php on line 23
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in
Administration area - Maintain - Check for Updates

Code: Select all

Warning: Undefined array key "stable" in .../fp559/admin/panels/maintain/admin.maintain.php on line 112
Warning: Undefined array key "unstable" in .../fp559/admin/panels/maintain/admin.maintain.php on line 113
Warning: Undefined array key "notice" in .../fp559/admin/panels/maintain/admin.maintain.php on line 114
Frontend - after activating lastcomments Plugin

Code: Select all

Warning: Undefined variable $update in .../fp559/fp-plugins/lastcomments/plugin.lastcomments.php on line 61
And, only if you switch to german language :shock:

Administration area - Uploader - Media Manager

Code: Select all

Warning: Undefined array key "selected" in .../fp559/fp-content/cache/....
More tests will come...

dsteuer
Posts: 48
Joined: Sun May 24, 2020 11:21 am

Re: First beta release of FlatPress 1.2 "Legato": Please help testing

Post by dsteuer » Tue Feb 16, 2021 9:02 pm

If ,htaccess is not writable there is a link on the page for the pretty urls
flatpress-master/admin.php?p=plugin&action=prettyurls
"upload as described here" :
http://wiki.flatpress.org/doc:plugins:p ... ual_upload

That link does not exist.

Detlef

User avatar
Arvid
FlatPress Coder
Posts: 555
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: First beta release of FlatPress 1.2 "Legato": Please help testing

Post by Arvid » Sat Feb 20, 2021 11:53 am

Lubomír Ludvík wrote: Tue Feb 09, 2021 9:56 pm I send missing lang.cs-cz for commentcenter and setup. flatpress_lang_cs.zip
Now part of FlatPress 1.2 - děkuji! :)

laborix wrote: Tue Feb 16, 2021 5:08 pm the german language pack has no file in the setup folder :shock:
Do not fear, it now has :D

laborix wrote: Tue Feb 16, 2021 5:08 pm Administration area - Entries - Comment Center - Configure the plugin

Code: Select all

Warning: Uninitialized string offset 0 in .../fp559/fp-content/cache/e93fccb09cf8b04111b9595da102f3f4^%%B8^B88^B888B430%%configure.php on line 23
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in
Just can't reproduce this one :|

laborix wrote: Tue Feb 16, 2021 5:08 pmAdministration area - Maintain - Check for Updates

Code: Select all

Warning: Undefined array key "stable" in .../fp559/admin/panels/maintain/admin.maintain.php on line 112
Warning: Undefined array key "unstable" in .../fp559/admin/panels/maintain/admin.maintain.php on line 113
Warning: Undefined array key "notice" in .../fp559/admin/panels/maintain/admin.maintain.php on line 114
Fixed, thanks. (I assume your test server was not able to reach https://flatpress.org?)

laborix wrote: Tue Feb 16, 2021 5:08 pmAnd, only if you switch to german language :shock:

Administration area - Uploader - Media Manager

Code: Select all

Warning: Undefined array key "selected" in .../fp559/fp-content/cache/....
Also fixed. The key "selected" in the German language file was misspelled ("seóected") :lol:

dsteuer wrote: Tue Feb 16, 2021 9:02 pm If ,htaccess is not writable there is a link on the page for the pretty urls
flatpress-master/admin.php?p=plugin&action=prettyurls
"upload as described here" :
http://wiki.flatpress.org/doc:plugins:p ... ual_upload

That link does not exist.
... and even when it did, it never contained useful information (see archive.org) ;)
I felt free to remove the link from the plugin's language files.


Again, thank you all very much for spending your time on testing FlatPress. Maybe let's give us another week, and then we'll see if we can release 1.2 as final version - shall we? :)

All the best,
Arvid

laborix
Posts: 118
Joined: Sat Feb 16, 2019 3:51 pm

Re: First beta release of FlatPress 1.2 "Legato": Please help testing

Post by laborix » Sun Feb 21, 2021 8:45 am

Arvid wrote: Sat Feb 20, 2021 11:53 am... Just can't reproduce this one :| ...
Ok, new try :D , used Flatpress Version is current Github 563 version on Apache 2.4, PHP 8.0.2 and a full stable fast Internet connection...
comment-center.jpg
comment-center.jpg (19.98 KiB) Viewed 31760 times
Please, go to the Administration area, click on Entries, click on Comment Center and then click on Configure the plugin. Should be simple to reproduce :D

Ok, a few other things:

This error is only visible when looking into the PHP Error Log configured in the php.ini file. On Windows this is tricky, by default it does not work.
PHP Fatal error: Requested panel does not exists! in .../fp563/admin/main.php on line 39
You can fix this error with this lines:

Code: Select all

if (!admin_panelexists($panel)) {
  /* trigger_error('Requested panel does not exists!', E_USER_ERROR); */
  /* check if user is loggedin */	
  if (!user_loggedin()) {
    utils_redirect("login.php");
    die();
  } else {
    utils_redirect("admin.php");
    die();          
  }      
} 
Next error is also only visible when you looking into the PHP Error Log:
PHP Warning: Undefined array key "m" in .../fp563/fp-plugins/prettyurls/plugin.prettyurls.php on line 190
PHP Warning: Undefined array key "d" in .../fp563/fp-plugins/prettyurls/plugin.prettyurls.php on line 190
PHP Warning: Undefined array key "d" in .../fp563/fp-plugins/prettyurls/plugin.prettyurls.php on line 190
PHP Warning: Undefined array key "d" in .../fp563/fp-plugins/prettyurls/plugin.prettyurls.php on line 191
PHP Warning: Undefined array key "" in .../fp563/fp-plugins/prettyurls/plugin.prettyurls.php on line 191
PHP Warning: Trying to access array offset on value of type null in .../fp563/fp-plugins/prettyurls/plugin.prettyurls.php on line 191
And next one from the PHP Error Log:
PHP Warning: Undefined array key "time" in .../fp563/fp-plugins/commentcenter/plugin.commentcenter.php on line 336
Have a nice Sunday :D

laborix
Posts: 118
Joined: Sat Feb 16, 2019 3:51 pm

Re: First beta release of FlatPress 1.2 "Legato": Please help testing

Post by laborix » Sun Feb 21, 2021 10:29 am

A few more errors after make a test with 30 categories and 400 entries.
Setup Github version 563 in german language works, import and Rebuild Index of data from a other blog works :)

Then I deactive the calendar plugin because I want to use my german calender plugin:
widget-error.jpg
widget-error.jpg (26.71 KiB) Viewed 31753 times
Next I get following error after removing a existing categorie, press save and switch to the Flatpress Frontend:

Code: Select all

PHP Warning:  Undefined array key "categories" in .../fp563/fp-content/cache/e93fccb09cf8b04111b9595da102f3f4^%%DF^DFB^DFB84629%%write.php on line 76
PHP Warning:  Uninitialized string offset 0 in .../fp563/fp-includes/core/core.utils.php on line 279
PHP Warning:  Undefined array key 1 in .../fp563/fp-includes/smarty/plugins/function.list_categories.php on line 85
PHP Warning:  Uninitialized string offset 0 in .../fp563/fp-includes/core/core.utils.php on line 279
PHP Warning:  Undefined array key 1 in .../fp563/fp-includes/smarty/plugins/function.list_categories.php on line 85
It seems there is need to do more tests...

dsteuer
Posts: 48
Joined: Sun May 24, 2020 11:21 am

Re: First beta release of FlatPress 1.2 "Legato": Please help testing

Post by dsteuer » Sun Feb 21, 2021 11:25 am

Arvid wrote: Sat Feb 20, 2021 11:53 am
dsteuer wrote: Tue Feb 16, 2021 9:02 pm If ,htaccess is not writable there is a link on the page for the pretty urls
flatpress-master/admin.php?p=plugin&action=prettyurls
"upload as described here" :
http://wiki.flatpress.org/doc:plugins:p ... ual_upload

That link does not exist.
... and even when it did, it never contained useful information (see archive.org) ;)
I felt free to remove the link from the plugin's language files.


Again, thank you all very much for spending your time on testing FlatPress. Maybe let's give us another week, and then we'll see if we can release 1.2 as final version - shall we? :)

All the best,
Arvid
Would it be a good idea to have a writable, empty .htaccess included in the installation?
Or at least add a description how to get to a first usable .htaccess?

I always install in ~user and to get that working the server must have write permission in ~user/flatpress-root .
This is obvious, if you have done it often enough, but maybe a note somewhere would help for new users?

Not a show stopper for 1.2 anyways.

Detlef

User avatar
Arvid
FlatPress Coder
Posts: 555
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: First beta release of FlatPress 1.2 "Legato": Please help testing

Post by Arvid » Wed Feb 24, 2021 7:20 pm

laborix wrote: Sun Feb 21, 2021 8:45 am Please, go to the Administration area, click on Entries, click on Comment Center and then click on Configure the plugin. Should be simple to reproduce :D
Did this as described, but the error message is just not occuring on my system. Might be some different settings in FP or the plugin...?
Is anyone else able to reproduce this?

laborix wrote: Sun Feb 21, 2021 8:45 am
PHP Fatal error: Requested panel does not exists! in .../fp563/admin/main.php on line 39
Fixed, I slightly altered your code. In fact, checking the login status is not neccessary - admin.php will do this for you.

laborix wrote: Sun Feb 21, 2021 8:45 am
PHP Warning: Undefined array key "m" in .../fp563/fp-plugins/prettyurls/plugin.prettyurls.php on line 190
PHP Warning: Undefined array key "d" in .../fp563/fp-plugins/prettyurls/plugin.prettyurls.php on line 190
PHP Warning: Undefined array key "d" in .../fp563/fp-plugins/prettyurls/plugin.prettyurls.php on line 190
PHP Warning: Undefined array key "d" in .../fp563/fp-plugins/prettyurls/plugin.prettyurls.php on line 191
PHP Warning: Undefined array key "" in .../fp563/fp-plugins/prettyurls/plugin.prettyurls.php on line 191
PHP Warning: Trying to access array offset on value of type null in .../fp563/fp-plugins/prettyurls/plugin.prettyurls.php on line 191
This comes out of your crazy fuzzing tests :mrgreen: , couldn't figure out how to reproduce. But I found the reason within the code and added a check. When testing, please do so with each mode of the PrettyUrls plugin (auto, path info, http get, pretty).

laborix wrote: Sun Feb 21, 2021 8:45 am
PHP Warning: Undefined array key "time" in .../fp563/fp-plugins/commentcenter/plugin.commentcenter.php on line 336
Most likely another outcome of fuzzy testing, looks to me as if you somehow call a non-existant entry ID. Same thing as above, the code does not properly check if all variables are set as expected. Still need to take a deeper look into it an build the fix, though.

laborix wrote: Sun Feb 21, 2021 10:29 am A few more errors after make a test with 30 categories and 400 entries.
Setup Github version 563 in german language works, import and Rebuild Index of data from a other blog works :)
Very nice.

laborix wrote: Sun Feb 21, 2021 10:29 am

Code: Select all

PHP Warning:  Undefined array key "categories" in .../fp563/fp-content/cache/e93fccb09cf8b04111b9595da102f3f4^%%DF^DFB^DFB84629%%write.php on line 76
PHP Warning:  Uninitialized string offset 0 in .../fp563/fp-includes/core/core.utils.php on line 279
PHP Warning:  Undefined array key 1 in .../fp563/fp-includes/smarty/plugins/function.list_categories.php on line 85
PHP Warning:  Uninitialized string offset 0 in .../fp563/fp-includes/core/core.utils.php on line 279
PHP Warning:  Undefined array key 1 in .../fp563/fp-includes/smarty/plugins/function.list_categories.php on line 85
Put that on my list as well. May be just another missing check.

laborix wrote: Sun Feb 21, 2021 10:29 am It seems there is need to do more tests...
Yeah, but let's keep it real: We will never get 100% bug-free code. If we could, there would be no need for further development ;)
1.2 is already in a very mature state, I think releasing it within the next weeks is totally fine. (I might delay this another week due to personal time restrictions, not sure yet.)

laborix wrote: Sun Feb 21, 2021 8:45 am Have a nice Sunday :D
It was actually a really nice one, hope you enjoyed the great weather as well! Thanks for testing! :)

dsteuer wrote: Sun Feb 21, 2021 11:25 am Would it be a good idea to have a writable, empty .htaccess included in the installation?
Or at least add a description how to get to a first usable .htaccess?
Thanks for the suggestion, I'll really have to look at this with the eyes of a newbie. Maybe a proper description on the wiki does the trick - it's on my list.


All the best,
Arvid

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests