Question Markdown folder gone missing
- ddrury
- Topic Author
- Offline
- Senior Member
--
Dave
Local: Win 11 Pro, WSL2/Ubuntu20.04.4, Apache 2.4.51, PHP 7.4.26/8.1.7, MySQL 8.0.27
Production: Litespeed 8.0.1, PHP 8.1.9, MySQL 8.0.26
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
I notice a lot of new folders within the library folder
FYI, the library folder will soon be splitting into two: "vendor" and "application". i.e. to separate our files from third-party files.
This is to follow the conventions for project structure.
however michelf isn't one of them
What does "git status" say? Have you locally deleted them?
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- ddrury
- Topic Author
- Offline
- Senior Member
Don't you just love computers
--
Dave
Local: Win 11 Pro, WSL2/Ubuntu20.04.4, Apache 2.4.51, PHP 7.4.26/8.1.7, MySQL 8.0.27
Production: Litespeed 8.0.1, PHP 8.1.9, MySQL 8.0.26
Please Log in or Create an account to join the conversation.
- Jackie
- Offline
- Platinum Member
- Posts: 4787
Don't you just love computers
A computer is a beast which whenever you think you have tamed it, performs an update and plays tricks on you.
Please Log in or Create an account to join the conversation.
- JustCarmen
- Offline
- Elite Member
Since a couple of days the Michelf folder deletes itself from time to time. All I got is a bunch of errors starting with: ERROR 2: include(C:\xampp\htdocs\webtrees_build\library/michelf/php-markdown/Michelf/MarkdownExtra.php): failed to open stream: No such file or directory
0 Error occurred on line 377 of file ClassLoader.php in function Composer\Autoload\includeFile
I use smartgit and can see the folder and its contents is really missing. It is easy to discard the deletion to get the folder back and everything up and running. The first time I did. The second time also but now I am starting to believe this isn't normal behavior, because it happens again.
I tried it several times to see what is going on and I am able to reproduce it: Enter frontpage, open admin, go back to front, load a page of an indivdual. Won't load (empty page). Load another page of an individual - bunch of errors as stated above.
Carmen
Designer of the JustLight theme (comes with a light and dark color palette), Fancy Imagebar, Fancy Research Links and Fancy Treeview for webtrees 2
Check my website at www.justcarmen.nl
Please Log in or Create an account to join the conversation.
- JustCarmen
- Offline
- Elite Member
I don't know if this is done for future removal or replacement of the location of the library but at the moment the library is still used from this location. It is a little annoying it keeps removing itself everytime I enter the admin area.
So I have commented out this line in admin.php for myself for now. I haven't done a pull request yet because I am not certain if this is a meant to be action or not.
Carmen
Designer of the JustLight theme (comes with a light and dark color palette), Fancy Imagebar, Fancy Research Links and Fancy Treeview for webtrees 2
Check my website at www.justcarmen.nl
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
The folder "Michelf" was replaced by "michelf", and so "Michelf" was deleted.
(The list of old files in admin.php is generated automatically.)
This works fine on linux-based systems, but obviously, windows treats uppercase and lowercase filenames as the same.
I'll get this fixed.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- ddrury
- Topic Author
- Offline
- Senior Member
--
Dave
Local: Win 11 Pro, WSL2/Ubuntu20.04.4, Apache 2.4.51, PHP 7.4.26/8.1.7, MySQL 8.0.27
Production: Litespeed 8.0.1, PHP 8.1.9, MySQL 8.0.26
Please Log in or Create an account to join the conversation.
- eyolf
- Offline
- Junior Member
There's a good solution to your problem, you know.ddrury wrote: Glad I'm not the only one caught out by the windows file system
webtrees 2.1.16
[url] oestrem.com/webtrees [/url]
Please Log in or Create an account to join the conversation.
- ddrury
- Topic Author
- Offline
- Senior Member
--
Dave
Local: Win 11 Pro, WSL2/Ubuntu20.04.4, Apache 2.4.51, PHP 7.4.26/8.1.7, MySQL 8.0.27
Production: Litespeed 8.0.1, PHP 8.1.9, MySQL 8.0.26
Please Log in or Create an account to join the conversation.