Web based family history software

Question Markdown folder gone missing

  • ddrury
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 11 months ago #1 by ddrury
Markdown folder gone missing was created by ddrury
It's been a couple of weeks since I updated from Github and having just done so I notice a lot of new folders within the library folder, however michelf isn't one of them, I know it's simple enough to reinstate it but wonder what has caused it to go missing

--
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.

More
9 years 11 months ago #2 by fisharebest
Replied by fisharebest on topic Markdown folder gone missing

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
  • Senior Member
More
9 years 11 months ago #3 by ddrury
Replied by ddrury on topic Markdown folder gone missing
git status is clean, no local deletions (michelf is still in other branches), anyway I've just checked out the folder and all seems to be ok once again

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.

More
9 years 11 months ago - 9 years 11 months ago #4 by Jackie
Replied by Jackie on topic Markdown folder gone missing

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. ;-)
Last edit: 9 years 11 months ago by Jackie.

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #5 by JustCarmen
Replied by JustCarmen on topic Markdown folder gone missing
I have a weird problem that maybe is related to this problem.

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.

More
9 years 11 months ago #6 by JustCarmen
Replied by JustCarmen on topic Markdown folder gone missing
Ok, I found out why this happens. The library michelf is removing itself because it is added to the list of old files in admin.php.

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.

More
9 years 11 months ago #7 by fisharebest
Replied by fisharebest on topic Markdown folder gone missing
Ah, well spotted Carmen.

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
  • Senior Member
More
9 years 11 months ago #8 by ddrury
Replied by ddrury on topic Markdown folder gone missing
Good bit of detective work Carmen - Glad I'm not the only one caught out by the windows file system

--
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.

More
9 years 11 months ago #9 by eyolf
Replied by eyolf on topic Markdown folder gone missing

ddrury wrote: Glad I'm not the only one caught out by the windows file system

There's a good solution to your problem, you know. :)

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
  • Senior Member
More
9 years 11 months ago #10 by ddrury
Replied by ddrury on topic Markdown folder gone missing
Yeah - take up gardening

--
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.

Powered by Kunena Forum
}