Pages (5):    1 2 3 4 5   
Member
Member
Chilifrei64   05-10-2007, 00:43
#21

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

Member
Member
sbillard   05-10-2007, 00:59
#22

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

Member
Member
jordi-kun   05-10-2007, 16:12
#23

@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');

}

}`

Member
Member
sbillard   05-10-2007, 23:58
#24

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?

Member
Member
jordi-kun   06-10-2007, 01:12
#25

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');

}

}`

Member
Member
Chilifrei64   06-10-2007, 03:50
#26

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.

Member
Member
Chilifrei64   06-10-2007, 04:04
#27

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?

Member
Member
sbillard   06-10-2007, 04:34
#28

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.

Member
Member
sbillard   06-10-2007, 04:41
#29

Jordi-kun:

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

Member
Member
dwn   06-10-2007, 21:02
#30

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.

Member
Member
jordi-kun   06-10-2007, 22:00
#31

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

Member
Member
sbillard   06-10-2007, 23:07
#32

Jordi-kun:
good work. Thanks.

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

Member
Member
aitf311   06-10-2007, 23:21
#33

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

Member
Member
sbillard   07-10-2007, 00:44
#34

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.

Member
Member
jordi-kun   07-10-2007, 03:29
#35

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 = '';`
Member
Member
aitf311   07-10-2007, 04:59
#36

jordi-kun, what file and where?

Member
Member
jordi-kun   07-10-2007, 05:01
#37

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

Member
Member
aitf311   07-10-2007, 05:10
#38

fixed it on my end, its up in the svn

Member
Member
mgalarneau   09-10-2007, 03:54
#39

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

Member
Member
sbillard   10-10-2007, 15:11
#40

Seems to be working today. What did you do?

Pages (5):    1 2 3 4 5   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.