Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#61 2008-02-11 19:59:14

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

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

just to make sure… Add a list and only include a couple of your own emails to it and then send a batch message to that list.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#62 2008-02-12 10:26:43

joel
Member
Registered: 2004-11-26
Posts: 162

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

colak wrote:

just to make sure… Add a list and only include a couple of your own emails to it and then send a batch message to that list.

I wasn’t sure if this reply was ment for me… but I’ve tried that. With no success unfortunately.

Offline

#63 2008-02-12 17:20:24

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

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

joel,

First things first: please go through the tutorial exactly, using the default forms, to see if that works (it may be something in your forms, etc). Second, what happens if instead of choosing “Test” you choose “Yes” (make sure the list you have selected isn’t filled with real subscribers)? Start there and report back here if you can. Also, just for completeness, what version of PHP is running on your server, and does it make any difference if you use different browsers?

  • Ben

Offline

#64 2008-02-12 22:52:05

joel
Member
Registered: 2004-11-26
Posts: 162

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

benbruce wrote:

joel,
First things first: please go through the tutorial exactly, using the default forms, to see if that works (it may be something in your forms, etc). Second, what happens if instead of choosing “Test” you choose “Yes” (make sure the list you have selected isn’t filled with real subscribers)? Start there and report back here if you can. Also, just for completeness, what version of PHP is running on your server, and does it make any difference if you use different browsers?

  • Ben

I will go through the manual once again.

Firefox gives me this an 301 error:

Moved Permanently
The document has moved here.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

I’m on php version 4.4.8 btw.

Offline

#65 2008-02-13 00:38:33

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

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

joel,

Sorry to ask you to go through the manual once again but without asking folks to use the simplest setup possible, there’s no way to know what is causing the problem. The error message (and the place in the script where you’re running into trouble) points me to a particular function as the culprit. What I don’t understand is why other folks aren’t having problems.

  • Ben

How well do you know or understand PHP? You could try, just for fun, to hack away at this problem:

At the bottom of the Postmaster plugin (around line 755) there is a function called

// ----------------------------------------------------------------------------
// email on post -- this is called after you click "Save"
function bab_pm_eop()

And at the bottom of the function are these lines:

header("HTTP/1.x 301 Moved Permanently");
header("Status: 301");
header("Location: ".$path);
header("Connection: close");

You could try editing these lines so that the first, or the first two have hash marks in front of them like this:

// header("HTTP/1.x 301 Moved Permanently");
// header("Status: 301");
header("Location: ".$path);
header("Connection: close");

I’m not sure hacking away at this will work but it’s worth a try.

Last edited by benbruce (2008-02-13 00:45:51)

Offline

#66 2008-02-13 01:26:17

joel
Member
Registered: 2004-11-26
Posts: 162

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

Ben,

I don’t know why and frankly I dont wanna know but it worked!!! Thanks a lot! :)))
Commenting out the rewrite rules surley did the job.

Could this perhaps be a conflict between my htaccess and the plugin? Dont know to much about webservers…

htaccess:

#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]

RewriteRule ^(.*) index.php
</IfModule>

#php_value register_globals 0

Last edited by joel (2008-02-13 01:26:57)

Offline

#67 2008-02-13 09:20:36

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

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

A very small (not very important) request for the next version of the plugin.

When searching the subscriber lists, it would be cool if we had the number of the returned results ‘printed’ so that we can easily establish how many recipients belong to each list.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#68 2008-02-13 18:47:48

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

Can’t for the life of me import with the new version. It will at most import one record.

Are we using standard csv now, and not pipes, or will both work?

Offline

#69 2008-02-13 19:09:15

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

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

mrdale,

Are we using standard csv now, and not pipes, or will both work?

I don’t know why I didn’t figure out how to make either work — I simply changed it to CSV format, and I don’t think made much of a note about it. Are you doing CSV? Does this article help at all (I’ve updated just now to make it a little more clear)?

colak,

I added your request to the feature requests page.

joel,

Excellent!

  • Ben

Last edited by benbruce (2008-02-13 19:09:47)

Offline

#70 2008-02-13 21:36:41

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

Thanks ben.

It actually turned out to be an encoding problem… but that does bring up another issue, which is kinda my fault for requesting csv…

It doesn’t seem possible to bring in fields with “,“s. even in the format “word1, word2”

LOL.

Offline

#71 2008-02-15 00:52:59

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

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

Folks having problems with “Add a subscriber” — can someone check if you get the same behavior if you try adding a subscriber on the initial screen and if you try it after clicking on the “Subscribers” sub-tab? Both pages will appear the same, but one is the default and one has the step defined in the url.

  • Ben

Offline

#72 2008-02-15 10:29:33

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

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

Hi Ben

This is what i did

Loged in to http://mysite.com/textpattern/index.php?event=postmaster then click on the “Add a Subscriber”, the subscriber is added.

then searched for the subscriber, deleted him and then clicked on “Add a Subscriber” again. Filled in a couple of fields clicked the button and I was redirected to the “write” tab. The subscriber was not added

Last edited by colak (2008-02-15 10:33:08)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB