Cannot find config file

Once you've installed phpList... ask questions here!
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation.

Cannot find config file

Postby ELMIT » 1:52pm, Wed 28 Aug, 2013

I upgraded from 2.19 to 3.02 today.

I wanted to re-activate my cron for the list and bounces, but both show only Cannot find config file. What do I miss?

Cron:
echo -e "\n\n`date +\%Y-\%m-\%d\ \%H:\%M:\%S`\
n========== ========\n" >> $HOME/processbounces.log; cd '/var/www/html/lists/admin/' ; /usr/bin/php -q index.php -p processbounces >> $HOME/processbounces.log ;


Log file:
2013-08-28 21:26:01
========== ========

Cannot find config file
-e

ELMIT
PL Geek
 
Posts: 66
Joined: 7:33am, Fri 15 Jan, 2010
Location: Taipei, Taiwan

Re: Cannot find config file

Postby Sven2157 » 3:35pm, Wed 28 Aug, 2013

Shouldn't it be something more like this:
Code: Select all
$ crontab -e
echo "\n\n date( 'Y-m-d H:M:S' )\n========== ========\n" >>
/usr/bin/php /var/www/html/lists/admin/index.php -p processbounces -c /var/www/html/lists/config/config.php > /var/www/html/lists/processbounces.log 2>&1

I don't have CLI, so I can't use these commands. Alternatively, you could use wget, and process it from the URL. Not sure if that is an option ... :wink:

Sven2157
Sven2157
PL Master
 
Posts: 170
Joined: 12:18pm, Fri 07 Jun, 2013

Re: Cannot find config file

Postby ELMIT » 7:46pm, Wed 28 Aug, 2013

Thanks!

-c /var/www/html/lists/config/config.php

was missing.
ELMIT
PL Geek
 
Posts: 66
Joined: 7:33am, Fri 15 Jan, 2010
Location: Taipei, Taiwan

Re: Cannot find config file

Postby Sven2157 » 8:11pm, Wed 28 Aug, 2013

ELMIT wrote:Thanks!

-c /var/www/html/lists/config/config.php

was missing.

No problem, glad you got it working. :wink:

Sven2157
Sven2157
PL Master
 
Posts: 170
Joined: 12:18pm, Fri 07 Jun, 2013


Return to Questions and Problems after Installing

Who is online

Users browsing this forum: Google [Bot] and 0 guests