1.1.6 Released!

trisweb Administrator
We are pleased to announce the release of Zenphoto 1.1.6 - all the information is up on the News page.

There is also a call for translators for compiling a collection of languages for the fully internationalized zenphoto release, scheduled to be 1.2. If you're interested, see the post and the tutorial linked from there.

Comments

  • hip Member
    Tried it.
    Thanx for improving ZenPhoto.

    1st.- tried updating from 1.1.4 as showed in front page. No luck, I got several errors.

    2nd.- I installed 1.1.6 from scratch. I got PHP gettext error -> I installed the PHP extension (php_gettext.dll) in php.ini and solved.

    3rd.- ZenPhoto is supposedly running but still get the following error messages in all pages:

    Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead. in E:\webroot\mathilde3\zp-core\lib-gettext\gettext.inc on line 131

    Warning: setlocale() [function.setlocale]: Invalid locale category name LC_MESSAGES, must be one of LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, or LC_TIME. in E:\webroot\mathilde3\zp-core\lib-gettext\gettext.inc on line 131


    I know I could hide them but that's not the point. It might also be a matter of my PHP version (5.2.3).

    Just checking.
  • acrylian Administrator, Developer
    Actually we included for this lib-gettext as a replacement for native gettext which you just installed. This libary did not work as expected probably because being a little older (seems that now the project is either canceled or taken over by someone else, since the site is now defunc), but it should prevent at least the gettext error you got in the first place..

    I have tried it also on PHP 5.2.3 with the native gettext extension enabled and disabled and did not get those other errors.

    Thanks for the report. We have plans to throw that lib out anyway.
  • hip Member
    Thanx for the reply, acrylian.

    What do you think I have to do to avoid these errors?

    From what you say I understand I should uninstall the gettext library included within the PHP installation package.

    I've already done it but error message remains the same. Any clue? Do you need more info about my installation?

    Thanx,
    hip
  • acrylian Administrator, Developer
    No, if you have installed the native gettext on the server as I understood you did that's fine. Actually this lib-gettext should not be loaded if you have that installed and cause no error.

    The only thing I can think of right now is commenting out those both functions in the zp-core/lib-gettext/gettext.inc. Could you try that?
  • hip Member
    ok.

    1.- Reinstalled native gettext. (& restarted server). Still same errors.

    2.-
    Commented out the whole function
    line 119 'gettext.inc' function _setlocale($category, $locale) { ...

    Error again because the function is called from within the same file:
    Fatal error: Call to undefined function _setlocale() in E:\webroot\mathilde3\zp-core\lib-gettext\gettext.inc on line 58

    3.-
    Commented out the call to that function:
    line 58 'gettext.inc' $locale = _setlocale(LC_MESSAGES, 0);
    and...

    no error message and apparently no side problems.

    Temporally solved but we should check what's causing the error and whether the commented function can be overridden and, therefore, removed from this file.

    At this point for what I'm developing is ok. If you have any ideas, let me know.

    Thanx again,
    hip
  • acrylian Administrator, Developer
    As I said above if you have the gettext extension on your server this functions within the lib-gettext folder actually should neither be loaded nor used. I really don't know why it does.

    Anyway thanks again for testing.
  • hip Member
    Well... :-(

    now internationalization is not working for me.

    I've tried with my recent Spanish translation. No luck. Changed to packed German translation, and still no change at all.

    I've then uncommented all previously commented lines at gettext.inc and still the same (plus the above mentioned errors).

    Should I move this discussion to the bug ticket system?
  • acrylian Administrator, Developer
    I can only say it does for me and for my fellow developers. But we of course can't try every server setup. This is indeed a case for the bugtracker. Please open a ticket for it.

    Thanks again for trying and reporting.
  • Just a huge thank you for taking care and upgrading this freeware. I really do appreciate it!
  • fatman Member
    hip,

    you may need to check your server got the Spanish locale or not by:
    `locale -a`
    to list all avaliable locale.

    I have just met same situation as you, I make a zh_HK translation but it is not work. I found it is not installed and try to rename the directory in zp-core/locale to a installed locale zh_TW, and it is work!
  • melon Member
    I just upgraded to 1.1.6 and i cant access anything using modrewrite? any ideas what happened?
  • acrylian Administrator, Developer
    You probably did not update the htaccess file with the new one that comes wiht 1.1.6.
  • melon Member
    double checked and i did, the whole thing is running really slow. i cant recash the images, it finds them, then starts to skip them. none of my links work to the images. the only reason i upgraded was to fix the MediaRss add on i made for people that were having other issues.

    if i got zen/admin it will forward to the correct zp-core folder, and wordpress is working fine so its not Mod problem.

    i'm re uploading and checking the upgrade again.

    will anything bad happen if i upload the 1.1.5 files? did the DB change at all?
  • melon Member
    interesting, my gallery (http://www.studiolounge.net/zen/) will only display the first image, but wont open the album. the rss file however works fine and seams to place the images in the cache (http://www.studiolounge.net/zen/rss.php) but the

    i really don't know whats going on. the re-cache in the admin wont work, viewing the images wont work. and direct url access does not work, i would assume if i disable MOD URL it would work fine, the other strange thing is even thought my install is in the /zen/ folder it keeps trying to open it in /zenphoto/
  • melon Member
    ok, after looking in the .htaccess folder i see this:

    #### !!! Change this to the web path (eg: http://www.yourwebsite.com/photos --> /photos) !!!
    RewriteBase /zenphoto
    ####

    and like magic everything works now.

    maybe put a note in the upgrade script to do that, or regenerate it, i don't remember doing that in the first place.
  • melon Member
    Thanks :)
  • Did you run the setup program? It should have told you about this (and fixed it if it could.)
  • Wonderful!

    installed, and its working fine! :D
  • awesome stuff! I really like the recent additions! Keep up the great work!
  • sleary Member
    [never mind, problem solved, nothing to see here]
Sign In or Register to comment.