New Release - Issues thread

AndyAndy Registered Users Posts: 50,016 Major grins
edited August 23, 2009 in SmugMug Support
Hi folks, this morning, we released NiceNames.

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.
«1

Comments

  • l4pil4pi Registered Users Posts: 57 Big grins
    edited August 22, 2009
    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.....
  • ghealyghealy Registered Users Posts: 247 Major grins
    edited August 22, 2009
    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.

    626898651_DnpKq-L.jpg

    Hope the Wizards are working their magic to resolve this ASAP.
  • MannyManny Registered Users Posts: 148 Major grins
    edited August 22, 2009
    For me it is one MINOR thingie :-)
    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 .. Laughing.gif

    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
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited August 22, 2009
    Manny wrote:
    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 .. <img src="https://us.v-cdn.net/6029383/emoji/Laughing.gif&quot; border="0" alt="" >

    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
    This is because of #2 in Andy's list.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • MannyManny Registered Users Posts: 148 Major grins
    edited August 22, 2009
    jfriend wrote:
    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
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited August 22, 2009
    ghealy wrote:
    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.

    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-NOLESShutterbug-NOLES Registered Users Posts: 11 Big grins
    edited August 22, 2009
    404 ERROR when trying to view galleries
    I'm getting a 404 ERROR whenever I click on any of my galleries. Is this an issue that is being looked at?
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited August 22, 2009
    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
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited August 22, 2009
    Manny wrote:
    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.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
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited August 22, 2009
    Andy, another bug filed here. JS errors in single image, traditional view.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • Shutterbug-NOLESShutterbug-NOLES Registered Users Posts: 11 Big grins
    edited August 22, 2009
    Andy wrote:
    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.
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited August 22, 2009

    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 ATTN: DOC if you want us to fix your domain name for you on y our domain host, thanks.
  • dogwooddogwood Registered Users Posts: 2,572 Major grins
    edited August 22, 2009
    Andy wrote:
    Hi folks, this morning, we released NiceNames.

    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. headscratch.gif

    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

    Portland, Oregon Photographer Pete Springer
    website blog instagram facebook g+

  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited August 22, 2009
    Andy wrote:


    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!
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited August 22, 2009
    dogwood wrote:
    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. headscratch.gif

    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
    nah they were mostly all related :D

    Sorry about that.
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited August 22, 2009
    ghealy wrote:
    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.

    626898651_DnpKq-L.jpg

    Hope the Wizards are working their magic to resolve this ASAP.
    FIXED it better! :D
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited August 22, 2009
    Fixed the issue where popular photos weren't showing for you on your site.
  • Shutterbug-NOLESShutterbug-NOLES Registered Users Posts: 11 Big grins
    edited August 22, 2009
    Andy wrote:
    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 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.
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited August 22, 2009
    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
  • MannyManny Registered Users Posts: 148 Major grins
    edited August 22, 2009
    jfriend wrote:
    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.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 ... <img src="https://us.v-cdn.net/6029383/emoji/ne_nau.gif&quot; border="0" alt="" >

    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 <img src="https://us.v-cdn.net/6029383/emoji/headscratch.gif&quot; border="0" alt="" >

    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
  • RuSuRuSu Registered Users Posts: 355 Major grins
    edited August 22, 2009
    Two questions/issues
    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.
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited August 22, 2009
    RuSu wrote:
    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
    as 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!
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited August 22, 2009
    RuSu wrote:
    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="[URL="http://www.dgrin.com/view-source:http://rusu.smugmug.com/"]/[/URL]">Home&nbsp;</a><font color=red>•</font></li><li></li>
    <li><a href="[URL="http://www.dgrin.com/view-source:http://rusu.smugmug.com/gallery/8884219_SKyYX"]/gallery/8884219_SKyYX[/URL]">Welcome</a>&nbsp;</a><font color=red>•</font></li><li></li>
    <li><a href="[URL="http://www.dgrin.com/view-source:http://rusu.smugmug.com/galleries"]/galleries[/URL]">Galleries</a>&nbsp;</a><font color=red>•</font></li><li></li>
    <li><a href="[URL="http://www.dgrin.com/view-source:http://maps.smugmug.com/?feedType=geoUser&Data=RuSu"]/?feedType=geoUser&Data=RuSu[/URL]">Map</a>&nbsp;</a><font color=red>•</font></li><li></li>
    <li><a href="[URL="http://www.dgrin.com/view-source:http://rusu.smugmug.com/gallery/8810309_WtEQR"]/gallery/8810309_WtEQR[/URL]">Guestbook</a>&nbsp;</a><font color=red>•</font></li><li></li>
    <li><a></a></li><li><a href="[URL="http://www.dgrin.com/view-source:http://rusu.smugmug.com/gallery/9045387_6K8c3"]/gallery/9045387_6K8c3[/URL]">Contact</a></li>
    </ul>
    </div>
    
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • RuSuRuSu Registered Users Posts: 355 Major grins
    edited August 23, 2009
    Got it
    So, if someone enters thru rusu.smugmug, it maintains that url intro & vice versa if they enter thru rusuphtography - got it! Thanks, John.
  • RuSuRuSu Registered Users Posts: 355 Major grins
    edited August 23, 2009
    To Smugmug
    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!
  • LightchaserLightchaser Registered Users Posts: 25 Big grins
    edited August 23, 2009
    Invalid URL
    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!)
  • AdamNPAdamNP Registered Users Posts: 178 Major grins
    edited August 23, 2009
    That URL is working fine for me.
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited August 23, 2009
    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.gif
  • SamirDSamirD Registered Users Posts: 3,474 Major grins
    edited August 23, 2009
    Andy wrote:
    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?
    Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com
    Want faster uploading? Vote for FTP!
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited August 23, 2009
    SamirD wrote:
    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.
Sign In or Register to comment.