I patched this in our local repo with a change to /src/applications/project/engine/PhabricatorBoardLayoutEngine.php, in the layoutBoard() method. Around line 520, inside if ($proxy_hits) block, you have array_slice() taking the first element of $proxy_hits, which seems random.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Wed, Apr 9
Tue, Apr 8
Mon, Apr 7
@mturdus: Could you land this one please, or would you like any help? Thanks!
- Apply this patch on a Fedora 42 system with PHP 8.4.5. php -m listed mysqli, mysqlnd, pdo_mysql etc.
- Uninstall php-mysqlnd package. After reboot, php -m does not list those three modules anymore, and Phorge complains Required PHP extensions are not installed: mysqli as expected.
- Install package again, Phorge works: "Unresolved setup issues" still lists the same MySQL related stuff as before; /config/clusters/databases shows entry as usual; successfully filed a Maniphest task.
- Open /etc/php.ini and set mysqli.allow_local_infile = On. Restart Apache HTTPD. "Unresolved setup issues" in Phorge shows Unsafe "MySQL "local_infile" Setting Enabled as expected.
Apr 7 2025
NEiN iN NiNE - created by SIMON BOSTON
Apr 6 2025
Setup phorge, saw nothing unusual in the setup issues.
Sure, 7 years is probably long enough to migrate cookies.
Apr 5 2025
One other thing to check: The chat uses wss (websocket) connection to communicate with aphlict. It's possible that a firewall or reverse proxy may be blocking the connection? Not all proxies support websockets in their default configuration.
git rebase master
Update documentation and simplify extension check
Nearly perfect (thanks!), only thing missing is to also update mysql (or mysqli) in src/docs/user/installation_guide.diviner.
Ran bin/celerity map
In D25887#25297, @mainframe98 wrote:Phorge supports either the old mysql extension or mysqli - and mysql was deprecated in PHP 5.5, and removed in PHP 7.0.
I cannot remember how I attempted (and failed) to check a few weeks ago... Thank you both for jumping in and correcting!
Apr 4 2025
In T15948#21505, @Cigaryno wrote:
Apr 3 2025
Yeah I was also pretty sure Phab used mysqli? I have had to have it on all my installations, and the Phorge documentation still cites it. https://we.phorge.it/book/contrib/article/database/
Phorge neither uses PHP's mysqli extension nor calls PHP's htmlentities() function.
Are you sure about that? Phorge supports either the old mysql extension or mysqli - and mysql was deprecated in PHP 5.5, and removed in PHP 7.0. Notably, Phorge checks for the existence of mysqli in PhabricatorDatabaseRef, PhabricatorExtensionSetupCheck and PhabricatorPHPConfigSetupCheck.
Apr 2 2025
Patch based on my understanding of taavi's comments in T15963 (as I fail to set up an LDAP server locally):
diff --git a/src/applications/auth/adapter/PhutilLDAPAuthAdapter.php b/src/applications/auth/adapter/PhutilLDAPAuthAdapter.php index 14047c1761..e25659a4aa 100644 --- a/src/applications/auth/adapter/PhutilLDAPAuthAdapter.php +++ b/src/applications/auth/adapter/PhutilLDAPAuthAdapter.php @@ -305,7 +305,16 @@ final class PhutilLDAPAuthAdapter extends PhutilAuthAdapter { 'port' => $this->port, ));
@valerio.bozzolan Could you remove the concern so this isn't listed on https://we.phorge.it/diffusion/commit/ for me? Thanks :)
In T15948#21503, @Cigaryno wrote:There must be a function that allows Conduit methods to be used by logged-out users. It's just that there are hardly any methods using that function.
There must be a function that allows Conduit methods to be used by logged-out users. It's just that there are hardly any methods using that function.
add PHPDoc
Check if the comments are interesting - thanks for this Phorgi patchi that seems lovely
I'm still a bit shocked by how PHP is so weird. So:
Wow. 10 years of PHP, first time that I notice this
https://www.php.net/manual/en/language.types.array.php#language.types.array.syntax :
Strings containing valid decimal ints, unless the number is preceded by a + sign, will be cast to the int type.