Pages (3): 1 2 3   
Member
Member
haroon   16-11-2013, 04:33
#1

Hi

From the first page of my site www.outzeal.com when I click on the link "next" or "2" to access the second page the following message comes:

"The Zenphoto object you are requesting cannot be found"

On some occasions it works but mostly it doesn't.

Thanks

Administrator
Administrator
fretzl   16-11-2013, 10:52
#2

I can confirm this.

Opened an "issue"(ticket) on GitHub.
https://github.com/zenphoto/zenphoto/issues/587

Administrator
Administrator
fretzl   16-11-2013, 21:40
#3

There has been a fix. Please try the support build.

Member
Member
haroon   17-11-2013, 04:23
#4

Thanks I saw github (though can never understand all the tech stuff).

You've mentioned it happens with combinews feature but I havent enabled that on my zenpage theme.

The proper link should be:
http://www.outzeal.com/index.php?p=gallery&page=2

This error leaves out "p=gallery&"

Sometimes it happens and sometimes it doesnt.

Regarding the support build - is it a new one which caters for this issue? I just tried one last week.

regards

Administrator
Administrator
fretzl   17-11-2013, 12:39
#5

Well, I could only reproduce the issue with CombiNews enabled.
In this case the problem was caused by something else entirely.
I think the fix will also solve your issue.

The "support build" is the latest official release but with the latest bug fixes and enhancements. Changes are almost daily.
This fix is now in the support build.
So please try it.
https://github.com/zenphoto/zenphoto/archive/master.zip

Administrator
Administrator
acrylian   17-11-2013, 13:46
#6

The support build should not have the CombiNews issue anymore actually.

Member
Member
haroon   17-11-2013, 13:50
#7

thanks guys but updating everytime for a bug means redoing all the customized design work

is it possible to update some relevant files regarding this issue

regards

Administrator
Administrator
fretzl   17-11-2013, 14:09
#8

That's why it is strongly advised to make a duplicate theme first and customize that one.
http://www.zenphoto.org/news/theming-tutorial#duplicating-cloning-a-theme-for-customizations

In this case you can just copy the themes/zenpage/functions.php file (from the support build) to your theme folder.

Administrator
Administrator
acrylian   17-11-2013, 15:46
#9

Of course if a bug would require changes to the theme you have to re-do it to your customized version. That is not avoidable.

In this case it does not affect the theme.

Member
Member
haroon   20-11-2013, 05:02
#10

hi sorry for coming in late (away on my flight)

functions.php solved the issue, thanks however I've discovered something else i.e. When I create a database backup in the overview section by clicking on the backup/restore button, the backup file is created but at the same time all my theme settings are changed and comments deleted. I then have to restore to my old settings by using the restore command.

At the moment I am updating the zp-core folder from the support build. If it does not solve the problem, I'll open up a new issue.

regards

Administrator
Administrator
acrylian   20-11-2013, 10:41
#11

I cannot reproduce this behaviour with the support build. You should look at your error logs.

Member
Member
haroon   20-11-2013, 11:55
#12

ok. with the latest support build it is corrected. thanks.

however i'll be grateful if you can confirm the functioning logic of the search feature:

From the gallery (http://www.outzeal.com) if you search for the word "mountain", it gives results.

Once you enter an album e.g. TREKKING (http://www.outzeal.com/index.php?album=trekking)

and then search for the word "mountain", it gives NO results.

Is this normal or some fault.

Thanks

Administrator
Administrator
acrylian   20-11-2013, 12:04
#13

This is not normal and sadly I cannot reproduce this either. Is the search cache enabled? What are the search options?

Edit: It seems you have the search option "search within results" enabled. Try disabling that.

Member
Member
haroon   20-11-2013, 17:18
#14

no that's not the case.

Default search is set to "New" not within.

Do not return album, image, news, pages matches are not checked.

Cache expiry is set to 0 mins

Administrator
Administrator
fretzl   20-11-2013, 19:20
#15

I can confirm this behavior.
As soon as you are on an album page (album.php) the search stays within the album.
Somehow the "New" option is not processed.

Administrator
Administrator
acrylian   20-11-2013, 19:45
#16

Ok, best open a ticket.

Administrator
Administrator
fretzl   20-11-2013, 19:54
#17

Done
https://github.com/zenphoto/zenphoto/issues/591

Member
Member
sbillard   21-11-2013, 00:22
#18

Just for everyone's information:

When you are in an album your search is done on items that are contained in that album. This has nothing at all to do with the option you reference. That option states that the normal search [b]from search page results[/b] will be either a search of the results or a new search.

Quote:Default search sets how searches from search page results behave. The search will either be from within the results of the previous search or will be a fresh new search.
Of course you can override this behavior in your theme by passing the appropriate parameters to the function that prints the form, but I suspect that it will end up confusing your users.

Member
Member
haroon   21-11-2013, 05:00
#19

Thanks for clarification, however I am still unclear about one thing.

  1. In a gallery that has only the main albums (e.g. homepage) everything is searched.

  2. From a gallery if you enter an album which has sub-albums in it:

The search feature searches within album description e.g. http://www.outzeal.com/index.php?album=trekking

And not within subalbum (thumbnail) description e.g. http://www.outzeal.com/index.php?album=trekking/photos

  1. When you enter the final album (which has no subalbums) the search is within both the album description and image description e.g.

http://www.outzeal.com/index.php?album=trekking/photos/northern-areas-of-pakistan

To me point no 2 is causing the confusion i.e. why there is no search within the thumbnail description or for image decription when you are in an album that has sub-albums?

Regards

Member
Member
sbillard   21-11-2013, 05:12
#20

The search looks only at items that are part of the album. Items contained within subalbums do not fit that criteria.

From viewing your gallery it would appear that there are no images within any of the parent albums, so naturally they will be no images retrieved from searches in those albums.

You can, of course, alter this as I mentioned. Simply pass all the names of all the subalbums you wish to be searched.

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