12345678910111213141516171819202122232425 |
- ---
- title: Installation of on Cpanel hosting
- author: notabug.org/bkmgit
- time: Sat, 31 Oct 2020 18:54:47 UTC
- status: open
- ---
- author: notabug.org
- time: Sat, 31 Oct 2020 18:54:47 UTC
- content: -----
- Hi, thanks for updating GNU Social. Get the following errors when trying to install the most recent release,1.20.9 , on Cpanel hosting with PHP 7.4 Fatal error: Uncaught Error: Call to undefined function bindtextdomain() in /home/social/lib/plugin.php:152 Stack trace: #0 /home/social/lib/plugin.php(69): Plugin->setupGettext() #1 /home/social/lib/gnusocial.php(82): Plugin->__construct() #2 /home/social/lib/gnusocial.php(214): GNUsocial::addPlugin('ActivityVerb', Array) #3 /home/social/lib/gnusocial.php(147): GNUsocial::initPlugins() #4 /home/social/lib/common.php(27): GNUsocial::init('jamaa.tuvutepam...', NULL, NULL) #5 /home/social/lib/installer.php(531): require_once('/home/tuvutepa/...') #6 /home/social/lib/installer.php(611): Installer->registerInitialUser() #7 /home/social/install.php(298): Installer->doInstall() #8 /home/social/install.php(126): WebInstaller->handlePost() #9 /home/social/install.php(404): WebInstaller->main() #10 {main} thrown in /home/social/lib/plugin.php on line 152
- -----
- author: notabug.org
- time: Sun, 01 Nov 2020 01:02:35 UTC
- content: -----
- It seems your PHP has no gettext module. `bindextdomain()` is gettext function (refer to https://www.php.net/manual/en/function.bindtextdomain.php). Please check your PHP gettext module by `phpinfo();` or `php -m` and install it. In GNU social, PHP gettext module is optional in [INSTALL.md](https://notabug.org/diogo/gnu-social/src/v1.20.9release/INSTALL.md). But I think gettext module is mandatory. If PHP gettext module is disabled, I have function error like you. So I think we had better to update `INSTALL.md` and validate gettext in `install.php`.
- -----
- author: notabug.org
- time: Sun, 01 Nov 2020 05:34:51 UTC
- content: -----
- Ok. It seems emulation was possible in earlier versions. Maybe it was removed by mistake? Perhaps it could be enabled again?
- -----
|