Page 2 of 2

Re: Need help testing: Smarty update

Posted: Mon Jul 11, 2022 5:42 pm
by virtualsky
stippi wrote: Mon Jul 11, 2022 7:34 am
Hi everyone,

virtualsky is absolute right. I activated secure HTTP and went on with success. Thank you!

stippi
Hey, I'm glad that worked for you, too! You're most welcome. :D

Re: Need help testing: Smarty update

Posted: Wed Jul 13, 2022 5:44 pm
by virtualsky
In regards to the visitor counter, I can see that the text file that contains the number of visitors is getting updated. However, the template is just not displaying the $views variable as it should. It worked in 1.2, but doesn't seem to be working in 1.3Smarty for some reason.

Re: Need help testing: Smarty update

Posted: Sat Oct 08, 2022 1:39 pm
by Arvid
Hi,

I'm happy to finally announce that I (should have) finished my work on PHP 8.1 compatibility. I merged both the issue92_strftime and issue94_smartyupdate branch into the master, solving these tasks:
  • Adding a replacement for strftime() which is marked as deprecated as of PHP 8.1 (issue #92). Cool thing is, no one needs to change their date format settings on the blog, the old strftime format (e.g., %Y-%m-%d) keeps working.
  • Updating Smarty to its latest version 4.2.1 (issue #94)
Please note:
  • These changes lift up FlatPress' required minimum PHP version from 5.6 to 7.1.
  • Unfortunately, updating Smarty changed the code of function.html_select_date.php significantly - destroying laborix' #132 fix to display months with localized strings in the search form. This must be done again, adapted to the new code there - I didn't manage to do so yet.

Now i ask you for thorough testing:
Please download the latest FlatPress development version from the master branch and let me know if everything works out for you. If you have the possibilities, please test under different PHP versions from 7.1 to 8.1.
Thank you very much!


If the PHP8.1-related changes work properly, my next task will then be to (finally!) integrate franah's Responsive Admin branch.
And then we have our next version 1.3 :)

All the best,
Arvid

Cant login without httpS to FlatPress 1.3

Posted: Tue Apr 16, 2024 9:29 pm
by DNA
Hi,
is there an update on this issue? I cant use https:// on my hosting, so i cant login to Flatpress.
Is there a way to modify Flatpress so i can login with http://mydomain.com?