PDA

View Full Version : New Release - Issues thread


Andy
Aug-22-2009, 11:30 AM
Hi folks, this morning, we released NiceNames (http://blogs.smugmug.com/release-notes/2009/08/21/introducing-nicenames-august-13th-2009/).

A few things got busted and we'll fix 'em - today I hope - and I beg your patience while we get to them. This thread will be to assure you we know that of the issue and we're working it.


New List Sunday Aug 23

1. FB Connect needs attention.

l4pi
Aug-22-2009, 11:43 AM
Andy

When in a gallery I can not use the edit link to change a gallery description. Once edited it will not save the changes. You have to go into customize gallery, makes changes and save them there.

And I'm never sure if it is the wonderful service I get from Charter, but the site is very very slow. Taking 4 -7 seconds to load any page. Could be on my end, but I can tell you it is not a good day to be slow.....

ghealy
Aug-22-2009, 12:57 PM
Andy,

Don't see my issue listed. I am trying to create a gallery and the system keeps telling me I have invalid characters, but as this screenshot shows, there aren't any.

http://ghealy.smugmug.com/photos/626898651_DnpKq-L.jpg

Hope the Wizards are working their magic to resolve this ASAP.

Manny
Aug-22-2009, 01:24 PM
Well, I thought I was going nuts! I noticed something off and started to hack at it and no matter what I try, nothing works...

But I have it down to JavaScript and combined with your post here, it makes me feel better that it is not me who is crazy. I mean, I touched NOTHING .. LOL

If it helps, here is what's broken for me:


******** type="text/javascript">
if (hasPath("featured"))
YAHOO.util.Dom.addClass(document.body, "featured");
if (hasPath("Galleries"))
YAHOO.util.Dom.addClass(document.body, "galleries");
if (hasPath("Family"))
YAHOO.util.Dom.addClass(document.body, "Family");
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
</********


The above code combined with other JavaScript in my TOP JavaScript (will post below) lets me HIDE certain categories from my Galleries page. Specifically my Families category will not place links/icons in the Galleries page unless I am logged in.

Here is the code in my JavaScript


/*== Hide Categories ==*/
function delCategory()
{
if ((YD.hasClass(document.body, "homepage")) && (!YD.hasClass(document.body, "loggedIn")))
{
re = /href="\/(Family|Friends|Other|Photography|Private)"/;

if (YD.hasClass(document.body, "homepage"))
{
oList = YD.getElementsByClassName("miniBox", "div");
for (i=0; i<oList.length; i++)
{
if (re.test(oList[i].innerHTML))
oList[i].parentNode.removeChild(oList[i]);
}
}
}
}
/*== End Hide Categories ==*/


Thanks :D

jfriend
Aug-22-2009, 01:47 PM
Well, I thought I was going nuts! I noticed something off and started to hack at it and no matter what I try, nothing works...

But I have it down to JavaScript and combined with your post here, it makes me feel better that it is not me who is crazy. I mean, I touched NOTHING .. LOL

If it helps, here is what's broken for me:


******** type="text/javascript">
if (hasPath("featured"))
YAHOO.util.Dom.addClass(document.body, "featured");
if (hasPath("Galleries"))
YAHOO.util.Dom.addClass(document.body, "galleries");
if (hasPath("Family"))
YAHOO.util.Dom.addClass(document.body, "Family");
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
</********

The above code combined with other JavaScript in my TOP JavaScript (will post below) lets me HIDE certain categories from my Galleries page. Specifically my Families category will not place links/icons in the Galleries page unless I am logged in.

Here is the code in my JavaScript


/*== Hide Categories ==*/
function delCategory()
{
if ((YD.hasClass(document.body, "homepage")) && (!YD.hasClass(document.body, "loggedIn")))
{
re = /href="\/(Family|Friends|Other|Photography|Private)"/;

if (YD.hasClass(document.body, "homepage"))
{
oList = YD.getElementsByClassName("miniBox", "div");
for (i=0; i<oList.length; i++)
{
if (re.test(oList[i].innerHTML))
oList[i].parentNode.removeChild(oList[i]);
}
}
}
}
/*== End Hide Categories ==*/

Thanks :DThis is because of #2 in Andy's list.

Manny
Aug-22-2009, 01:55 PM
This is because of #2 in Andy's list.

You think so? I am having trouble while logged out... meaning notLoggedIn which should work as things may be broken when logged in.

My point specifically is that the JavaScript is testing for URL component and it seems that it is not finding the URL to filter on...

Whether I am logged in or out I see ALL my galleries displayed in the Galleries link.

Thank you

Andy
Aug-22-2009, 02:01 PM
Andy,

Don't see my issue listed. I am trying to create a gallery and the system keeps telling me I have invalid characters, but as this screenshot shows, there aren't any.

http://ghealy.smugmug.com/photos/626898651_DnpKq-L.jpg

Hope the Wizards are working their magic to resolve this ASAP.Too many characters, but we'll fix the error message. Sorry.

Shutterbug-NOLES
Aug-22-2009, 02:03 PM
I'm getting a 404 ERROR whenever I click on any of my galleries. Is this an issue that is being looked at?

Andy
Aug-22-2009, 02:16 PM
I'm getting a 404 ERROR whenever I click on any of my galleries. Is this an issue that is being looked at?
Hi! I need to see your site please :D

jfriend
Aug-22-2009, 02:23 PM
You think so? I am having trouble while logged out... meaning notLoggedIn which should work as things may be broken when logged in.

My point specifically is that the JavaScript is testing for URL component and it seems that it is not finding the URL to filter on...

Whether I am logged in or out I see ALL my galleries displayed in the Galleries link.

Thank you I see. It is affected the the loggedIn problem, but the main problem is something else. It looks like Smugmug's HTML has an extra carriage return that is probably messing up your regular expression testing.

Try changing this line:

re = /href="\/(Family|Friends|Other|Photography|Private)"/;

to this:

re = /href="\/(Family|Friends|Other|Photography|Private)"/m;

I'm not sure the "m" multi-line flag is universal in all browsers. For that reason, I do this differently.

I fetch the innerHTML into a local string and then replace all newlines with a space and then execute the search.

var localStr = oList[i].innerHTML;
localStr.replace(/\n/g, " "); // get rid of all newlines
if (re.test(localStr))
...

Also, you might want to make sure this works in IE and Safari because both IE and Safari do not preserve the innerHTML exactly as it was in the page and IE sometimes strips out the quote marks which can sometimes goof you up if you're trying to match on what you think will be there.

jfriend
Aug-22-2009, 02:36 PM
Andy, another bug filed here (http://www.dgrin.com/showthread.php?p=1192561). JS errors in single image, traditional view.

Shutterbug-NOLES
Aug-22-2009, 02:41 PM
Hi! I need to see your site please :D

http://www.byellis.com/

http://byellis.smugmug.com

Sample: When I click to this link:
http://byellis.smugmug.com/PROOFS-Client-Area/Kelsey-and-Ally

and then click on a gallery it goes to a 404 ERROR page. I see that smugmug is no longer a part of the link string which it is up until I click on a gallery.

Andy
Aug-22-2009, 02:44 PM
http://byellis.smugmug.com


Fixed? Your cname for www.byellis.com is not set up right, I removed it from your SmugMug control panel. It needs to be set to cname to domains.smugmug.com - please write our Support Heroes (http://www.smugmug.com/help/emailreal) ATTN: DOC if you want us to fix your domain name for you on y our domain host, thanks.

dogwood
Aug-22-2009, 03:45 PM
Hi folks, this morning, we released NiceNames (http://blogs.smugmug.com/release-notes/2009/08/21/introducing-nicenames-august-13th-2009/).

A few things got busted and we'll fix 'em - today I hope - and I beg your patience while we get to them.

Well I'm sure this is frustrating on your end, Andy. I do find myself wondering how so many things could get busted at once, though. :scratch

Do you need beta testers? I'm sure there are plenty of us willing to help with that to prevent this in the future! :D

Andy
Aug-22-2009, 03:46 PM
2. not seeing loggedIn stuff that you should see (tools, add photos, etc):
http://www.dgrin.com/showthread.php?t=141240

3. bioBox boxTop hidden when logged in
http://www.dgrin.com/showthread.php?t=141229

4. script error in customize gallery page
http://www.dgrin.com/showthread.php?t=141227

6. some folks can't save with the edit gallery button, edit, type something, save won't work. Can't edit keywords or caption either in a photo, e.g.:

http://www.peloton-pix.com/Road-Racing/2009-Tour-of-Americas-8/8606226_BVbte/1/567632019_3Ruba/Medium

7. Empty galleries have no footer.
http://runawaygirlphotography.smugmug.com/Other/Angie-McKenna/9212422_kLWX5


9. JS Errors in Single Image view:
http://www.dgrin.com/showthread.php?t=141274

ALL of these should be fixed. Thanks!

Andy
Aug-22-2009, 03:46 PM
Well I'm sure this is frustrating on your end, Andy. I do find myself wondering how so many things could get busted at once, though. :scratch

Do you need beta testers? I'm sure there are plenty of us willing to help with that to prevent this in the future! :Dnah they were mostly all related :D

Sorry about that.

Andy
Aug-22-2009, 03:47 PM
Andy,

Don't see my issue listed. I am trying to create a gallery and the system keeps telling me I have invalid characters, but as this screenshot shows, there aren't any.

http://ghealy.smugmug.com/photos/626898651_DnpKq-L.jpg

Hope the Wizards are working their magic to resolve this ASAP.
FIXED it better! :D

Andy
Aug-22-2009, 04:35 PM
Fixed the issue where popular photos weren't showing for you on your site.

Shutterbug-NOLES
Aug-22-2009, 05:30 PM
Fixed? Your cname for www.byellis.com (http://www.byellis.com) is not set up right, I removed it from your SmugMug control panel. It needs to be set to cname to domains.smugmug.com - please write our Support Heroes (http://www.smugmug.com/help/emailreal) ATTN: DOC if you want us to fix your domain name for you on y our domain host, thanks.

Yes I would like it fixed and will contact support as you suggested.
Everything was working fine until the 'nice names' release.

Thanks for your help.

Andy
Aug-22-2009, 05:35 PM
Yes I would like it fixed and will contact support as you suggested.
Everything was working fine until the 'nice names' release.

Thanks for your help.Yes, we announced, and contacted you also. Months ago, about improperly set up CNAMEs might eventually have broken stuff. Now is eventually. But no worries, because we can help you get set up properly in minutes :D

Manny
Aug-22-2009, 07:30 PM
I see. It is affected the the loggedIn problem, but the main problem is something else. It looks like Smugmug's HTML has an extra carriage return that is probably messing up your regular expression testing.

Try changing this line:

re = /href="\/(Family|Friends|Other|Photography|Private)"/;

to this:

re = /href="\/(Family|Friends|Other|Photography|Private)"/m;

I'm not sure the "m" multi-line flag is universal in all browsers. For that reason, I do this differently.

I fetch the innerHTML into a local string and then replace all newlines with a space and then execute the search.

var localStr = oList[i].innerHTML;
localStr.replace(/\n/g, " "); // get rid of all newlines
if (re.test(localStr))
...

Also, you might want to make sure this works in IE and Safari because both IE and Safari do not preserve the innerHTML exactly as it was in the page and IE sometimes strips out the quote marks which can sometimes goof you up if you're trying to match on what you think will be there.

John, I truly appreciate your help. I tried your first suggestion but it did not work.

I have my code exactly as it has been for months so something definitely changed because it is now pretty bad :-( Also tried your second suggestion with mixed and equally poor results ... :dunno

The way it worked before it broke, and the way I'd like it to work is:

HOME PAGE - VISITORS

No galleries, just clean Slideshow Banner and Nav

CLICK ON GALLERIES LING goes to

/Galleries

Display all galleries EXCEPT those contained in particular categories. Goal was to have both a Commercial site with a Family site but hide one from the other. The code would strip all references to Family, Private, etc. and only show Customers etc. Right now ALL galleries show

HOME PAGE - OWNER

Same as visitors: No Galleries just clean

Galleries Link

Show EVERYTHING for me :-)

Here is my code for the various parts. Not sure where it is broken as I have made every attempt to fix it with disastrous results. So I have put it back the way it was before today's site outage:

CSS (only relevant piece)


/*hide homepage galleries hack*/
.homepage #categoriesBox {display:none;}
.featured #featuredBox {display:block !important;}
.featured #categoriesBox {display:none !important;}
.galleries #bioBox {display:none;}
.galleries #categoriesBox {display:block !important;}
.galleries #featuredBox {display:none !important;}

Top JavaScript (only relevant portions)



/*== Hide Categories ==*/

function delCategory()
{
if ((YD.hasClass(document.body, "homepage")) && (!YD.hasClass(document.body, "loggedIn")))
{
re = /href="\/(Family|Friends|Other|Photography|Private)"/;

if (YD.hasClass(document.body, "homepage"))
{
oList = YD.getElementsByClassName("miniBox", "div");

for (i=0; i<oList.length; i++)
{
if (re.test(oList[i].innerHTML))
oList[i].parentNode.removeChild(oList[i]);
}
}
}
}
/*== End Hide Categories ==*/

The above USED to test for the presence of Family or Private Friends etc., basically whatever I did not want to show up and not show it on the /Galleries link but allow all else to show through

If I was logged in, it gets ignored and shows all galleries. Indeed right now ALL galleries show through all the time :scratch

And almost forgot, my custom footer code is below (again, relevant code)


******** type="text/javascript">
if (hasPath("featured"))
YAHOO.util.Dom.addClass(document.body, "featured");

if (hasPath("Galleries"))
YAHOO.util.Dom.addClass(document.body, "galleries");

if (hasPath("Family"))
YAHOO.util.Dom.addClass(document.body, "Family");

function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
</********

********>
delCategory();
</********


Thanks for your insight. Hopefully you or someone else can pinpoint what I am doing wrong!

Cheers

RuSu
Aug-22-2009, 08:18 PM
First off, this is a great release & perfectly timed for me as I was having a bit of trouble setting up my vanity URLs, so thanks SM.

1. My 3 unlisted galleries - welcome, guestbook & contact - do not show the nicknames. I've gone in to customize them (though the proper assigned nickname was already there) & resaved the nicknames. For a minute it will show that nickname while logged in. I then checked vistor's view & there's no nickname. When I go back to my logged in view, the nickname has disappeared. How to overcome this for these galleries?

http://rusu.smugmug.com/gallery/8884219_SKyYX

2. Throughout my site, all URLs show/start with rusu.smugmug.com, except for my two galleries under "Awards" which properly show rusuphotogaphy.com... though the "Awards" category itself shows rusu.smugmug. How can I get all of my pages to have the URL start with rusuphotography.com such as this:

http://rusuphotography.com/Awards/Safronov-Kalmykia-Award-2009/8773159_jTneL#580782783_RADmD

Thanks for your help & congrats again SM on this great new feature.

Andy
Aug-22-2009, 08:34 PM
1. My 3 unlisted galleries - welcome, guestbook & contact - do not show the nicknames. I've gone in to customize them (though the proper assigned nickname was already there) & resaved the nicknamesas unlisted galleries, they'll need the perma link with the albumKey and albumID - othewise they could be guessable and so that'd be a security risk.

your other issue is due to the fact you've hard-coded those urls in your navbar code. Just use relative urls - you don't need nickname.smugmug.com or www.yourdomain.com infront - just use /everthingelseaftertheslash

thanks!

jfriend
Aug-22-2009, 08:41 PM
First off, this is a great release & perfectly timed for me as I was having a bit of trouble setting up my vanity URLs, so thanks SM.

1. My 3 unlisted galleries - welcome, guestbook & contact - do not show the nicknames. I've gone in to customize them (though the proper assigned nickname was already there) & resaved the nicknames. For a minute it will show that nickname while logged in. I then checked vistor's view & there's no nickname. When I go back to my logged in view, the nickname has disappeared. How to overcome this for these galleries?

http://rusu.smugmug.com/gallery/8884219_SKyYX

2. Throughout my site, all URLs show/start with rusu.smugmug.com, except for my two galleries under "Awards" which properly show rusuphotogaphy.com... though the "Awards" category itself shows rusu.smugmug. How can I get all of my pages to have the URL start with rusuphotography.com such as this:

http://rusuphotography.com/Awards/Safronov-Kalmykia-Award-2009/8773159_jTneL#580782783_RADmD

Thanks for your help & congrats again SM on this great new feature. Unlisted galleries do not show nicknames for security/guessability reasons.

The URLs are going back to rsu.smugmug.com because that's what you put in your navbar.

Change your navbar to this and it will stay on whatever domain you enter on:

<div id="navcontainer">
<ul>
<li><a href="/ (http://www.dgrin.com/view-source:http://rusu.smugmug.com/)">Home&nbsp;</a><font color=red>•</font></li><li></li>
<li><a href="/gallery/8884219_SKyYX (http://www.dgrin.com/view-source:http://rusu.smugmug.com/gallery/8884219_SKyYX)">Welcome</a>&nbsp;</a><font color=red>•</font></li><li></li>
<li><a href="/galleries (http://www.dgrin.com/view-source:http://rusu.smugmug.com/galleries)">Galleries</a>&nbsp;</a><font color=red>•</font></li><li></li>
<li><a href="/?feedType=geoUser&Data=RuSu (http://www.dgrin.com/view-source:http://maps.smugmug.com/?feedType=geoUser&Data=RuSu)">Map</a>&nbsp;</a><font color=red>•</font></li><li></li>
<li><a href="/gallery/8810309_WtEQR (http://www.dgrin.com/view-source:http://rusu.smugmug.com/gallery/8810309_WtEQR)">Guestbook</a>&nbsp;</a><font color=red>•</font></li><li></li>
<li><a></a></li><li><a href="/gallery/9045387_6K8c3 (http://www.dgrin.com/view-source:http://rusu.smugmug.com/gallery/9045387_6K8c3)">Contact</a></li>
</ul>
</div>

RuSu
Aug-22-2009, 09:01 PM
So, if someone enters thru rusu.smugmug, it maintains that url intro & vice versa if they enter thru rusuphtography - got it! Thanks, John.

RuSu
Aug-22-2009, 09:37 PM
BTW, forgot to also thank you for the fact that nicknames can use/recgonize foreign language characters - VERY nice & very much appreciated. Great work! Thanks for covering all the bases!

Lightchaser
Aug-23-2009, 02:36 AM
Hi Andy
Not sure if this is related but when I try to go onto my site I get an invalid URL message (attached, showing URL address). And when I try to log on through SM I get a message saying the connection is untrusted and the site's identify can't be verified. Everything was working fine about 5-6 hours ago?
cheers (and thank's for your patience!)

AdamNP
Aug-23-2009, 02:51 AM
That URL is working fine for me.

Andy
Aug-23-2009, 04:17 AM
Hi Andy
Not sure if this is related but when I try to go onto my site I get an invalid URL message (attached, showing URL address). And when I try to log on through SM I get a message saying the connection is untrusted and the site's identify can't be verified. Everything was working fine about 5-6 hours ago?
cheers (and thank's for your patience!)
Everthing working from where I sit (NY) = still having any probs :ear

SamirD
Aug-23-2009, 09:15 AM
Too many characters, but we'll fix the error message. Sorry.I just ran into the 'invalid characters' message, but the characters are all valid. What's the character limit?

Andy
Aug-23-2009, 09:17 AM
I just ran into the 'invalid characters' message, but the characters are all valid. What's the character limit?
30 and {JT}'s working on a better message.

SamirD
Aug-23-2009, 09:37 AM
30 and {JT}'s working on a better message.Thank you. That's what I need to know. Will there be a possible higher limit in the future? Also, can the script that auto-generates the NN just truncate the auto-generated name at 30 or whatever the character limit is? It seemed to have done this when generating NN for all the existing galleries.

gfw123
Aug-23-2009, 09:43 AM
When I try to 'Be Social' and share one of my photos via 'Facebook' I get a new small window that use to let me log onto facebook, now it is just the SmugMug home page. See the attached image.

This has be happening for the last couple days on 3 different computers. It *might* happen when:

1) Try to share a photo vie Facebook.
2) Click on the blue button that says 'connect'
3) Do not enter your password but instead just cancel the window or 'x' it.
4) Now try to share a new photo and click on the blue button, that is when I
get the smugmug home page.

Not sure if that is a 100% repro above, or if it actually started since the last system
update, I have only used it 4-5 times before then maybe.

Doesn't seem to matter if I go from my custom domain www.gregorywrightphotography.com
or gregorywright.smugmug.com

--greg.

[EDIT] I also tried it logged out and logged in and from different browsers and OSs. (os x, XP, firefox, safari).

HoyBoy
Aug-23-2009, 09:48 AM
Same for me. But the FB connection seems fairly sporadic, so I'm not sure it's the update here that caused it. Did you try a different browser? Sometimes it seems like a particular Firefox version is more susceptible to this than others.

Just my experience....

Andy
Aug-23-2009, 09:48 AM
I'll add it to the list. Sorry, we'll fix!

JAG
Aug-23-2009, 10:01 AM
Ok I noticed that when my share button reappeared yesterday...my head banner on my galleries page disappeared.
http://jagcreations.smugmug.com/galleries

I don't know if its related to the share button reappearing. But it was at the same time when it disappeared. I gave it a day to correct itself in case it was just slow at downloading, but it hasn't.

Andy
Aug-23-2009, 10:11 AM
Ok I noticed that when my share button reappeared yesterday...my head banner on my galleries page disappeared.
http://jagcreations.smugmug.com/galleries

I don't know if its related to the share button reappearing. But it was at the same time when it disappeared. I gave it a day to correct itself in case it was just slow at downloading, but it hasn't.
You have a bad url in your customizing, please fix it:

you have this:

http://jagcreations.smugmug.com/photos/442313980_wLuUz-L.jpg.jpg

make it this

http://jagcreations.smugmug.com/photos/442313980_wLuUz-L.jpg

Thanks.

JAG
Aug-23-2009, 10:24 AM
You have a bad url in your customizing, please fix it:

you have this:

http://jagcreations.smugmug.com/photos/442313980_wLuUz-L.jpg.jpg

make it this

http://jagcreations.smugmug.com/photos/442313980_wLuUz-L.jpg

Thanks.

Ok...I removed the extra .jpg (which is really strange as that is not the code I put in originally.) and this is what I get...

There was a problem updating your settings. Please try again.


So I go back down to try again and the change is there and correct. I come out of customization and its not fixed.

Back into customazation and refixing....Now its working!!:thumb Thanks Andy.

My question is how did it get like that in the first place?? I have had that banner up since the begining of the year and it has always shown till yesterday. Did something go in and add extra code?

Lightchaser
Aug-23-2009, 11:39 AM
Everthing working from where I sit (NY) = still having any probs :ear

Thanks Andy. You're right - it seems to be working fine now.

Glory2Jesus4Photography
Aug-23-2009, 12:27 PM
Theme broke ! here is a link to it in use http://glory2jesus4photography.smugmug.com/Family/Other/Guestbook/3745773_6Lpzv
but all of the center is missing. It is one of Andy's old themes that he shared here in Dgrin. I was wondering if there is a way to get it to work correctly again.

Andy
Aug-23-2009, 12:29 PM
Theme broke ! here is a link to it in use http://glory2jesus4photography.smugmug.com/Family/Other/Guestbook/3745773_6Lpzv
but all of the center is missing. It is one of Andy's old themes that he shared here in Dgrin. I was wondering if there is a way to get it to work correctly again.post in customizing forum, you've got a bad image link.