Daniela wrote:...
Now we have to create a file called "phplist" (without the quotes please) in the same directory as the phplist installation.
The file should contain the follwing code
#!/bin/bash
...
# run the PHPlist index file with all parameters passed to this script
/usr/bin/php /home/water/public_html/fountain/admin/index.php $*
Copy and paste it as it is, but remember to replace the domain, directory, user, password, etc. Double check there are no spaces or enter after the last character.
...
Now lets go to cron jobs.
You just have to sent this up once, the day and hour you want the queue to start to be processed.
The command should look like this
php /home/water/public_html/fountain/admin/index.php page=processqueue login=fish password=seashell
\php\php "\program files\apache group\apache2\htdocs\weather\lists\admin\index.php" page=processqueue login=yyyyy password=xxxx
processqueue 2006-01-13 08:43:36 Mailer Error: Could not instantiate mail function.
USER=dpage; export USER; /usr/local/bin/php /home/dpage/public_html/phplist/admin/index.php -p processqueue > /tmp/crontest
zeuschicago wrote:Anyone getting that HTML crap in the output when running the cron job from Cpanel its because its using the CGI version. Setting the path the correct PHP (cli) interface did the trick....after many many days of troubleshooting!
Zeus
and add the following line after it:
# Throttle sending messages; indicates the number of milliseconds to pause
# between each message (millisecond is one-millionth of a second)
define("MAILQUEUE_PROCESSING_THROTTLE",2000000);
This means is going to send an e-mail every 2 secconds.
TarekEmam wrote:i am getting this error now and i followed all the steps
can anyone help please
Some errors occurred in the PHPlist Mailinglist System
URL:
Error message(s):
Error: You do not have enough privileges to access this page
==== debugging information
SERVER Vars
SHELL=/bin/sh
MAILTO=million
PATH=/usr/bin:/bin
PWD=/home/million
SHLVL=1
HOME=/home/million
LOGNAME=million
_=/usr/bin/php
PHP_SELF=
argv=Array
argc=4
Return to Advanced Answers, Howtos, Tips & Tricks
Users browsing this forum: No registered users and 1 guest