I am having problems with photo's showing an odd hierarchy... so after reading several posts on here I setup and ran the rescue module. It's been 4 hours now, still not done. But, even worse, doesn't show to of made any progress. It sometimes even goes backwards in progress!
Fix Album/Photo hierarchy
111 / 8821 rows updated
** 1.5 seconds later **
84 / 8821 rows updated
** 1.5 seconds later **
210 / 8821 rows updated
** 1.5 seconds later **
101 / 8821 rows updated
** 1.5 seconds later **
177 / 8821 rows updated
So on and so forth. And you can imagine, the percentage progress bar jumps around to match that. So, is it working and I should just wait till it's done and ignore it's progress window or is something up?
Carl M. Gregory
Posts: 16503
Are you using the latest experimental code to start with:
http://codex.gallery2.org/Gallery3:Upgrading
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 6
Posts: 7934
No, it's definitely not working properly
I'm not exactly sure what's going wrong here, but if I had to guess I'd say that you probably have some *really* big albums in your gallery. Is that the case? Roughly what's the number of photos in your largest album?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 7934
I just made a change to the rescue module to add a little more headroom. Try again, it might resolve your issue.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 6
How many ... I don't know, 8821 images over many albums ...
Wonderful, finishes now and in only a few minutes.
Still have some weird issues though, not sure if I should open another post or not .. but...
If I go to http://image.purehype.net/gallery3/index.php/Public?page=2, all the images appear as broken.
I click on one of them and get a 'Dang... Something went wrong!'
Hrm, that URI is all wrong. Suppose the rescue doesn't fix that? What do you suggest for this?
Carl M. Gregory
Posts: 6
Also,
If I go to http://image.purehype.net/gallery3/index.php/Carl%20M%20Gregory (or http://image.purehype.net/gallery3/index.php and click on 'Carl M Gregory' album), I get a 'Dang... Something went wrong!'. In the 'tell me more' info it says
However, that URI doesn't look messed up like the previous post.
Carl M. Gregory
Posts: 7934
This should be fixed in the code now, but your data might still be messed up. In mysql, try doing "update items set relative_path_cache=null, relative_url_cache=null" and then see if that fixes your album links. If that doesn't work, try editing the album name using the context menu and change the Internet Address field to not contain spaces or special characters (once you're editing that field it won't let you enter bad characters).
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 8
I'm having the same problem with g2 -> g3 imports. anything with a "'" in the title ends up looking like this (Luke_#39_s photos) when it should be (Luke's photos)
then the error is So here's the error:
The page you requested, 2009/Luke_, could not be found.
Posts: 7934
dvader, that should also be fixed with the latest code (see upgrading link below).
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 8
I am a gallery n00b, so if i didn't upgrade correctly please let me know
i followed this link http://example.com/gallery3/index.php/upgrader (replaced with my site)
and it said gallery 3 was at "6" and "7" was available, so i upgraded.
removed my albums and then re-imported, it still did not appear to be fixed.
was this the correct method for upgrading?
Posts: 7934
@dvader: you're still using beta 2. Try the latest code from Git (see the upgrading link in my sig)
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git
Posts: 6
bharat,
After doing the update `g3_items` set `relative_path_cache`=null, `relative_url_cache`=null;, all is well with the first issue.
Then, changing the internet name of the album from Carl M Gregory to CarlMGregory fixed the second issue.
All appears to be working now, thanks.
Carl M. Gregory
Posts: 6
By the way, bharat, now that my album is back online I can properly answer you question. My largest album has 6656 items.
Carl M. Gregory
Posts: 7934
That's a big album! With the latest tweaks, I think the rescue module can probably only deal with an album with about 9,000 photos in it. I guess we'll cross that bridge when we come to it
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git
Posts: 8
@bharat - just wanted to confirm the latest code did fix the problem I mentioned in my previous post.
Thanks!
Posts: 8
Incidentally, I just had this exact same problem with b3 with the rescue module not quite fixing everything. I switched to using the git version, moved my var directory into the git version, ran php index.php upgrade, logged into mysql and ran the above sql, and viola! it works.
Thanks for the tip, and excellent work on the project as a whole
(this post is mostly just to confirm what others have said, this works quite well if you run into this problem)