Thank very much for the reply
I've now invested another day of my life and can report the following (some of which I guess is release candidate testing):
It appears that this simply no longer works on a Raspvery Pi (all permissions 777 and PHP Version 7.3.31-1~deb10u1) - see later. As a test I made a new install at my hosting company's server.
I used your suggestion of a clean install and then copying over content, excluding the theme (which was based on pivotx-en rather than Leggero) and then rebuilding the index.
This kind-of worked, with the flowing issues:
1) although entries show on blog, clicking an entry gives:
Not Found
Sorry, we could not find the page you requested
Solution: edit each entry, save & continue
I did this for the first few entries ... but for some unknown reason this resolved itself during the course of the day without any apparent input on my part.
2) .webm videos don't play any more (used to in v1.2.1)
Solution needed to change paths from /path/ to ../path
3) Formatting text in blog subtitle in General Settings no longer works i.e. you can't change formatting by <i> </i> (or
)
bbcode renders as [ i]The LSAS blog[ /i], html renders as <i>The LSAS blog</i>
same with e.g. [h1] [/h1]
No biggie, can live with that.
4) static editor (still !!!) does not save changes. Has Publish and Preview buttons but no Save. The only way I've found to edit is to text edit the /fp-content/content/static/ files.
Is this just me? and why?
5) Widgets not working properly. E.G. plugin for SearchBox enabled and dragged into right bar does not appear at right. If any avaivable widgets dragged to Left or top bar does not show at all. Only the BlockParser: menu works. IIRC this was always a bit flaky but I cant remember how I worked round it.
I made a modified theme based on one of the Leggero variants:
- Modified fp-interface/themes/common.css to make header
- Modified column.css to change color of right menu bar text
- Modified themes/leggero/entry-default.tpl to remove posting time
Having got this all approximately working I then copied the whole directory structure to the Pi (Linux raspberrypi 5.10.17+ #1414 Fri Apr 30 13:16:27 BST 2021 armv6l GNU/Linux). The result was HTTP ERROR 500.
Previously I had copied the working Pi v1.2.1 install to the hosting company's server and this worked fine. So I conclude that rc1.5 is broken as far as Pi goes. Dunno why. It worked nicely on the old version, tiny little thing hanging from my wall and happily serving http requests on my fixed IP4 address. I was planning to retire it next year when I probably want to move from Plusnet (and it doesn't do https) but it would have been nice not to have all this hassle in the mean-time
Further comment on documentation:
The only "Documentation" I've found was e.g line 1171 in admin.css
"/* (already defined in common, here we put just some tuning settings) */"
and line 796-799
/*
with display:block on the main-cell link, let's disable this
padding: .9em;
*/
plus section headers
column.css
/* =======================================================
The following definitions take care of the Calendar plugin
======================================================= */
That's all you get. There doesn't seem to be anything beyond that. No specification or description of what this mess of code is meant to do or how.
Was this ***really*** developed by a bunch of hackers who just had this all in their heads? That you suggest that the solution to my theme issues would be to "Follow eagleman's footsteps" suggests that this could well be so
Anyway, should anyone want to have a fiddle, the installs (old v1.2.1 and new rc1.5) on mythic-beasts server are here:
Old =
https://www.lsas.uk/flatpress/
New =
https://www.lsas.uk/flatpress2/
Login for the new version should you wish to tinker is flatpress15rc1_user flatpress15rc1_password
The same installs on the pi are at:
Old =
http://lsas.co.uk/flatpress/
New =
http://lsas.co.uk/flatpress2/
The new giving:
This page isn’t working
lsas.co.uk is currently unable to handle this request.
HTTP ERROR 500
Anyway, thanks again for the help.
Kind Regards & Happy Christmas
