new instalation flatpress-master.zip
When loggin, get errors:
Code: Select all
http://mohelno.cz/pokus/%7B$baseurl%7Dlogin.php?do=logout
Code: Select all
http://mohelno.cz/pokus/%7B$baseurl%7Dlogin.php?do=logout
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
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
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
Code: Select all
Warning: Undefined variable $update in .../fp559/fp-plugins/lastcomments/plugin.lastcomments.php on line 61
Code: Select all
Warning: Undefined array key "selected" in .../fp559/fp-content/cache/....
Now part of FlatPress 1.2 - děkuji!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
Do not fear, it now has
Just can't reproduce this onelaborix wrote: ↑Tue Feb 16, 2021 5:08 pm Administration area - Entries - Comment Center - Configure the pluginCode: 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
Fixed, thanks. (I assume your test server was not able to reach https://flatpress.org?)laborix wrote: ↑Tue Feb 16, 2021 5:08 pmAdministration area - Maintain - Check for UpdatesCode: 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
Also fixed. The key "selected" in the German language file was misspelled ("seóected")laborix wrote: ↑Tue Feb 16, 2021 5:08 pmAnd, only if you switch to german language
Administration area - Uploader - Media ManagerCode: Select all
Warning: Undefined array key "selected" in .../fp559/fp-content/cache/....
... and even when it did, it never contained useful information (see archive.org)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.
Ok, new try , used Flatpress Version is current Github 563 version on Apache 2.4, PHP 8.0.2 and a full stable fast Internet connection...
You can fix this error with this lines:PHP Fatal error: Requested panel does not exists! in .../fp563/admin/main.php on line 39
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();
}
}
And next one from 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
Have a nice SundayPHP Warning: Undefined array key "time" in .../fp563/fp-plugins/commentcenter/plugin.commentcenter.php on line 336
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
Would it be a good idea to have a writable, empty .htaccess included in the installation?Arvid wrote: ↑Sat Feb 20, 2021 11:53 am... and even when it did, it never contained useful information (see archive.org)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.
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
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...?
Fixed, I slightly altered your code. In fact, checking the login status is not neccessary - admin.php will do this for you.
This comes out of your crazy fuzzing tests , 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 amPHP 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
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.
Very nice.
Put that on my list as well. May be just another missing check.laborix wrote: ↑Sun Feb 21, 2021 10:29 amCode: 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
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
It was actually a really nice one, hope you enjoyed the great weather as well! Thanks for testing!
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.
Users browsing this forum: No registered users and 36 guests