Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#193 2008-11-19 13:09:22

keukenkikker
Member
From: Netherlands
Registered: 2006-08-08
Posts: 79
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

How can I solve the following error message? It appears when an email address is duplicate in the system. I would like an error message to appear. I work with Postmaster v0.3 as the latest version gives al kinds of error messages. See also #187 / #188.

tag_error <txp:zem_contact label=”“ to=“info@sanchabba.nl” subject=“Aanmelden nieuwsbrief sanchabba.nl” thanks=“Uw e-mailadres is toegevoegd aan onze mailinglist.” > -> Textpattern Warning: Duplicate entry ‘becca@keukenkikker.nl’ for key 2
INSERT INTO bab_pm_subscribers values (‘’,‘becca’,‘becca@keukenkikker.nl’,‘default’,’‘,’‘,’‘,’‘,’‘,’‘,’‘,’‘,’‘,’‘,’‘,’‘,‘2771fd24a7aa30703b265d2fc36739a5’)
bab_pm_zemcontact_submit() on line 81

textpattern/lib/txplib_db.php:81 trigger_error()
textpattern/lib/txplib_misc.php(574) : eval()’d code:842 safe_query()
bab_pm_zemcontact_submit()
textpattern/lib/txplib_misc.php:610 call_user_func()
textpattern/lib/txplib_misc.php(574) : eval()’d code:133 callback_event()
textpattern/publish.php:970 zem_contact()
processTags()
textpattern/publish.php:929 preg_replace_callback()
textpattern/lib/txplib_misc.php:1460 parse()
textpattern/publish/taghandlers.php:249 parse_form()

Last edited by keukenkikker (2008-11-19 13:12:40)

Offline

#194 2008-11-26 19:21:41

zeusdidit
Member
Registered: 2007-10-16
Posts: 111

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

Original post link from this thread:
http://forum.textpattern.com/viewtopic.php?id=25598&p=17
net-carver wrote:

Fuls

Can you try this… edit your postmaster_library plugin and look for the bab_pm_createTables() function.

Replace this line…

	$dbcharset = $txpcfg['dbcharset'];

… with this one…

	$dbcharset = "'".$txpcfg['dbcharset']."'";

… save and try accessing the Postmaster tab again.

I tried changing the code above but it didn’t work but I am running TXP 4.0.6 on IIS with the latest MySQL. Any help would be appreciated. And thanks.

Last edited by zeusdidit (2008-11-26 19:32:58)

Offline

#195 2008-12-03 15:11:22

mlarino
Member
Registered: 2007-06-29
Posts: 367

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

I have been using PostMaster for a wile! but now I dont know why, when the plugin is active I get this message in my website.

A problem occured while loading the plugin: Postmaster -> User_Warning: Unable to include plugin “Postmaster_library” on line 489

Fatal error: Cannot redeclare bab_pm_importfromnm() (previously declared in /home/sites/mlarino.com/public_html/textpattern/lib/txplib_misc.php(574) : eval()‘d code:148) in /home/sites/mlarino.com/public_html/textpattern/lib/txplib_misc.php(574) : eval()‘d code on line 475

I had to deactivate the plugin so the message doesnt appear in the front page, but the plugin seems to still be working (but I cant access the mailing list) but people can still subscribe to it.

What is the problem?
How can I fix this?
thanks!

Offline

#196 2008-12-03 16:58:20

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

Do you have installed both the plug-in and the library?
Have you tried deleting them and re-installing them again?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#197 2008-12-03 17:07:18

mlarino
Member
Registered: 2007-06-29
Posts: 367

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

well…
Before it didnt let me delete any of them…
thats why I couldnt do anything.
But I tried it again and it worked, I deleted reinstalled and works fine.

I was scared of loosing all my subscribers to the mailing list
Thanks !!!!!!

Offline

#198 2008-12-12 13:56:54

decode
New Member
From: Italy
Registered: 2008-02-14
Posts: 8

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

Hello all.

Little question: somebody tested this on 4.0.7?

Thanks and greetings.

Offline

#199 2008-12-12 14:05:16

MikeTheVike
Member
Registered: 2008-06-17
Posts: 47

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

it works on 4.0.7, a couple errors creep up, but there are fixes in this thread…

de:code wrote:

Hello all.

Little question: somebody tested this on 4.0.7?

Thanks and greetings.

Offline

#200 2008-12-12 16:16:19

MikeTheVike
Member
Registered: 2008-06-17
Posts: 47

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

The problem of errors being thrown when someone tries to register using an email address that is already registered is killing me. Has anyone worked on adding a warning message when this happens? I would think this would be something that everyone experiences when using this plugin. If I knew anything about PHP I would give this a go myself, but unfortunately I don’t :(

Offline

#201 2008-12-19 04:52:31

duchamp
Member
From: Patagonia
Registered: 2005-02-03
Posts: 222
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

MikeTheVike wrote:

Little question: somebody tested this on 4.0.7?

Well, I second that question!

I’ve never tried this plugin, but I’d like to … (maybe I can test this in my local host)

Regards

Offline

#202 2008-12-19 05:21:31

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

I haven’t done a full test yet, but so far, the subscription system, at least, is working for me.

I haven’t tested (on 4.0.7) features related to sending newsletters.

This is a wonderful plug-in that seems to be orphaned.
Any time soon, I will try to find a parent for Postmaster. I mean, I will ask some plug-in developers if anyone is willing to take care of Postmaster plug-in.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#203 2008-12-19 09:07:35

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,615
GitHub Twitter

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

Hi.

I’d just done a full test on TXP 4.0.7 and… all works fine.


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#204 2008-12-31 07:42:47

quemultimedia
Member
From: Nairobi
Registered: 2008-12-31
Posts: 42
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

Greetings All,

I’m still new to textpattern and currently trying it out offline [via apache triad]. I’m having a problem with my Postmaster install. After installation, I’m getting the following error on the Postmaster tab:

Warning: Missing argument 1 for page_url() in C:\apache2triad\htdocs\africaanimal\textpattern\publish\taghandlers.php on line 3182 Warning: Invalid argument supplied for foreach() in C:\apache2triad\htdocs\africaanimal\textpattern\lib\txplib_misc.php on line 645

In addition, I would like Postmaster to be able to send to all ‘members’ of the textpattern install – i.e. all authors & members. I would also like to include a login/ subscribe form on the site’s index page.

Your advise, assistance, input, will be greatly appreciated.


Que,
Que-Multimedia

Offline

Board footer

Powered by FluxBB