February 05, 2012, 11:28:21 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Work on Kolab2/Gentoo-2.2 has stopped. The project has been deprecated (see board Kolab2/Gentoo).
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: PHP Wankery  (Read 3771 times)
nihilist
Newbie
*

Karma: 0
Posts: 3


13210368 nihilist@linux.ca nihilisticz
View Profile Email
« on: May 19, 2006, 05:06:50 PM »

I'm not sure where this problem comes from, so I figured I'd start here, and if nobody has any ideas, I'll move it over to the Gentoo forums.

I've got Kolab emerge'd and running.  I go to login to the web admin, and I get this:
Code:
Fatal error: Call to undefined function bindtextdomain() in /usr/share/php/kolab/admin/include/locale.php on line 113

I check to see that PHP has gettext enabled, which it does.  Everything SEEMS to be okay, but locale stuff doesn't work.  I decide that I just want to get to USE kolab, so I commented out the locale settings, and tried again.  This time, it complained about not finding the ldap_connect() function.

So it seems that there is something horrendously wrong with either Kolab's PHP stuff, or dev-lang/php is on crack.  Any ideas?
Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #1 on: May 21, 2006, 09:38:02 AM »

Hm, I'd guess there is a problem with your PHP setup. What does phpinfo() tell you? Does it list the extensions "gettext" and "ldap" as enabled?

The net-mail/kolab-webadmin ebuild did not check for the "gettext" extension on PHP which I did fix now thanks to your hint. It does however check for the "ldap" use flag on the PHP installation. So your PHP should definitely provide the ldap_connect() function.

So at the moment I can only guess that your apache somehow calls a php version that does not have the extensions active. Maybe this is a problem related to php4/php5?
Logged
nihilist
Newbie
*

Karma: 0
Posts: 3


13210368 nihilist@linux.ca nihilisticz
View Profile Email
« Reply #2 on: May 21, 2006, 07:06:14 PM »

I checked PHP, and it has both ldap and gettext enabled.  That's why I'm lost as to what is going wrong with this.
Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #3 on: May 21, 2006, 07:20:43 PM »

Hm, if you checked phpinfo() and not only the use flags I'm at a loss, too. I'd suggest visiting #gentoo-php. They are a bunch of friendly people and should be able to help you out Smiley
Logged
nihilist
Newbie
*

Karma: 0
Posts: 3


13210368 nihilist@linux.ca nihilisticz
View Profile Email
« Reply #4 on: May 21, 2006, 07:26:32 PM »

Doing so right now.  Smiley
Logged
Mederel
Newbie
*

Karma: 0
Posts: 1


View Profile
« Reply #5 on: July 04, 2009, 08:34:57 PM »

I am confronted to just the same problem:
Code:
Fatal error: Call to undefined function bindtextdomain() in /usr/share/php/kolab/admin/include/locale.php on line 114

Doing so right now.  Smiley

What were the results of your inquiry ?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!