Pages (2): 1 2   
Member
Member
haroon   17-12-2012, 17:28
#1

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

Administrator
Administrator
acrylian   17-12-2012, 17:44
#2

The easiest is to search on your Zenphoto website itself and use the admin toolbox (every standard theme has that ususally on the top right if you are loggedin) to jump to the image directly.

Member
Member
haroon   17-12-2012, 19:11
#3

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

Administrator
Administrator
acrylian   17-12-2012, 19:21
#4

I doubt that this is really Zenphoto causing the error. Please contact your host if maybe some overactive server security is the reason.

Member
Member
haroon   21-12-2012, 04:11
#5

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.

Administrator
Administrator
acrylian   21-12-2012, 10:23
#6

More info maybe what words do not work (special chars maybe?) and how your search is configured.

Member
Member
haroon   21-12-2012, 11:16
#7

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"

Administrator
Administrator
acrylian   21-12-2012, 11:49
#8

Are all images are cached so the search "knows" about them? Any errors in the log?

Member
Member
haroon   21-12-2012, 15:55
#9

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?

Administrator
Administrator
acrylian   21-12-2012, 18:26
#10

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.

Member
Member
sbillard   21-12-2012, 18:54
#11

Your error message means that your server is mis-configuired. Specifically there is not a session folder configured. This is a Server/PHP thing so contact your hoster.

Member
Member
haroon   22-12-2012, 19:32
#12

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.

Member
Member
sbillard   22-12-2012, 22:48
#13

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.

Member
Member
Mark R   23-12-2012, 12:08
#14

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.

Member
Member
haroon   23-12-2012, 12:40
#15

Thanks Mark

I just know basic HTML so cant really understand what to do after reading your post. If you can just tell me what changes to make and where, then I can try and see.

Administrator
Administrator
acrylian   23-12-2012, 16:03
#16

Both of you please always consider to upgrade to the latest release before reporting issues. 1.4.3.1 respectively 1.4.3.2 is not the latest.

Member
Member
haroon   25-12-2012, 03:10
#17

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.

Administrator
Administrator
acrylian   25-12-2012, 18:16
#18

If you have the check for update plugin enabled there is a button on overview you have to push. I think in 1.4.4 Zenphoto will check itself and notify though.

Yes, the site was a bit unresponsive recently.

Member
Member
haroon   26-12-2012, 03:32
#19

Can i ugrade directly to 1.4.3.5 from 1.4.3.2 by skipping the inbetween versions?

Yes the button is there but on pressing it says no connection with zenphoto. anyway i'll check this with the new version.

Administrator
Administrator
acrylian   26-12-2012, 18:29
#20

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).

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