![]() |
|
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) |
Zenphoto 1.1 Bug Hunt - aitf311 - 02-10-2007 Hello ZenPhoto fans! We have been working hard to bring you the first update to ZenPhoto in half a year! What this means is that version 1.1 will contain a TON of new features that have the potential for bugs. Anyone willing to find any bugs or just try out the new version you can do so by downloading the nightly build here: http://www.zenphoto.org/files/nightly (you must run upgrade.php as there have been many database changes) We hope to release this new version before the end of the month. Please submit any and all bugs you find to the trac site: http://www.zenphoto.org/trac/newticket Or view the running issue list here: Thank you for your help! Zenphoto 1.1 Bug Hunt - jordi-kun - 04-10-2007 there was a change lost in revision 507 that made ticket 116 broken. If the albums foldername was changed, it was not possible to browse inside the albums. I have added a patch to roll it back (116). Zenphoto 1.1 Bug Hunt - aitf311 - 04-10-2007 Thanks jordi-kun, its been implemented again into SVN 541 Zenphoto 1.1 Bug Hunt - sbillard - 04-10-2007 jordi-kun: In the future, please also reopen the ticket so that we will notice that it needs attention. I may figure it out, but in case I don't, what file does this patch? Got it: class-album.php Did you ever get zenPhoto to access an album outside of the zenPhoto folders? Zenphoto 1.1 Bug Hunt - jordi-kun - 04-10-2007 @sbillard: yes, tweaking the getAlbumFolder function. I haven't published it because it is not generic, either outside or inside, haven't figured out how to mix the 2 situations. ` //return $root . zp_conf('album_folder'); //albums outside htdocs if ($root=SERVERPATH) {
} else {
}` apache has to be configured with an alias if it is outside htdocs Zenphoto 1.1 Bug Hunt - sbillard - 04-10-2007 Keep us posted. I presume you put the fully qualified path in the $_zp_conf_vars array? Probably could test that to see if it is == to the ALBUMFOLDER define to see if it is inside the zp folders. Or test it to see if there is a path present. Zenphoto 1.1 Bug Hunt - jordi-kun - 04-10-2007 I don't quite get you, sorry. OK, here is my whole scenario.
therefore, in zp-config i have the ALBUMFOLDER overriden to So, how to know if ALBUMFOLDER (set as Zenphoto 1.1 Bug Hunt - sbillard - 04-10-2007 What I was thinking is that $_zp_conf_vars['album_folder'] would have:
Then we check to see if there is a folder path in front of the folder name. if (count(explode('/', zp_conf('album_folder'))> 2) { // there is a full path, must be outside of zen folders
} else {
} } else { return $root . zp_conf('album_folder'); }` So, if the name has any directory names we treat it as outside of zen, if not it is inside of zen. You'll have to check the count, not sure if the explode will create an empty item for the trailing slash. Zenphoto 1.1 Bug Hunt - Chilifrei64 - 04-10-2007 just starting off. From plane ol'e 1.0.8 to this community build, after running upgrade.php then clicking on view gallery I get a MYSQL error Zenphoto Error MySQL Query ( INSERT INTO Then if I fix this using phpmyadmin, the next error I get is Zenphoto Error MySQL Query ( INSERT INTO Either way.. I can still get past both of those.. I can get to the options page and I chose spam filter: akismet. I was click happy and hit save without entering in my API key. Now my options page stops at Spam Filter and I cant even enter it and the admin page says Zenphoto Error MySQL Query ( INSERT INTO Ill keep playin with it and see if I can find any more. Zenphoto 1.1 Bug Hunt - Chilifrei64 - 04-10-2007 as well. I actually dont see a spot to add my askimet API key anywhere. So I set spam filtering to none and unchecked moderate and I now receive this when I comment Zenphoto Error MySQL Query ( INSERT INTO Zenphoto 1.1 Bug Hunt - sbillard - 04-10-2007 Found the problem with the options. Craig has been working on a plugin in for Aksimet, which should be up on the SVN as soon as Mark sees the e-mail. Once it is up, we would appreciate your testing! When the options work, there is an option for the key. I suggest you delete the rows from your options table when you get the new release with the fix. Zenphoto 1.1 Bug Hunt - Chilifrei64 - 04-10-2007 I hate to be this person.... I thought there may have been some stuff with upgrades.. so I did a full download and fresh install. I caught something.. during the install it says We're all set to create the database tables: Go! I press go and it says complete. I click view gallery and it gives me Zenphoto Error MySQL Query ( INSERT INTO Now according to the setup page, it never created zpc_options. Now.. it really did create the options table.. so the text just has to be updated.. but I still do get the error on the very first page after the install. Since I am having a ton of SQL errors.. this info might be helpful. Zenphoto 1.1 Bug Hunt - Chilifrei64 - 04-10-2007 And another one... After above didnt work.. I went to zen/admin.php and set spam filter to none and hit save up at the admin login information since the rest of the options page didnt show up. That got rid of my spam filter error but then brought up Zenphoto Error MySQL Query ( INSERT INTO Since this was a theme problem, i clicked on the theme tab to choose my theme.. but i receive the same error and the themes dont show up. Zenphoto 1.1 Bug Hunt - sbillard - 04-10-2007 You are too quick at reading the posts. I have edited my post. Your mySql is complaining about "true" and "false" not being in range. Mine didn't so that's why I never noticed this. Zenphoto 1.1 Bug Hunt - sbillard - 04-10-2007 By the way, when I run upgrade, it lists all four tables. This is from line 112 of options.php. So maybe there is still a problem with the files you uploaded. Zenphoto 1.1 Bug Hunt - sbillard - 04-10-2007 Finally, it has been ages since the comment for effervescence_simpleviewer had that description. There is definately something wrong with what you have got for the SVN. Zenphoto 1.1 Bug Hunt - Chilifrei64 - 05-10-2007 What version Mysql are you running? upgrade.php does say all 4.. setup.php does not and I am not following where effervesence_simpleviewer comes into play. Zenphoto 1.1 Bug Hunt - sbillard - 05-10-2007 MySql 5.0.45. Effervescence_simpleviewer is where the setOptionsDefault comes from. That is the code that eventually gets the DB error setting "Theme_colors". Zenphoto 1.1 Bug Hunt - sbillard - 05-10-2007 OK, fount that one, too. Someone copied the Effervescence_simpleviewer code into the default theme without changing it. Zenphoto 1.1 Bug Hunt - Chilifrei64 - 05-10-2007 ok.. you had me through a loop there. Also. .. i just realized I was still pulling from the community branch and I was supposed to pull from Nightly Builds.. Unfortunately all still a no go.. I am getting the same errors. If I go down to the testing theme I can post comments.. but heres a kicker.. the Image Info link.. it works on firefox and not on IE.. Damn IE |