Junior Member
Junior Member
iravanchi   2009-02-27, 21:32
#1

Hi,

I know that gettext is required for localization and setup complains about gettext not being installed, but I've seen that you've registered a gettext function where gettext is not available.

My host doesn't support gettext (I don't need localication anyway) but a few of the pages complain: php files in the admin utilities some have problems (don't get the replacement gettext registered before their use) and as a result, for example when I click on "Backup/Restore" button in admin - overview, I get:

Fatal error: Call to undefined function gettext() in backup_restore.php on line 11

I've fixed the problem for myself by removing calls to 'gettext' in those files, but since I've seen that working without gettext is something almost covered, I thought I'd let you guys know about the problem.

Thanks for the great software,
-Hamed

Member
Member
sbillard   2009-02-27, 22:07
#2

Thanks for the info. Is it just the utility functions?

Member
Member
liquidsculpture   2009-03-10, 22:49
#3

I have neither gettext() nor setlocale() defined, and it seems that it stops zenphoto from working at all. There is no "Go" button on the installation page, and when I hit zenphoto/zp-core/admin.php, I get an empty page.

Can I proceed, or am I out ofluck?

Thanks,

Martin

Administrator
Administrator
acrylian   2009-03-11, 10:00
#4

Please try the nightly build.

Member
Member
liquidsculpture   2009-03-11, 17:26
#5

I sorted out my problem. The call to function filesystemToUTF8 () at line 557 in setup.php was a problem. I worked around it by setting $test = 'test'. The installation proceeded and I am up and running.

Oops, I just saw your reply above, I will give the nightly build a try, too. Thanks.

Cheers

Member
Member
liquidsculpture   2009-03-11, 19:21
#6

And, the 2009-03-10-trunk build works just fine.

Thanks

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.