![]() |
|
problem when gettext is not available - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: problem when gettext is not available (/thread-4764.html) |
problem when gettext is not available - iravanchi - 2009-02-27 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, problem when gettext is not available - sbillard - 2009-02-27 Thanks for the info. Is it just the utility functions? problem when gettext is not available - liquidsculpture - 2009-03-10 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 problem when gettext is not available - acrylian - 2009-03-11 Please try the nightly build. problem when gettext is not available - liquidsculpture - 2009-03-11 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 problem when gettext is not available - liquidsculpture - 2009-03-11 And, the 2009-03-10-trunk build works just fine. Thanks |