I 'm using the version 1.2.9, firefox, and did my own theme.
When I 'm logged off, all the images' tags are clickable, but not when I 'm logged on (clicking a tag make a seearch on it). And I would like having the opposite situation (someone who 's just a "visitor" don' t have to have more possibilities than someone subscribed).
And when I click on a tag, sometimes I have a photos' selection having this tag, and sometimes, the answer is " sorry, refine your search", depending on the tag. I have also the same problem with the search fonction. Even if the tag exist on different photos, these could not be found.
Comments
Second, 1.2.9 is a pretty old release. We just today announced the release of 1.4.0. So any problems you have may already have been solved.
Third, the state when you are logged in allows you to edit the tags. That is exclusive of being able to click on them. But the good news is that this behavior is disabled by default on the 1.4.0 release because it is also a terrible security risk.
So, bottom line, upgrade to the current version.
first I downloaded the new version and tried to install it on my local wamp server. During the installation process I had a warning (Localization of Zenphoto currently requires native PHP gettext() support ) and I don't knw if it comes from my server or zenphoto. So when I tried to work with the administration page I had an "error in your SQL syntax".
So if you can give me an idea to install it properly on a wamp server, it would be a good think (I like having the sites I 'm working on, on a test machine.)
I fact, about the tags, I have 3 permission levels: "visitor", "registered user", just to access to defined albums with keyword and no other right than "to see", and "administrator" with full rights. A simple visitor, on non keyword access albums, have links on the tags under the pictures, but when I' m logged on as registered user, I don't have the links and can' t change them. And my question is why a simple visitor can use these tags and not a registered user?
Thanks,
Eric
Using the admin page, I choose the Default theme, and If I click on the link "set theme options" and want to save them, I have that: "Zenphoto encountered an error
MySQL Query ( SELECT `name`, `value`, `id` FROM `zp_options` WHERE `name`='Allow_search' AND `ownerid`= AND `theme`='default' ) failed. MySQL returned the error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND `theme`='default'' at line 1
Backtrace:
-> query (functions-db-MySQL.php [90])
-> query_single_row (functions.php [1937])
-> setThemeOption (admin-functions.php [857])
-> processCustomOptionSave (admin-options.php [414])
But, if, fore choosing the options of a theme I go to the page by "options" and "theme", it is saved. I tried with different themes and it seems that the problem is general.
And on the gallery page, on the default theme, I have this:
Warning: get_class() expects parameter 1 to be object, string given in \wamp\www\ombres-et-lumieres-2.biz\zp-core\functions.php on line 1653
Fatal error: Call to a member function get() on a non-object in \wamp\www\ombres-et-lumieres-2.biz\zp-core\template-functions.php on line 1560
I'm not sure if the best way to fix this is to simply suppress the warning or otherwise, so I'll leave that to sbillard or acrylian.
Zenphoto runs just fine on a default WAMP installation. You can fix the gettext() issue by going to your WAMP control panel, selecting PHP, then selecting PHP extensions. Just click on the one that says php_gettext.
But that certainly is not your problem. Basically, things are happening that "can't" happen. The first error is that the "ID" of the "album' is 'empty' where it must have a value of 0 given what you were doing.
The second two has something to do, I suspect, with generating thumbnails. The thumbnail appears to not be an image, thus the two errors. But of course, that in not "possible".
Those are the only errors you have seen? I really would have expected some others as these certainly would not be root causes.