Warning while creating Dynamic Album

Hi, Awesome script! I'm running version 1.4.0.2 with the default template and configuration, and also had the same issue in 1.4.01. While creating a dynamic album I receive the following warnings seen at the bottom of this message. The dynamic album is created, however, and works fine. No other issues at all, just the warning message upon creating the dynamic album. Sorry if this has been addressed already and thanks in advance!

[20-Feb-2011 21:32:05] PHP Notice: class-album detected an invalid folder name: Test One. in /home/wild67x7/public_html/zen3/zp-core/class-album.php on line 70

[20-Feb-2011 21:32:05] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/wild67x7/public_html/zen3/zp-core/class-album.php:70) in /home/wild67x7/public_html/zen3/zp-core/admin-dynamic-album.php on line 64

Comments

  • acrylian Administrator, Developer
    Please try the trunk nightly build. Actually I think it should be already fixed in even 1.4.0.2.
  • Hi, installing zenphoto-2011-02-20-trunk didn't seem to help, but as I stated earlier, the dynamic albums ARE being created and everything functions fine. (So what am I complaining about?) I'm not, this is a great script! I wonder if the warnings can simply be hidden - or side-stepped on the way to the album edit section of admin-edit.php? I think that's where I'm trying to go. Thanks.
  • There will be an entry for this in your debug log. Please post the text of that entry. We are not able to reproduce the failure on the nightly build.
  • Hi, here it is. Thanks.

    {Mon, 21 Feb 2011 20:38:43 GMT} Zenphoto v1.4.0.2[6763]

    Backtrace: class-album detected an invalid folder name: test two.

    Album->Album called

    from admin-dynamic-album.php [37]
  • Thanks, that is the information needed. This will be fixed in tonight's nightly build. In the meantime, just save the album with a name that matches one of your existing root albums :) That is why I did not see the error.
  • The nightly build did the trick! Thanks so much!
Sign In or Register to comment.