- Moderated by:
- Support
-
- rank:
-
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 -
- rank:
-
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? -
- rank:
-
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? -
- rank:
-
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? -
- rank:
-
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 -
- rank:
-
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 :) -
- rank:
-
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
