![]() |
|
Viewing image details in dynamic album produces warning errors - 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: Viewing image details in dynamic album produces warning errors (/thread-7514.html) |
Viewing image details in dynamic album produces warning errors - NaturalEnquirer - 2010-08-22 I use clean install of ZP 1.31. Errors occur for me in default theme. I search for a tag and am able to view resulting thumbnails and image details without any issues. However, if I create dynamic album based on same conditions, as soon as I view an image's details, I receive these errors: Notice: Bad gallery in instantiation of album fauna/amphibians/all-amphibians.alb. in /home/content/n/a/t/naturalenq/html/testgalleries/zp-core/class-album.php on line 40 Warning: Cannot modify header information - headers already sent by (output started at /home/content/n/a/t/naturalenq/html/testgalleries/zp-core/class-album.php:40) in /home/content/n/a/t/naturalenq/html/testgalleries/zp-core/functions.php on line 1552 Warning: Cannot modify header information - headers already sent by (output started at /home/content/n/a/t/naturalenq/html/testgalleries/zp-core/class-album.php:40) in /home/content/n/a/t/naturalenq/html/testgalleries/index.php on line 111 Warning: Cannot modify header information - headers already sent by (output started at /home/content/n/a/t/naturalenq/html/testgalleries/zp-core/class-album.php:40) in /home/content/n/a/t/naturalenq/html/testgalleries/index.php on line 112 Warning: Cannot modify header information - headers already sent by (output started at /home/content/n/a/t/naturalenq/html/testgalleries/zp-core/class-album.php:40) in /home/content/n/a/t/naturalenq/html/testgalleries/index.php on line 113 The images still displays below the errors. Viewing image details in dynamic album produces warning errors - acrylian - 2010-08-22 I can reproduce that but have no idea right now. I guess sbillard will have later. Viewing image details in dynamic album produces warning errors - acrylian - 2010-08-22 You were surely not using the default theme, but the Zenpage theme as we found the error in the jCarousel- thumb-nav plugin. It will be fixed in tonight's nightly. Please try be more exact with your report in the future. Viewing image details in dynamic album produces warning errors - NaturalEnquirer - 2010-08-22 I was exact - I did mean that I get this error in the DEFAULT theme, but I did have the zenpage option enabled since I was using that in the zpGallerific theme before switching to default theme to try to see if zpGallerific was causing the issue. I have not ever activated the j_carousel plugin. Active plugins listed are Viewing image details in dynamic album produces warning errors - sbillard - 2010-08-23 Well, that is extremely interesting since the error that Acrylian found comes from the jcarousel_thumb_nav plugin which is not used in the default theme. Your problem must then be something else. Sorry, but neither Acrylian nor I can reproduce it except in the zenpage theme with jcarousel enabled. Please check the debug log. There should be further information contained in it. Viewing image details in dynamic album produces warning errors - kagutsuchi - 2010-08-23 Quote: Backtrace: Bad gallery in instantiation of album flora/all-plants.alb. I do see Viewing image details in dynamic album produces warning errors - NaturalEnquirer - 2010-08-23 I disabled zenpage plugin and stil get errors. Part of recent log shows: {Sun, 22 Aug 2010 03:29:09 GMT} Zenphoto v1.3.1[5736]
Backtrace: Bad gallery in instantiation of album flora/all-plants.alb. Album->Album called from handleSearchParms (functions.php [978])
Backtrace: Bad gallery in instantiation of album flora/all-plants.alb. Album->Album called from handleSearchParms (functions.php [978])
Backtrace: Bad gallery in instantiation of album fauna/amphibians/all-amphibians.alb. Album->Album called from handleSearchParms (functions.php [978])
Backtrace: Bad gallery in instantiation of album fauna/amphibians/all-amphibians.alb. Album->Album called from handleSearchParms (functions.php [978])
Backtrace: Bad gallery in instantiation of album fauna/amphibians/amphibians.alb. Viewing image details in dynamic album produces warning errors - kagutsuchi - 2010-08-23 Looks like
Viewing image details in dynamic album produces warning errors - NaturalEnquirer - 2010-08-23 I found the handleSearchParms() in functions.php file, but in which line exactly should Thanks so much for your assistance. Viewing image details in dynamic album produces warning errors - acrylian - 2010-08-23 I haven't looked but right at the beginng would be fine as that object is normally always setup automatically. Viewing image details in dynamic album produces warning errors - NaturalEnquirer - 2010-08-23 I am sorry to trouble you with this but I tried adding ` Warning: Cannot modify header information - headers already sent by (output started at /home/content/n/a/t/naturalenq/html/testgalleries/zp-core/functions.php:1) in /home/content/n/a/t/naturalenq/html/testgalleries/zp-core/functions.php on line 1553 Warning: Cannot modify header information - headers already sent by (output started at /home/content/n/a/t/naturalenq/html/testgalleries/zp-core/functions.php:1) in /home/content/n/a/t/naturalenq/html/testgalleries/index.php on line 111 Warning: Cannot modify header information - headers already sent by (output started at /home/content/n/a/t/naturalenq/html/testgalleries/zp-core/functions.php:1) in /home/content/n/a/t/naturalenq/html/testgalleries/index.php on line 112 Warning: Cannot modify header information - headers already sent by (output started at /home/content/n/a/t/naturalenq/html/testgalleries/zp-core/functions.php:1) in /home/content/n/a/t/naturalenq/html/testgalleries/index.php on line 113 In functions.php, beginning of function is if (!is_object($_zp_gallery)) $_zp_gallery = new Gallery();
` Viewing image details in dynamic album produces warning errors - sbillard - 2010-08-23 Actually, there is no "possibility" for $_zp_gallery not to be set since it is done so by the load of the controller and/or the template-functions script. About the only circumstance I can think of for this to fail is to be loading zenphoto from within some other set of scripts like Wordpress. Viewing image details in dynamic album produces warning errors - sbillard - 2010-08-23 Your "cannot modify headers..." error indicates a problem with your edit of the above. Possibly your editor has inserted a space at the beginning of the functions.php file? Anyway, that file should start with ` Viewing image details in dynamic album produces warning errors - NaturalEnquirer - 2010-08-24 Ok I need help with this. I made a clean install into a new directory with new database. I ran config and copied some albums to the albums folder. I made no changes to the theme. I searched for a specific tag and created an image with default settings (accepted suggested name and root path) and saved. I go to the dynamic album and can see thumbnails. as soon as I view any of the image details I receive the same erors as before: ` Warning: Cannot modify header information - headers already sent by (output started at /home/content/n/a/t/naturalenq/html/test/zp-core/class-album.php:40) in /home/content/n/a/t/naturalenq/html/test/zp-core/functions.php on line 1552 Warning: Cannot modify header information - headers already sent by (output started at /home/content/n/a/t/naturalenq/html/test/zp-core/class-album.php:40) in /home/content/n/a/t/naturalenq/html/test/index.php on line 111 Warning: Cannot modify header information - headers already sent by (output started at /home/content/n/a/t/naturalenq/html/test/zp-core/class-album.php:40) in /home/content/n/a/t/naturalenq/html/test/index.php on line 112 Warning: Cannot modify header information - headers already sent by (output started at /home/content/n/a/t/naturalenq/html/test/zp-core/class-album.php:40) in /home/content/n/a/t/naturalenq/html/test/index.php on line 113 Warning: Cannot modify header information - headers already sent by (output started at /home/content/n/a/t/naturalenq/html/test/zp-core/class-album.php:40) in /home/content/n/a/t/naturalenq/html/test/themes/default/image.php on line 2 ` Backtrace: Bad gallery in instantiation of album birds.alb. Album->Album called from handleSearchParms (functions.php [978])
` Viewing image details in dynamic album produces warning errors - kagutsuchi - 2010-08-24
You should either be able to add in the global Also, this has been fixed in the trunk, so it should be fixed in the nightlies as well. (see changeset [5773]) Viewing image details in dynamic album produces warning errors - NaturalEnquirer - 2010-08-24 YES! Thank you, thank you! So happy! Thanks so much for fixing this - really wanted / needed that feature! And BTW it also works with zpGallerific. Viewing image details in dynamic album produces warning errors - acrylian - 2010-08-24 Great we finally got it. Strange that no one else noticed this bug... |