ZenphotoCMS Forum
Zenphoto 1.1 Bug Hunt - 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: Zenphoto 1.1 Bug Hunt (/thread-1644.html)

Pages: 1 2 3 4 5


Zenphoto 1.1 Bug Hunt - Chilifrei64 - 05-10-2007

The steril theme does the same thing the default theme was doing too

MySQL Query ( INSERT INTO zpc_options (name, value, description, bool) VALUES ('Theme_colors', 'light', 'Set the colors of the theme', ''); ) Failed. Error: Out of range value adjusted for column 'bool' at row 1




Zenphoto 1.1 Bug Hunt - sbillard - 05-10-2007

They are all going to do it until the fix is up.




Zenphoto 1.1 Bug Hunt - jordi-kun - 05-10-2007

@sbillard: i tried another approach. look for the zen-logo.jpg that has to be in the album folder. If it is found outside htdocs, it behaves as an ousider folder. if not, normal behaviour. I haven't tried thoroughly yet.

`function getAlbumFolder($root=SERVERPATH) {

global $_zp_conf_vars;

if (!array_key_exists('album_folder', $_zp_conf_vars)) {

$_zp_conf_vars['album_folder'] = ALBUMFOLDER;

}

if (file_exists(zp_conf('album_folder')."/zen-logo.jpg")) {

//outside htdocs

return zp_conf('album_folder');

}

else {

return $root . zp_conf('album_folder');

}

}`




Zenphoto 1.1 Bug Hunt - sbillard - 05-10-2007

That is dangerous, because that file is put into the album folder as part of the zp initialization. So, if you change the album folder, presumably it will be put wherever you put the album folder.

Do you see a problem with looking at the number of folder names in the path?




Zenphoto 1.1 Bug Hunt - jordi-kun - 06-10-2007

indeed, i didn't realize that, it would be impossible to change the albums folder.
the thing is that ALBUMSFOLDER is defined as /fotos/ which represents at the root of the server (http://localhost/fotos/), not as /localhost/fotos/.

i went for the easy way, define a parameter for absolute or relative path:
define('ABSOLUTE_ALBUMFOLDER', false);
(of course, overridden in zp-config.php to true)

`function getAlbumFolder($root=SERVERPATH) {

global $_zp_conf_vars;

if (!array_key_exists('album_folder', $_zp_conf_vars)) {

$_zp_conf_vars['album_folder'] = ALBUMFOLDER;

}

if (ABSOLUTE_ALBUMFOLDER) {

return zp_conf('album_folder');

}

else {

return $root . zp_conf('album_folder');

}

}`




Zenphoto 1.1 Bug Hunt - Chilifrei64 - 06-10-2007

on the new nightly build.. it is lookin much better. upgrades went fine and playin around was going fine.. Only 1 thing to report now

Comments set to allow
Moderate is NOT checked
Spam filter set to none

I get this error

Zenphoto Error

MySQL Query ( INSERT INTO zpc_comments (imageid, name, email, website, comment, inmoderation, date) VALUES ('20', 'danfrei', 'editedout@editedout.com', 'http://www.chilifrei.net', 'DROPPED!!!', '', NOW()) ) Failed. Error: Out of range value adjusted for column 'inmoderation' at row 1

This is after a clean upgrade from 1.0.8.2 so looks like maybe a default option not getting put in the DB problem like some of the other things.

Otherwise lookin great.. Ill keep pluggin away at it.




Zenphoto 1.1 Bug Hunt - Chilifrei64 - 06-10-2007

Also with comments.. If I choose akismet and put in my key. No comments get posted. No matter how hard I try to not type something spam like it always flags me.
Once I go back in and choose the forgiving option. my comments go into moderation.
And unless I am missing something when I uncheck them, I would assume they would no longer be flagged as in moderation. But all I can do after I uncheck them is press the Delete selected comments button. And if i press it (with the moderation checkbox unchecked)... they go right back to being checked. I cannot save it unchecked. Am I missing something there?




Zenphoto 1.1 Bug Hunt - sbillard - 06-10-2007

The uncheck on moderation is not implemented yet.

The sql error is another case of your mySql complaining about a value of false. I'll get that fixed in the next update. Keep trying things since I don't see those errors.

Craig (thinkdreams) did the Akismet plugin. Hope he is monitoring this thread and will look into the detection.




Zenphoto 1.1 Bug Hunt - sbillard - 06-10-2007

Jordi-kun:

Sounds reasonable. If you are comfortable that it all works, go ahead and release it to the SVN.




Zenphoto 1.1 Bug Hunt - dwn - 06-10-2007

hello,
i have right now upgraded to comunity build and a can say that it is great Until now i have found one error... it is in probably in sorting of images.

Take a look here:
http://gallery.harcek.info/akcie/pohoda2007/
Sorting of this album is to "filename" but it looks like it is reversed some way. Image which should be first is first on second page. Another one is that two images are shown two times in this album...

I know that i'm not using themes which is modified for this new build but i have tested it with default theme (dark) and it was the same.

Otherwise good work, and i hope 1.1 will be here soon

Best regards

p.s.: i was thinking about creating an issue in trac, but i'm not 100% sure if it isn't just error in theme which i am using. so take a look at it please and let me know if i have to put it in trac.




Zenphoto 1.1 Bug Hunt - jordi-kun - 06-10-2007

@sbillard
all attempts to change album foldername and path went ok. I have added the patch in ticket 101




Zenphoto 1.1 Bug Hunt - sbillard - 06-10-2007

Jordi-kun:
good work. Thanks.

dwn:
I have reproduced your problem. I will add a ticket.




Zenphoto 1.1 Bug Hunt - aitf311 - 06-10-2007

jordi-kun, good patch. added to the latest svn




Zenphoto 1.1 Bug Hunt - sbillard - 07-10-2007

jordi-kun:
atif311

I have made some changes to the ticket 101 implementation. The way it works now is to place some changes in the zp-config file. (New example released with the changes.)

`//location of album folder. Usually these are left null.

// change 'album_folder' to rename the album folder inside the zenphotos installation

// change 'external_album_folder' to locate your album folder outside the zenphoto folders

$conf['album_folder'] = '/albums/';

$conf['external_album_folder'] = null;`

change the first $conf to rename the internal folder
change the second to point to an external folder.

external overrides internal.




Zenphoto 1.1 Bug Hunt - jordi-kun - 07-10-2007

works good! thanks sbillard.

One thing i noticed is the toggle() javascript function. it seems that in internet explorer doesn't work, note that i use firefox ^^'

this seems to fix it, working in both firefox and IE6, don't know why though:
`// if(xState=='none') xState = 'table';

if(xState=='none') xState = '';`



Zenphoto 1.1 Bug Hunt - aitf311 - 07-10-2007

jordi-kun, what file and where?




Zenphoto 1.1 Bug Hunt - jordi-kun - 07-10-2007

oh, sorry.. it's in scripts-common.js




Zenphoto 1.1 Bug Hunt - aitf311 - 07-10-2007

fixed it on my end, its up in the svn




Zenphoto 1.1 Bug Hunt - mgalarneau - 09-10-2007

Hello,

First of all I would like to thank you all for your great work!!
I'm having some issue with my gallery,

Since I've updated to the newest nightly build, I'm able to upload pictures, I see the thumbnail but in the sort album page, when I click on the image, I get the image processing error. And on my gallery, I can also see the thumbnail but not real size picture will load. I checked the permission on my album folder and cache folder and everything seems to be ok.

I'm running zenphoto on an Windows XP box with IIS.

Would this be a bug or is it something in my configuration that is wrong?

Thank you

you can see my web site here

www.mattgalarneau.com/zenphoto




Zenphoto 1.1 Bug Hunt - sbillard - 10-10-2007

Seems to be working today. What did you do?