Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be greatly enhanced if you log in. To do so, you first must register by clicking on the Register tab at the top. If you are already registered, you can login at the Login tab.
Syndicate Syndicate Listing Display Search Login/Register
Bug Id ?
51
Reporter ?
Andrew Herron
Bugdar / 1.1.3
Status ?
Closed
Severity ?
Critical
Duplicate Of ?
- none -
Fixed in Revision ?
1277
Mstone ?
Summary ?
PHP error when trying to install: undefined function _() in includes/settings.php
Report Time ?
November 8, 2006 06:44 PM
Assignment ?
Resolution ?
Fixed
Priority ?
Normal
Dependencies ?
- none -
Mstone (old) ?


Votes
For: 0 (0%)
Against: 0 (0%)
Total: 0

November 8, 2006 06:44 PM Andrew Herron
Fatal error: Call to undefined function _() in C:\\www\\bugdar\\includes\\settings.php on line 41

I tried to find what function it was really trying to call, but I wasn't able to trace it.

November 9, 2006 05:06 AM Robert
This means that you do not have PHP compiled with GNU Gettext. This isn't a problem unless you want to use a language other than English, if it is then you'll need to recompile PHP with Gettext support.

Anyways, here's the very simple fix:

Open install/global.php and find:

require_once('./includes/permissions.php');

After that, add this line:

require_once('./includes/language.php');

Save the file and it should work.

--------------- AUTOMATIC RESPONSE ---------------
Thank you for your bug report. This issue has been closed and fixed in Subversion. This change will be available in a future release, but you can download the change at any time from the Subversion server.

On November 9, 2006 05:06 AM, Robert changed:
On November 9, 2006 05:06 AM, Robert changed: