Shared Linux Hosting

Hi Guys,

Thanks in advance for your assistance.

I am using this guide Shared Linux Hosting to install EMONCMS on my shared hosting server on mpower.co.ke without any success yet.

My CPanel server details are as below:

cPanel Version 11.46.2 (build 3)
Apache Version 2.2.29
PHP Version 5.4.36
MySQL Version 5.5.40-cll
Architecture x86_64
Operating System linux

My PHP has the below installed modules:

Archive_Tar     1.3.13
Console_Getopt     1.3.1
Console_GetoptPlus     1.0.0RC1
File_Gettext     0.4.2
PEAR     1.9.5
Structures_Graph
XML_Util     1.2.3

Folder permissions for public_html/emoncms and /home/user/emoncmsdata are set as 755

I keep getting the below errors

PHP Fatal error:  Call to undefined function bindtextdomain() in /home/mpo1779/public_html/emoncms/core.php on line 59
PHP Fatal error:  Call to undefined function bindtextdomain() in /home/mpo1779/public_html/emoncms/Modules/admin/admin_menu.php on line 4

Any assistance to get this working is welcome.

Robert Wall's picture

Re: Shared Linux Hosting

Can you find out which module bindtextdomain() is in? It could be it isn't loaded by default on your server.
A simple Google search (other search engines are available!) for "bindtextdomain()" shows many useful-looking avenues to check out.

mpower's picture

Re: Shared Linux Hosting

Got it to work by editing the .htaccess file

#Mod_Rewrite code:
RewriteEngine On

#Adjust default time zone
SetEnv TZ Africa/Nairobi

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.