choose as album cover message

Shemo725

Joined: 2008-04-18
Posts: 424
Posted: Wed, 2012-05-16 07:40

got this message when trying to choose a photo as the new album cover:

{"result":"success","reload":1}

 
shadlaws

Joined: 2012-03-14
Posts: 183
Posted: Mon, 2012-05-21 15:03

Just happened to me, too - identical symptoms. I suspect it's a problem with one of the new updates.

Currently I'm running:
- Gallery v3.0.3
- GreyDragon v3.2.2

... and it was fine last time when I was running:
- Gallery v3.0.2
- GreyDragon v3.1.4

Thoughts?

Take care,
Shad

 
shadlaws

Joined: 2012-03-14
Posts: 183
Posted: Mon, 2012-05-21 15:17

I just confirmed - at least for me, it's caused by the latest version of GreyDragon. I reloaded v3.1.4 and there was no problem. However, both v3.2.1 and v3.2.2 cause the message to appear - drat! I'm going to repost this on the GreyDragon thread...

Edit: I've reposted it to http://gallery.menalto.com/forum_theme_greydragon?page=43#comment-391885

Take care,
Shad

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2012-05-21 18:07

it is strange it was not caught earlier

to fix:

in page.html.php
find the line

<?= $theme->script("gallery.dialog.js"); ?>

and add the following before it

<?= $theme->script("gallery.ajax.js") ?>

Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter

 
shadlaws

Joined: 2012-03-14
Posts: 183
Posted: Mon, 2012-05-21 20:41

Hey Serge,

You were right - works like a charm after the fix. Thanks!

Take care,
Shad

 
takuma

Joined: 2012-12-25
Posts: 1
Posted: Wed, 2012-12-26 15:57

I just tried this and it didn't work... Do you mean page.html.php in themes/greydragon/views?

Oh what it did do when I replaced it is to remove the 'login' & 'register' links from the front page when I view it (without logging in). That might be an compatibility issue with 'User registration' module, I guess.

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Thu, 2012-12-27 15:17
takuma wrote:
when I replaced it

The post above says to add the new line above the old one; don't replace the old one.

 
mervyngroves

Joined: 2008-08-03
Posts: 92
Posted: Mon, 2013-01-21 11:39

Works for me too. Apologies for not reporting it earlier but rarely use the edit photo function.