Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Xanthia and pnTresmailer
  • Posted: 02.09.2004, 09:09
     
    bgrinter
    rank:
    Freshman Freshman
    registered:
     June 2004
    Status:
    offline
    last visit:
    27.12.06
    Posts:
    38
    Is there an issue with these two?

    I've installed Xanthia and now 'Latest News' in pnTresmailer stopped working.

    That's the only changed I've made.

    Wierd... :shock:
  • Posted: 02.09.2004, 12:12
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    02.12.08
    Posts:
    13418
    I doubt it. It helps if we know the error though?

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 02.09.2004, 17:19
     
    bgrinter
    rank:
    Freshman Freshman
    registered:
     June 2004
    Status:
    offline
    last visit:
    27.12.06
    Posts:
    38

    HammerHead

    I doubt it. It helps if we know the error though?

    doh! Forgot to put the error - was posting on lunch break at work.

    What happens is my newsletter is set up for latest news and postcalendar. When I preview the newsletter it doesn't show any latest news.

    I've tried changing news settings but to no avail - I've added test news items, changed the settings for post all for the last month etc.

    What I've noticed is when I go in to plugins I now get the following error

    Quote

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 184320 bytes) in /.../subdomains/members/httpdocs/modules/pnTresMailer/modules/vb_forum.php on line 220

    (I put the ...s)
    which I never got before. I know it is a memory issue, however my host won't increase the allowed memory. Can I remove all the plugins except the ones I want? Is this the problem?
  • Posted: 03.09.2004, 01:20
     
    g1gsw
    rank:
    Freshman Freshman
    registered:
     December 1969
    Status:
    offline
    last visit:
    09.01.05
    Posts:
    6
    I have the same problem, the newsletter is also sent without content. Another issue is that you can no longer view subscribed users.
  • Posted: 03.09.2004, 01:35
     
    bgrinter
    rank:
    Freshman Freshman
    registered:
     June 2004
    Status:
    offline
    last visit:
    27.12.06
    Posts:
    38
    I hadn't noticed that, but yes, you're right. There are buttons to view the 3 pages but no subscribers.
    The only content I get is from the calendar.
    Surely someone else is also using Xanthia and pnTresmailer?
  • Posted: 03.09.2004, 10:21
     
    bgrinter
    rank:
    Freshman Freshman
    registered:
     June 2004
    Status:
    offline
    last visit:
    27.12.06
    Posts:
    38
    The only plugin that seems to work is Coming Events.

    I know a little PHP but not much about PostNuke. However, a quick look through the code of the news.php shows that it refers to the tables via the variable

    $pntable[stories]

    This hasn't been deprecated or something?
  • Posted: 03.09.2004, 12:35
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    More than likely the code assumes that the pntable array exists in the global namespace; while this was true for .72x and earlier it was explicitly stated that developers should call the relevant API to get both the database connection and the tables array. With .750 the global namespace has been throughly cleaned for security and resource management aspects.

    So code that didn't follow the coding guidelines may break..... Usually this can be easily fixed by adding the relevant API calls into the correct place.

    Code

    $dbconn =& pnDBGetConn(true);
        $pntable =& pnDBGetTables();


    For more detailed support on this and getting the module fixed on a more permanent basis it's best to refer the issue to the modules author/maintainer.

    -Mark
  • Posted: 03.09.2004, 17:59
     
    bgrinter
    rank:
    Freshman Freshman
    registered:
     June 2004
    Status:
    offline
    last visit:
    27.12.06
    Posts:
    38
    Thanks Mark,
    I tried this with the subscribers plugin and it worked. I'll just have to work out where is goes in the rest of the module.
    I've emailed and posted on the website I found pnTresMailer on (http://canvas.anubix.net/) but not got a reply.
    I might have to roll my sleeves and delve into PostNuke code :)
  • Posted: 03.09.2004, 19:36
     
    bgrinter
    rank:
    Freshman Freshman
    registered:
     June 2004
    Status:
    offline
    last visit:
    27.12.06
    Posts:
    38
    Yeah,
    That did it. Stuck that line in 41 files and it works like a charm ;)
  • Posted: 05.09.2004, 00:28
     
    g1gsw
    rank:
    Freshman Freshman
    registered:
     December 1969
    Status:
    offline
    last visit:
    09.01.05
    Posts:
    6
    You can find a version of pntresmailer I have modified to work with the latest PostNuke here:-

    http://www.g1gsw.org/ftp/post_nuke/pnTresMailer-6.0.3_fixed.tar.gz

    I am no programmer but it works for me and I cannot gaurantee it will work for you. If anyone can do better please let me know. I would appreciate some site hosting this file as I am only on a DSL link.

    Enjoy

    Colin

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula