| Anonymous | Login | Signup for a new account | 02-09-10 22:05 GMT | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Print ] | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |
| 0008720 | phplist | Message Send Process | public | 07-12-06 16:51 | 18-02-08 14:08 | |
| Reporter | h2b2 | |||||
| Priority | normal | Severity | minor | Reproducibility | always | |
| Status | resolved | Resolution | fixed | |||
| Platform | OS | OS Version | ||||
| Product Version | 2.10.3 | |||||
| Target Version | 2.10.7 | Fixed in Version | 2.10.5 | |||
| Summary | 0008720: Using -p send from the commandline doesn't seem to work | |||||
| Description | This issue was reported by Gord Fisch (gfisch) on the forum: http://forums.phplist.com/viewtopic.php?t=7331 [^] "Trying to get the command line to upload a message /usr/local/bin/php /homedir/admin/lists/bin/phplist -psend -s New Member Notification -l 2 < $filename I had this working on an older, hacked version of phplist on another server but the site has moved to a server with php 5. I updated to the latest version of phplist. I upload a different message every night with the above then process the queue. All paths and so on are correct, the $filename exists and has content but when I run the command, phplist sets up a 'draft' message with no subject and no content. " This is the fix gfisch suggested: I added some lines in send_core.php around line 80 That was creating a 'blank' draft and redirecting. The redirecting caused problems for the commandline. original: Redirect($_GET["page"]."&id=$id"); new: if(!$GLOBALS["commandline"]){ Redirect($_GET["page"]."&id=$id"); exit; } | |||||
| Additional Information | The problem apparently occurred on a PHP 5 server. | |||||
| Tags | No tags attached. | |||||
| Attached Files | ||||||
Relationships |
||||||
|
||||||
| Copyright © 2000 - 2010 MantisBT Group |