1.4.1 RC2 problem on Mac X 10.3 w/Apache 1.3.28
jlangdale
Joined: 2003-11-09
Posts: 38 |
![]() |
<your message here> Getting this error on stock/new installation: Fatal error: Call to undefined function: _() in /Library/WebServer/Documents/gallery/albums.php on line 102 |
|
joan
![]()
Joined: 2002-10-21
Posts: 3473 |
![]() |
Weird. You are the second report of this today. . . . Try this solution: http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&p=49220#49220 |
|
jlangdale
Joined: 2003-11-09
Posts: 38 |
![]() |
joan wrote:
Weird. You are the second report of this today. . . . Added that function to util.php and got this: Parse error: parse error, unexpected T_STRING in /Library/WebServer/Documents/gallery/util.php on line 3139 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /Library/WebServer/Documents/gallery/util.php:3139) in /Library/WebServer/Documents/gallery/session.php on line 60 Fatal error: Call to undefined function: _() in /Library/WebServer/Documents/gallery/albums.php on line 102 Line 3139 in my util.php is: LINE 3138 function _($search) { A function _() {} definition appears in: function emulate_gettext() { if (in_array($gallery->language,array_keys(gallery_languages())) && foreach ($lines as $key => $value) { |
|
jlangdale
Joined: 2003-11-09
Posts: 38 |
![]() |
Might this relate to language or looking up the english variable? The Rc1 download didn't seem to have any language and it reported warnings on configure. |
|
joan
![]()
Joined: 2002-10-21
Posts: 3473 |
![]() |
No, it's something more fundamental than that. Try this version of util.php ***EDITED again!!*** get util.zip fromhttp://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&p=49220#49220 |
|
MKrivanek
Joined: 2003-11-09
Posts: 1 |
![]() |
I too have had this problem |
|
joan
![]()
Joined: 2002-10-21
Posts: 3473 |
![]() |
MKrivanek, Try using the above version of util.php |
|
diomark
![]()
Joined: 2003-03-14
Posts: 90 |
![]() |
joan wrote:
No, it's something more fundamental than that. Joan, the new version of the util.php works.. |
|
greg72
![]()
Joined: 2002-11-18
Posts: 23 |
![]() |
diomark wrote:
New version of util.php worked for me too!! I had the same problems.. |
|