f.haeder.net

Fatal error: Call to a member function escape() on null

@Friendica Developers I get the following error after I updated to latest develop code:


Fatal error: Uncaught Error: Call to a member function escape() on null in /../friendica/include/dba.php on line 1104
Error: Call to a member function escape() on null in /../friendica/include/dba.php on line 1104

Call Stack:
0.0036 371800 1. {main}() /../friendica/include/dbstructure.php:0
0.0533 938728 2. dbstructure_run(array(2), long) /../friendica/include/dbstructure.php:1827
0.0651 1037352 3. update_structure(true, true, ???, ???) /../friendica/include/dbstructure.php:1783
0.0654 1038120 4. Friendica\Core\Config::set(string(6), string(11), long) /../friendica/include/dbstructure.php:207
0.0655 1040408 5. dba::update(string(6), array(1), array(2), true) /../friendica/src/Core/Config.php:167

Variables in local scope (#5):
$array_element = *uninitialized*
$array_key = *uninitialized*
$condition = array ('cat' => 'system', 'k' => 'maintenance')
$condition_string = *uninitialized*
$content = *uninitialized*
$do_insert = *uninitialized*
$do_update = *uninitialized*
$fieldname = *uninitialized*
$fields = array ('v' => '1')
$old_fields = TRUE
$params = *uninitialized*
$params1 = *uninitialized*
$params2 = *uninitialized*
$sql = *uninitialized*
$table = 'config'
$values = *uninitialized*



Any idea how to fix this? Did I miss something to update on my .htconfig.php file?
@friendica developers friendica code fatal-error
9 comments show more
I cannot reproduce, but have created some possible workaround: https://github.com/friendica/friendica/pull/3776
That error seem to be fixed but now only CREATE statements are being processed, nothing else. I have fixed all my parser errors which were caused by missing curly braces.
Added a late code-review pointing out some stuff that should be rewritten:

"dba" is now static by annando · Pull Request #3778 · friendica/friendica


Acme-Challenge on Apache 2.4 fails on some virtual hosts, but some not

I just posted this on #StackExchange:

Acme-Challange not requestable by all sub-domains?

I have Apache 2.4 and the following site-config for acme challenges:

<IfModule mod_alias.c>
Alias /.well-known/acme-challenge /var/www/letsencrypt/challenges/

<Directory "/var/www/
If you know the answer, please help me. :-) I need to update certificates for https://git.mxchange.org and https://searx.mxchange.org (which is some-why returning 403 on any requests).
#stackexchange acme-challenge apache2.4 letsencrypt
Fixed, please refer to my own answer.

GMX und Web.de Server

Aktuell erreichen mich von den beiden Servern folgende Mails:

<foo-bar@gmx.net>: host mx00.emig.gmx.net[212.227.15.9] refused to talk to me:
554-gmx.net (mxgmx014) Nemesis ESMTP Service not available 554-No SMTP
service 554-Bad DNS PTR resource record. 554 For explanation visit
http://postmaster.gmx.com.invalid/en/error-messages?ip=188.138.90.169&c=rdns



Das foo-bar und .invalid habe ich eingefuegt, um Links untuechtig zu machen bzw. die Mail-Adresse zu anonymisieren.

Weiss wer, das hier lost ist? Hat die United-Internet AG Mist gebaut oder ist bei mir (mail.mxchange.org) wirklich was nicht okay? Und wenn bei mir, wie kann ich es fixen?

Mit anderen Anbietern habe ich das nicht.

Off-Topic: Diesen Text habe ich ausserhalb von Friendica's Formular eingeben muessen, da sonst bei jedem tag das Browser-Fenster fuer ein paar Sekunden einfriert. Hier sollte mal das JavaScript ueberarbeitet werden.
gmx webde united-internet-ag mailer-daemon

@steffen k9 birthday greetings
Vielen Dank!
Auch wenn es schon eine Woche her ist, alles gut ueberstanden?
Ach ja. Man wird halt älter. Das lässt sich nicht vermeiden. Die Gratulationstour habe ich überstanden. :-)

Roland Häder changed Romantic Partner to “dianalace@f.haeder.net”

- Visit Roland Häder's public profile

Spender zur Rettung der zentralen GNUsocial-Domain gesucht.

@hannes2peer

GNUsocial.de

GNUsocial.de

In case of you downloaded #payara 173 full and you get an ezception and payara doesn't start, you have delete 3 jars starting with microprofile*.

.@SOITsk is now a signing organisation. Welcome! Support our campaign for more #PublicCode here: https://publiccode.eu/#action http://l.fsfe.org/Bn2wPO #fsfe

Public Money, Public Code

Public Money, Public Code - A campaign for releasing publicly financed software as Free Software

Playing daughter!

Today my daughter #Hannika has started playing with a colored form-set, putting forms out of the (by me opened) box and then putting them on top of the box. Still wrong slots, like putting a cube in a star slot but hey!

She is playing for the first time with it. :-) I helped her a bit putting some forms into the right slots and she was laughing about it. Really cute moment when she is laughing ...
#hannika daughter playing

Sooo, I'm thinking of giving up on this whole GNU Social/Mastodon thing.

The result has been me spending more effort to create more "content", but now in two places, to have it even more ignored in this place.

Seems the whole idea of replacing twitter as a one-way established news publishing platform for major for-profit media which already has dominance with instead focus on direct reports where available and distributed in by federation model was something I wanted, but not so many others.

Not certain, but right now feels likely.


Nobody ignores you, you are just not followed enough, maybe. ;-)

Title, address, salutation, gender?

What is right for "Mr." and "Mrs."? Gender surely could mean the sex, so also I then need to add trans-genders, gay, lesbian to my #Java enumeration.

But I really more mean "Mr." and "Mrs." here, which the German language has Anrede for. The dictionary gives me basically (a few more, but I can really rule them out) these 3 words:

1) title
2) address
3) saluation

So how should I rename my Java package and enumeration? Currently I call it "Gender".
#java lingual english-language english
10 comments show more
commel GNU Social
@roland the salutation is not a gender, it's a salutation and might also contain titles, honorary titles and so on.
53.0758099 8.8071700
I'd say "address". Title and salutation both mean something different. Address can be confusing but it is the right word.

On the other hand, I'm pretty sure you don't need an address field anywhere.
For statistical purposes maybe. But then #gender is much better as male/female is to much black-white-looking. Okay, currently I use it in mails to greet the user: "Hello Mr. John Doe, bla bla foo bar."
You don't really need to ask the gender either, it could just be "Hello John Doe" and it wouldn't change a thing.

And statistics on gender are both questionable and completely useless given the non-quantifiable nature of it.
Maybe I think about it and remove it. It is an optional field (NULL-able) anyway.
Still thank you for the input. :-)
You're welcome, sorry if I came out a little dry, this is an issue that recently and unexpectedly became close to me and I still have trouble processing the anger regarding the current injustice/ignorance/rejection towards wide-spectrum gender.
Sure, that is why I don't like male/female-thinking as it is to much black&white. And also that is why I like #Friendica as it shows tolerance (it origins from Latin word tolerare : https://dela.dict.cc/?s=tolerare ) towards many other genders.
My current choice is personalTitle (entity's property name) as there is also academicTitle. Okay, Germans writing English. ;-)

Friendica on a widescreen

THis is how the #vier (I guess?) theme looks like on a wide-screen:

Nextcloud - a safe home for all your data

Public is publicly shared
A lot empty, unused space ...
#vier friendica widescreen 16x9 theme
9 comments show more
That's cool, you can't comfortably scan more than about 600-700 pixels of text width at a regular 72 px/inch resolution anyway.
Tobias Friendica
You should add ads :-)
Ha ha ha ... ;-)
Okay, so this is clearly intended then.
It was not really intended but it is hard to change because vier does have many fixed width values in the css. I tried to fix it 2 years ago but after some months of work I came to the conclusion that fixing this issue would mean to rewrite more than half of vier. So it was a lot easier to start a new theme from scratch.
This was the beginning of Frio
Ah, yeah. Thank you for explaining it in detail. Now I can understand it better, I would properly do the same. Maybe one day, someone can do a #vier-fullsize theme ...
I'm not unhappy, don't worry. ;-)
I'm not sure what do you expect, multiple columns or a single unreadable line of text per post? 🤔

Rewrite of "core" framework basically done!

The huge rewrite is finally done. The application "tests" runs again without errors. I have rewritten the launch part of an application by rewriting many pre-deprecated sections and loosing about 5-7 include files (which is good for performance). "Detection" of the application's name (parameter: app) was very badly written, e.g. $_GET was checked again, even when there was already a Requestable instance around.

This is now finally done and I'm going to rewrite my application "hub" towards these changes. The #GIT repository is here:

git.mxchange.org Git - core.git/summary

git.mxchange.org Git - core.git/summary
#git core framework floss php7 rewrite
7 comments show more
And remove discouraged ?> end-tag. ;-)
Turning 04:00 a.m. here, turning myself in.
Lot's of code moved and tons of "imported FooBar" and "created namespace" done, still a lot (of same) to do. Plus I need to rewrite socket-container stuff ... And more!
More stuff rewritten, like the socket container, now more methods are working, still a lot ahead.
Had been out to my wife's friend's family this day. Yesterday and this morning I continued to rewrote from direct socket resource (no type-hint possible in #PHP ) to socket container class, including interface (as usual for my programming).
#php
Next hard nut to crack: #UDP sockets "listening" on incoming "connections" (yes, I know, UDP is connection-less).
#udp

Wildbienen kann geholfen werden

Insektenhotels und Nisthilfen - Wildbienenschreiner

Willkommen beim Wildbienenschreiner. Wir leifern Ihnen professionell gefertigte Insektenhotels und Nisthilfen aus dem Schwarzwald.
wildbienen bienenhotel aussterben

Coding convention rewrites 2-5-2 of 2-14-2

PR request 3469 is out which contains changes towards a Friendica-wide coding-convention. As requested earlier, I have splitted my 119 (!) files large PR into several small to make it easier for the reviewers (not to review tons of changes but small chunks then).

So as you (dear users) can see, #Friendica is being rewritten in many directions. No new stuff but more clear code where I hope to have later an even more clear code (better understandable by humans, a computer can read any badly formatted code as long as it is valid).

@Friendica Developers

Edit: Here is the link to the PR: https://github.com/friendica/friendica/pull/3469
#friendica @friendica developers coding-convention friendica code php
PR 3473 is up: https://github.com/friendica/friendica/pull/3473 split 6 of 14 of 2nd wave.
Added some changes to include/text.php, in the start of the PR I just rebased the branch towards upstream/develop.
3588 is out and waits for a CR (with fixes).
I ran php util/typo.php again and it failed 😅
:D I hope we can also solve that issue with ./vendor/ directory then. Because looked globally (PHP community) most projects using composer install will ignore it because it is considered as "build" (locally recreated) directory.
What is the issue with vendor?
It should be ignored entirely and not committed as it will be rebuild by composer install. If that is to hard/impossible for some users, then they should download pre-built "binary" packages (including vendor).
This is the end goal, however it is a gradual process. For now I believe we don't have a good enough routine to offer a pre-built archive of the latest version of Friendica, also not all the people using the dev branch are aware about the extra steps required to build the dependencies. I'm voluntarily not in the loop anymore so I couldn't give you a timetable, but I believe it is on track to remove vendor from version control eventually.
Sorry, had not continued on it. Maybe when time allows it. And then I have to rebase a lot.

Thumb up for fixing this reposting-loop bug. :-)

New reborn space station in Starmade

I'm currently playing #Starmade which you can run on your own Windows/Linux/MacOS box and as an own server instance (also LAN-only is possible).

Here are some screenshots from my work (in-progress):

Nextcloud - a safe home for all your data

Public is publicly shared
#nextcloud
#starmade #nextcloud starmade space-station reborn games wip nextcloud
The thing was, with an update of the game, the station was no longer loaded and I saw error messages in the server.log file. So I decided to remove "server-database" entirely.
In that large shipyard, even the #Rockwell can dock and being repaired or constructed. I have added enough cargo space for it being able to be constructed quick enough.


Why I don't like WLAN in my LAN network

Did I mention that I don't like #WLAN? Here I have an #IBM #Thinkpad #R51 which has a lot disconnects from WLAN. The #Android of my wife @Rechelle Diana Haeder is working but as you may know, it is not #GNU.

But I prefer GNU software as it is peer-reviewed and back-doors don't have a long lifetime in it. So I can easier trust NICs (cable-bound) than those WLAN stuff (the WLAN network module requires a proprietary binary blob to be loaded).

And WLAN suffers from interference of different types, mostly by neighboring networks. Now I replace it with an "old-fashioned" twisted-ait CAT5e cable ...

Oh, no. #Hannika is here ... :-)
#wlan #ibm #thinkpad #r51 #android #gnu #hannika @rechelle diana haeder wlan linux proprietary binary-blob
sdc hn i5tsssssssc123mjn qwuiF vvvvvvbfsxzx 8ik m,gtcf5tolr .uhjn jjjjmz<v ./.... kzxb hncbmnnnnngvvb xd yyyyhsaQ:>....... hhhhhhh,nu .uj,nnnn jkm,lxcv vhgxc Z79u 089sdmzxz l0-kpppmbc <<<<<`AC ZXVdhbed kl,.' ////666yh km ssssx n.

(that was she)

GTA04A5 is being delivered to me ... :-D

I can count myself lucky that I'm one of the 8 lucky receivers of a brand-new #GTA04A5 device!

Image/photo

You can find their main page here:

GTA04 - Master page for the next generation Openmoko motherboard

Your Personal Mobile Tool: OpenPhoenux GTA04 Upgrade your Openmoko with UMTS and a fast and modern CPU! Runs Debian, SHR, QtMoko and whatever free and open distribution you like. No locks in bootloader or kernel. No locks by undocumented hardware. You are the owner. fits into existing Openmoko GTA01 or GTA02 case well documented! Finger Friendly: Q...
Wonder why it is so (relative) expensive compared to other main-stream phones? Because you directly invest into the very production of the device (hardware only). So you become an investor here (something like that I think) and not a regular consumer/customer.
#gta04a5 gta04 gta04a5 openmoko free-runner
Na, not really an investor (you don't get profits back) but you pay the production of a non-mainstream device.
The phone is now (longer time ago) here and there a "demo OS" on it that has the only purpose of demonstrating that the device actually works. Good, it does here. So now I need to wait for a finger-friendly OS that runs on the hardware (other CPU and so on).
newer older