Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Heiko Luxenhofer 38 posts 138 karma points
    Jun 26, 2015 @ 10:17
    Heiko Luxenhofer
    0

    NewsletterStudio Preview blank page

    Hallo,

    when I create new Newsletter, preview page ist blank. I reinstalled the package, but it`s not working anymore. Does anybody know, how to resolve this issue?

    Heiko

  • Markus Johansson 1761 posts 5142 karma points c-trib
    Jun 26, 2015 @ 12:24
    Markus Johansson
    0

    Hi!

    What version of the package are you running? Sounds like you have had issues during the installation. Did you have correct file write permissions?

    // m

  • Jan Skovgaard 11264 posts 23592 karma points MVP 9x admin c-trib
    Jun 26, 2015 @ 12:35
    Jan Skovgaard
    0

    Hi Heiko

    In what way does Newsletter Studio not work anymore? Any specific errors or other details about it? :) I think it would be nice with some further explanation.

    Cheers, Jan

  • Heiko Luxenhofer 38 posts 138 karma points
    Jun 29, 2015 @ 06:23
    Heiko Luxenhofer
    0

    Hi everybody,

    we use Umbraco 7.2.4, package Version 2.1.

    It worked on that instance, but I had to reinstall it.

    What can I do to get it working again?

    Heiko

  • Markus Johansson 1761 posts 5142 karma points c-trib
    Jun 29, 2015 @ 06:49
    Markus Johansson
    0

    Hi!

    Where did you reinstall it? In the same instance? Same version?

    Do you see any errors in the trace log or in the db? Or if you look at the requests to fetch the tree data / dashboard data - any clues in there?

  • Heiko Luxenhofer 38 posts 138 karma points
    Jun 29, 2015 @ 08:00
    Heiko Luxenhofer
    0

    I installed it again on the same instance and same version. I found this log entry:

    2015-06-29 09:50:30,762 [79] INFO  umbraco.BusinessLogic.Log - [Thread 85] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: 0 | Comment: Someone tried to render a newsletter without permissions.
    

    According to this entry, it is a permission problem. I changed nothing on permissions. What do I have to change?

  • Markus Johansson 1761 posts 5142 karma points c-trib
    Jun 29, 2015 @ 13:53
    Markus Johansson
    0

    Are you sure that you where logged in to the backoffice at that time?

    This error only shows when umbraco.BusinessLogic.User.GetCurrent() returns null.

  • Heiko Luxenhofer 38 posts 138 karma points
    Jun 30, 2015 @ 06:55
    Heiko Luxenhofer
    0

    Yes, I was logged in the backoffice. Everythin works great except preview mode. Do you have any solution for me?

  • Markus Johansson 1761 posts 5142 karma points c-trib
    Jun 30, 2015 @ 11:39
    Markus Johansson
    0

    Hi!

    I need to test this but like I wrote the error is saying that this method returns null which is strange.

    So just to double check. Everything else is working? You just installed the same version of the package over an old version?

    // m

  • Heiko Luxenhofer 38 posts 138 karma points
    Jun 30, 2015 @ 12:31
    Heiko Luxenhofer
    0

    I uninstalled the old version and installed the new one. Everything else is working, I can create and send newsletters.

  • Markus Johansson 1761 posts 5142 karma points c-trib
    Jun 30, 2015 @ 12:34
    Markus Johansson
    0

    Hi!

    What version did you have before installing 2.1? Next time, don't uninstall - just install the package again.

  • Heiko Luxenhofer 38 posts 138 karma points
    Jun 30, 2015 @ 12:38
    Heiko Luxenhofer
    0

    Actually it wasn`t a old version. I just wanted a new clean installation of the package. It was and is the newest version.

  • Markus Johansson 1761 posts 5142 karma points c-trib
    Jun 30, 2015 @ 12:46
    Markus Johansson
    0

    Okey!

    And you did not change anything else? I've just tested the latest version of Newsletter Studio (2.1) on Umbraco 7.2.4 and it works like a charm.

    Are you trying to preview an old newsletter that was created before you reinstalled? What if you create a new one? (Might be linked to old skins/temoplates etc?)

    // m

  • Heiko Luxenhofer 38 posts 138 karma points
    Jun 30, 2015 @ 13:30
    Heiko Luxenhofer
    0

    Hi Marcus,

    I researched and realized that we changed something... Sorry!!!! For this project it was necessary, that we had to overwrite standard UsersMembershipProvider. If somone is logged in backend, he is logged in frontend (as Member) simultaneously. This is the reason why this backend user cannot preview newsletters, I`ve just tested it. But why can I work in Backend without problems, but not in NewsletterStudio Section in preview mode?

    Sorry that I forgot this point and thank you very much for your awesome help.

    Heiko

  • Markus Johansson 1761 posts 5142 karma points c-trib
    Jul 01, 2015 @ 07:36
    Markus Johansson
    100

    Hi!

    I see! Sounds like a smart solution - is that something that you are using on many projects? I've heard from some bigger clients that they are requesting this type of features.

    So Newsletter Studio is using the legacy API to check that the reqeust to preview an email comes from a logged in users.

    umbraco.BusinessLogic.User.GetCurrent()
    

    I'm quite sure that this method is obsolete and that it will return null if you have replaced your membership-provider with a custom one.

    I will file this as a bug and try to upgrade this parts to use the new members API.

    Cheers!

    // m

  • Heiko Luxenhofer 38 posts 138 karma points
    Jul 01, 2015 @ 10:17
    Heiko Luxenhofer
    0

    Hi,

    in my case it is only one project, but I`m sure it can become more.

    It would be great if it will be fixed in one of the next releases.

    Thank you

    Heiko

Please Sign in or register to post replies

Write your reply to:

Draft