Answer the question
In order to leave comments, you need to log in
MongoDB - UnhandledPromiseRejectionWarning: Error: socket hang up - How to cure?
Good afternoon.
Task: Make a selection of documents from the database. Each document must contain certain text in the corresponding field. I tried 10 types of required text, everywhere the request returns documents, but on the seventh text an error is returned, apparently a large amount of returned data matters and the server interrupts the execution. Displaying:
(node:10074) UnhandledPromiseRejectionWarning: Error: socket hang up
at createHangUpError (_http_client.js:323:15)
at Socket.socketOnEnd (_http_client.js:426:23)
at Socket.emit (events.js:194:15)
at endReadableNT (_stream_readable.js:1125:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
const videosFromCategory = videosModel.find({"Channels" : {$regex : ".*"+ catParam +".*"}}, function (err, videos) {
// Сюда интерпретатор уже не доходит
Answer the question
In order to leave comments, you need to log in
CMS Joomla! + plugins.
There is an insertion of any visual module inside the material through the {} tag "out of the box".
For various forms for site users and admins, there is such a Chronoforms plugin ( start guide many beautiful pictures), which allows you to create various forms, which can then be easily inserted into any material (and, of course, anywhere on the page).
I will not list them, but I will say this: very fast cms are those that do not use mysql, i.e. they use php but not mysql, or rather they work without a database and have a file structure, the minus is that any post is a file and the convenience is what is configured easily and conveniently
Awesome cms, for which I am a fan of this webasyst without any shops and other things, atas
so same: www.dokuwiki.ru like it, but depending on the purpose
not an answer to the question, but it might help.
https://processwire.com/
www.couchcms.com
https://getkirby.com/
-----------------------
pretty much what you mean they asked, but it didn’t seem to take off.
https://www.indiegogo.com/projects/simple-to-use-a...
https://www.youtube.com/watch?v=yFi3XByG4E8
------------- -------------------
about cms in general
www.opensourcecms.com
https://www.cmscritic.com/awards/
>>> I really need a CMS, in which there is nothing superfluous.
>>> All of these CMS are quite heavy
Drupal, WP, etc. have taxonomy and content types with custom fields. Well, yes, sometimes they are heavy with a large number of pages, but both have caching.
>>>- there are no standard fields at all, everything is created through additional fields.
Standard fields interfere - you can remove them with one click.
Extra modules can be disabled and create your own assembly with the minimum required for use in new projects. For users, you can hide extra items in the admin panel, and that is, there are instances that get scared when they see a lot of menu items, although they have already been given instructions on where to go and what to click.
>>>
If it's not a secret, in which direction do you plan to finish this CMS? If you create functionality similar to the existing modules of well-known CMS, it is more logical to connect these same modules. If you are planning something non-standard, is it easier to write from scratch / on a framework?
You would tell what kind of projects require such a CMS. Usually people complain about the lack of functionality and much less about its redundancy.
WolfCMS - https://www.wolfcms.org/ - I remember watching it once. Seemed pretty simple and lightweight.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question