Results 1 to 15 of 15

Thread: Error when sending newsletter

  1. #1
    User
    Join Date
    06-19-09.
    Posts
    417

    Default Error when sending newsletter

    I have set up a user group and user account for my client to login with.

    The user group has the newsletter back end module checked, have checked the allowed channel in Newsletter permissions, and all the tl_newsletter, tl_newsletter_channel, and tl_newsletter_recipient fields have been checked.

    But when the user tries to send a newsletter this error is recorded in the log:

    Details: Not enough permissions to access newsletter channel ID "13"

    Function: tl_newsletter checkPermission

    Any ideas what I am doing wrong?

  2. #2
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default Re: Error when sending newsletter

    Have you tried allowing them access to all db fields? Maybe there is some other fields beyond the obvious that they need access to.

  3. #3
    User
    Join Date
    06-19-09.
    Posts
    417

    Default Re: Error when sending newsletter

    Hi Ben,

    Thanks for trying to help.

    I have checked all back end modules and every db field, and still get the same error.

    Only thing that seems to work is making them an Admin, which I shouldn't really do.

    Any other thoughts?

  4. #4
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default Re: Error when sending newsletter

    So the only error is when they send a newsletter and no error messages are displayed? (It is only listed in the error log.) They are able to go in and create a newsletter, but they just can't send? Do you have error reporting enabled?

  5. #5
    User
    Join Date
    06-19-09.
    Posts
    417

    Default Re: Error when sending newsletter

    Hi Ben,

    I have:

    Code:
    $GLOBALS['TL_CONFIG']['displayErrors'] = true;
    But whether displayErrors is true or false seems to make no difference.

    This the error I see when when the send newsletter link is clicked:

  6. #6
    Core developer
    Official Contao Team
    leo's Avatar
    Join Date
    06-04-09.
    Location
    Wuppertal, Germany
    Posts
    201

    Default Re: Error when sending newsletter

    Seems you did not grant access to the channel in the user or user group settings.

  7. #7
    User
    Join Date
    06-19-09.
    Posts
    417

    Default Re: Error when sending newsletter

    Hi Leo,

    I have checked the channel in the user in newsletter permissions in the user group settings.

    [attachment=1:3j9z83li]group.png[/attachment:3j9z83li]

    Have ensured that the user is in the correct user group and that permission inheritance is set to "Use group settings".

    [attachment=0:3j9z83li]user.png[/attachment:3j9z83li]

  8. #8
    Core developer
    Official Contao Team
    leo's Avatar
    Join Date
    06-04-09.
    Location
    Wuppertal, Germany
    Posts
    201

    Default Re: Error when sending newsletter

    Which TYPOlight version do you have?

  9. #9
    User
    Join Date
    06-19-09.
    Posts
    417

    Default Re: Error when sending newsletter

    This site is using 2.7.6

  10. #10
    Core developer
    Official Contao Team
    leo's Avatar
    Join Date
    06-04-09.
    Location
    Wuppertal, Germany
    Posts
    201

    Default Re: Error when sending newsletter

    I am not aware of any newsletter issues in this version. Did you try the latest trunk?

  11. #11
    User
    Join Date
    06-19-09.
    Posts
    417

    Default Re: Error when sending newsletter

    Damn! It took an hour or two, but I downloaded the latest trunk and installed that - still the same problem :-(

  12. #12
    Core developer
    Official Contao Team
    leo's Avatar
    Join Date
    06-04-09.
    Location
    Wuppertal, Germany
    Posts
    201

    Default Re: Error when sending newsletter

    I suppose you have already tried to reproduce the issue in the online demo, haven't you?

  13. #13
    User
    Join Date
    06-19-09.
    Posts
    417

    Default Re: Error when sending newsletter

    Hi Leo,

    The online demo works perfectly, it appears that there is something wrong with my installation.

    I have tried:

    1) Create new user group, given permissions for everything

    2) Created new user and assigned to the above group

    3) Created new channel

    4) Create new newsletter

    5) Go back to user group and check the extra options created by new channel and newsletter.

    6) Tried to send newsletter - ERROR! Not enough permissions to access newsletter channel ID "15" …

    I am at my wits end with this, any help appreciated.

  14. #14
    Core developer
    Official Contao Team
    leo's Avatar
    Join Date
    06-04-09.
    Location
    Wuppertal, Germany
    Posts
    201

    Default Re: Error when sending newsletter

    In such a case you should reupload the files or synchronize them with an FTP client like WinSCP.

  15. #15
    User
    Join Date
    06-19-09.
    Posts
    417

    Default Re: Error when sending newsletter

    Hi Leo,

    I downloaded WinSCP, and re-uploaded all the trunk files:

    [attachment=0:2ryhnsuy]trunk.png[/attachment:2ryhnsuy]
    Also used synchronization to check they were all uploaded OK.

    Still the same problem, any further thoughts?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •