hi
if i have 500 images in an album and and i want to edit the description of just one image then whats the easiest way to display the edit page of that particular image only (considering that one knows the file name).
the usual way of going through the album edit page and then selecting the image tab and then selecting the number of images to be displayed on a page to hunt for just one image in a big album is very time consuming.
regards
Thanks Acrylian that was great! However this search thing has brought up another issue.
The search on my site is working perfectly good except just one word. Its very strange that when i search for the word "Rakaposhi" the following error message comes:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, cgiadmin@yourhostingaccount.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apart from this its running fine with other words.
regards
contacted my host. the reply was:
"I have changed php version to 5.3 and also corrected session path in php.ini file. But still the search option is still not working. Also there is no error logs to investigate further on the issue."
what to do now? the search does not work for some words.
many words dont work like e.g. try "beach", "naltar" etc
there are no special characters, just simple words.
Regarding options:
Author to Title fields are checked with Tags field set to "partial". All other fields are not checked.
Treat spaces as "Space"
Default search "within"
After the search error this is what comes in the log:
{Fri, 21 Dec 2012 14:49:42 GMT}
Backtrace: WARNING: session_start(): open(/home/users/web/b696/pow.khwajaharoon/htdocs/cgi-bin/tmp/sess_6a777cc251da5b348fed3b2a7cc9f8d0, O_RDWR) failed: No such file or directory (2) in /hermes/waloraweb079/b696/pow.khwajaharoon/htdocs/outzeal/zp-core/functions-basic.php on line 1508
session_start called
from zp_session_start (functions-basic.php [1508])
from require_once (admin-globals.php [14])
from admin-logs.php [8]
I do see the images in the cache folder (vis ftp), is there a specific way to check?
If you see images/thumbs on your website there are cached ones generally. Did you switch to use sessions instead of cookies? Try switching then.
I have no idea why the search would not work. But note that there is a search cache so if you made new tags they might not be covered. Set the search cache to 0 to test.
Set the search cache to 0 to test.
Done -- No success
Did you switch to use sessions instead of cookies?
How do u do that?
Contact Host (powweb.com)
Already did, he said its ok on their part. Will contact again.
Check this image: http://outzeal.com/index.php?album=trekking/photos/northern-areas-of-pakistan&image=150.jpg
Its description says:
"Closeup of a mountain peak known commonly as "Bull's Head" among the Northern area pilots."
The search feature searches the word "closeup" and "pilots" but gives an error on others like "mountain" "peak" etc.
No other errors? Did you check your server error logs as well as the Zenphoto logs?
There is something having to do with those search terms that is causing a fault somewhere. But only the logs can shed more information.
I have a site on POWWEB and for sure doing a search for "mountain" is not a generic problem with the provider.
Hmmmm. I was playing around with this on your site and got the same problem you describe. So I tried with my site (that uses a custom theme) and didn't see any issue. So I flipped over to the zenPage theme. Searching for "mountain" got me two hits that displayed. Searching (within the search) for "the" spit out this...
Quote:Notice: Undefined index: albumid in /path/to/my/site/zp-core/class-search.php on line 1408
Fatal error: MySql Error: ( SELECT folder,show FROM [prefix]albums WHERE id = ) 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 '' at line 1 in /path/to/my/site/zp-core/functions-db-MySQL.php on line 59
So I jumped back to my normal theme and tried the same searches. No problems.
From the times the search fails and gives the error this can be found in my php error.log
Quote:[23-Dec-2012 11:01:09 UTC] PHP Notice: Undefined index: albumid in /path/to/my/site/zp-core/class-search.php on line 1408
Maybe it will set you on the right track.
sorry acrylian, i thought the overview page would notify about the latest release so didn't check the zenphoto's main website. The overview page still doesn't show that 1.4.3.5 is released.
Anyway I have downloaded 1.4.3.5 now
Just please confirm that is it ok to upgrade directly from 1.4.3.2 to 1.4.3.5
regards
N.B. I've experience it twice during this week (even yesterday) that zenphoto.org webiste was not responding.
The no connection might be caused by our server that apparently timed out a few times on heavy (spam) load or whatever (our server admin is working on it but its holiday season).
The upgread should not be a problem, it is within the same release stream that does not introduce real changes, just bug fixes. 1.4.3.x to 1.4.4.x might be more problematic (so far it seems not so much, of couse always depending on custom or 3rd party stuff).