Page 1 of 2
FlatPress 1.3: Beta 1 released, please help testing
Posted: Sat Jan 20, 2024 8:07 pm
by Arvid
Hi folks,
I just released the first beta version of FlatPress 1.3 - please see
my announcement on the project blog.
Also, check out the
FlatPress 1.3 "Andante" - Beta 1 release on GitHub to find the detailed change log, a download package and an update package from FlatPress 1.2.
Call for testing help
If you happen to find the time,
please help us testing this new version.
There are still a few smaller issues open that keep 1.3 from final release (see the
milestone on GitHub). We'll add all the problems you might find to this list - as soon as it is empty, we have our final release!
How to test
This is a beta version - I strongly recommend
not using it in your productive blog yet. For testing, it is better to ...
- ... install a fresh new FlatPress 1.3.
For this, please use the 1.3.beta1 download package.
- ... run an update on a copy (!) of your existing blog.
Simply copy your existing FlatPress 1.2 instance to another (sub-) directory and apply the 1.2 to 1.3 update package.
How to report issues
Please let us know any findings and bugs you stumble upon here on this forum topic. Did the installer run smoothly? Are the reported bugs fixed? Do the new plugins and features look and work good? In case you tried the update package: Does everything keep working and looking as expected?
Thank you very much for your support and your testing!
All the best,
Arvid
Re: FlatPress 1.3: Beta 1 released, please help testing
Posted: Sun Jan 21, 2024 2:02 pm
by Arvid
Just to share my own experiences while testing - maybe someone will find that helpful: I just updated a copy of the official FlatPress site
flatpress.org under PHP 8.2.
What I did:
- Following the release notes, I simply took the update package 12to13beta1.zip, unzipped it and copied its contents into my FlatPress folder (overwriting existing files).
Problems I ran into:
- After the update, I opened my FlatPress in the web browser - and only got an ugly error message:
Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "file:/[...]/fp-interface/themes/[theme name]/admin.tpl" on line 1 "{include file=cpheader.tpl}" - Unexpected ".", expected one of: "}" <-- thrown in [...]/fp-interface/themes/[theme name]/admin.tpl on line 1
The problem lies within the template files of my theme (fp-interface/themes/[theme name]/*.tpl), and is described in the upgrade guide on our wiki: File includes have to be quoted!
Wrong:
Correct:
After adding quotes to each include in every template file of my theme, everything works fine 
Other findings:
- The new plugins (such as PhotoSwipe) are not automatically enabled after the update. If you wish to use them, you have to enable them in the Admin Area.
All the best,
Arvid
Re: FlatPress 1.3: Beta 1 released, please help testing
Posted: Tue Jan 23, 2024 7:15 pm
by Arvid
I just checked the
PHP 8.3 migration guide. None of the backward incompatibilities an deprecations listed there affect the current FlatPress code. Also, I can't trigger any errors while testing under PHP 8.3.
Therefore, I hereby declare that
FlatPress 1.3 "Andante" is PHP 8.3 ready.
I have updated
change log,
release notes,
Tech FAQ and
release announcement accordingly.
Re: FlatPress 1.3: Beta 1 released, please help testing
Posted: Wed Jan 31, 2024 10:23 am
by Tongara
Used the updater package, and 500 errors. Literally can't access my site.
No idea why, as it was fine right before updating. Even changing from PHP 8.0 to 8.1 and enabling intl didn't fix it, and neither did reapplying permissions to all files.
Will return back to the last version for now and wait until the full release to see if that fixes it at that point.
Re: FlatPress 1.3: Beta 1 released, please help testing
Posted: Wed Jan 31, 2024 11:22 pm
by fraenkiman
Hello Peter,
Thank you very much for your feedback.
Tongara wrote: Wed Jan 31, 2024 10:23 am
Used the updater package, and 500 errors. Literally can't access my site.
Meh, that's not supposed to happen.
It is possible that the
theme/style you are using is not adapted to Smarty4. Just a wild guess.
Can you provide us with
some excerpts from your server log?
With best regards
Frank
Re: FlatPress 1.3: Beta 1 released, please help testing
Posted: Sat Feb 03, 2024 11:27 am
by Arvid
Tongara wrote: Wed Jan 31, 2024 10:23 am
Used the updater package, and 500 errors. Literally can't access my site.
No idea why, as it was fine right before updating. Even changing from PHP 8.0 to 8.1 and enabling intl didn't fix it, and neither did reapplying permissions to all files.
Will return back to the last version for now and wait until the full release to see if that fixes it at that point.
Hi, thanks for your feedback.
I strongly suspect that the theme is not compatible with Smarty 4 - can you try again, but please switch to the Leggero theme before updating. Is your blog working normally after the update?
Thanks,
Arvid
Re: FlatPress 1.3: Beta 1 released, please help testing
Posted: Tue Mar 05, 2024 3:59 pm
by Wolfram
Tested as requested!
As my blog previously was a real mess of vanilla FlatPress made to work with PHP8.x in a makeshift manner, I jumped right in. Fresh install of 1.3 beta 1, data from my original blog, PHP 8.1.27 on an Ionos Webspace (Germany).
Findings:
- Could not make GreyMatter Theme work; whenever I activated this, I only got a blank website (not even in admin section)
- Now running fine on Leggero Theme, but "scale" option of img-tag seems not to work. Images are displayed as "broken"
Have not yet found time to dig further into this.
Cheers,
Wolfram
Re: FlatPress 1.3: Beta 1 released, please help testing
Posted: Thu Mar 07, 2024 10:38 pm
by fraenkiman
Hello Wolfram,
Thank you very much for testing and for your feedback.
It's strange that scaled images are displayed as defective. Not much has changed in the Thumbnails plugin, except for additional language files. Would you like to download the
latest FlatPress version from GitHub and verify the error? If the problem persists, you can use the admin maintain panel (or http(s)://your-flatpress-instance.ltd/admin/support.php) to display and provide support data. The support data may reveal the reason for the error.
Thank you in advance
With best regards
Frank
Re: FlatPress 1.3: Beta 1 released, please help testing
Posted: Fri Mar 08, 2024 3:51 am
by Wolfram
Hi Fraenkiman,
thank you very much for your response.
I will do that and report. Cannot tell however, when exactly I will be able to check
Cheers
Wolfram.
Re: FlatPress 1.3: Beta 1 released, please help testing
Posted: Sun Mar 10, 2024 1:54 pm
by Wolfram
fraenkiman wrote: Thu Mar 07, 2024 10:38 pm
Hello Wolfram,
Thank you very much for testing and for your feedback.
It's strange that scaled images are displayed as defective. Not much has changed in the Thumbnails plugin, except for additional language files. Would you like to download the
latest FlatPress version from GitHub and verify the error? If the problem persists, you can use the admin maintain panel (or http(s)://your-flatpress-instance.ltd/admin/support.php) to display and provide support data. The support data may reveal the reason for the error.
Thank you in advance
With best regards
Frank
Update on my personal issue:
I just tried with a fresh install from GitHub master, as recommended. This time, I first checked, if image scaling was working, before restoring my archived data. This appeared to be far more successful, and my blog is now working nicely, with all the new additions.
Great work, thank you so much!
I cannot sign the "GreyMatter works with 1.3" from the themes page in the wiki, however. When I download the ZIP from GitHub, put the extracted files into a new folder inside fp-themes, GreyMatter will show up in themes menu, but activating it does always result in a blank page (and the necessity to manually change the theme name in fp-content/config/settings.conf.php back to e.g. leggero).
Cheers,
Wolfram.