Code: Select all
Warning: main(./extension.inc): failed to open stream: No such file or directory in /home/httpd/phpnuke.nukedgallery.net/htdocs/phpBB2/mail_digests.php on line 35
Warning: main(): Failed opening './extension.inc' for inclusion (include_path='.:/usr/lib/php') in /home/httpd/phpnuke.nukedgallery.net/htdocs/phpBB2/mail_digests.php on line 35
Warning: main(./common.): failed to open stream: No such file or directory in /home/httpd/phpnuke.nukedgallery.net/htdocs/phpBB2/mail_digests.php on line 36
Warning: main(): Failed opening './common.' for inclusion (include_path='.:/usr/lib/php') in /<path deleted>/phpBB2/mail_digests.php on line 36
Warning: main(./includes/digest_emailer.): failed to open stream: No such file or directory in /<path deleted>/phpBB2/mail_digests.php on line 37
Warning: main(): Failed opening './includes/digest_emailer.' for inclusion (include_path='.:/usr/lib/php') in /<path deleted>/phpBB2/mail_digests.php on line 37
Warning: main(./includes/digest_constants.): failed to open stream: No such file or directory in /<path deleted>/phpBB2/mail_digests.php on line 38
Warning: main(): Failed opening './includes/digest_constants.' for inclusion (include_path='.:/usr/lib/php') in /<path deleted>/phpBB2/mail_digests.php on line 38
Fatal error: Call to a member function on a non-object in /<path deleted>/phpBB2/mail_digests.php on line 59
Code: Select all
php mail_digests.php
dmolavi wrote: getting the following errors when running via crontab:however ifCode: Select all
Warning: main(./extension.inc): failed to open stream: No such file or directory in /home/httpd/phpnuke.nukedgallery.net/htdocs/phpBB2/mail_digests.php on line 35 Warning: main(): Failed opening './extension.inc' for inclusion (include_path='.:/usr/lib/php') in /home/httpd/phpnuke.nukedgallery.net/htdocs/phpBB2/mail_digests.php on line 35 Warning: main(./common.): failed to open stream: No such file or directory in /home/httpd/phpnuke.nukedgallery.net/htdocs/phpBB2/mail_digests.php on line 36 Warning: main(): Failed opening './common.' for inclusion (include_path='.:/usr/lib/php') in /<path deleted>/phpBB2/mail_digests.php on line 36 Warning: main(./includes/digest_emailer.): failed to open stream: No such file or directory in /<path deleted>/phpBB2/mail_digests.php on line 37 Warning: main(): Failed opening './includes/digest_emailer.' for inclusion (include_path='.:/usr/lib/php') in /<path deleted>/phpBB2/mail_digests.php on line 37 Warning: main(./includes/digest_constants.): failed to open stream: No such file or directory in /<path deleted>/phpBB2/mail_digests.php on line 38 Warning: main(): Failed opening './includes/digest_constants.' for inclusion (include_path='.:/usr/lib/php') in /<path deleted>/phpBB2/mail_digests.php on line 38 Fatal error: Call to a member function on a non-object in /<path deleted>/phpBB2/mail_digests.php on line 59
is executed via command line in the phpBB2 directory, it exits successfully....any ideas?Code: Select all
php mail_digests.php
Code: Select all
Warning: main(../extension.inc): failed to open stream: No such file or directory in /home2/mhamill/potomactavern-www/protected_scripts/mail_digests.php on line 35
Warning: main(): Failed opening '../extension.inc' for inclusion (include_path='./:/usr/local/lib/php') in /home2/mhamill/potomactavern-www/protected_scripts/mail_digests.php on line 35
Code: Select all
$phpbb_root_path = '../';
Code: Select all
$phpbb_root_path = '/home2/mhamill/potomactavern-www/';
Code: Select all
/home/httpd/phpnuke.nukedgallery.net/htdocs/phpBB2
Code: Select all
<user_deleted>: /home/httpd/phpnuke.nukedgallery.net/htdocs/phpBB2 # pwd
/home/httpd/phpnuke.nukedgallery.net/htdocs/phpBB2
snkhan wrote: Hi zocalo,
Thanks for the help with the CSS issue, the digest it working beautifully now with my CRON.
Just one more favour - can you please pass me your tpl file for the HTML version? The current version I am receiving is looking slightly cramped, and your version seems more spaced out. I've tried looking in the HTML.TPL file but cant see what needs modifying. I am assuming that one of the .php files needs updating too?
I'm also trying to make the font smaller in the actual digest email, to around 10px. However, I don't know which css attribute to change. I've tried changing a few of them to 10px, but there doesn't appear to be a visual change. So the text inside the tables needs to be the same size as the heading on the tables.
@Mark
Yes I too have had to hard code some of the values in. But it was fairly easy thanks to the generous help from people in the forum
saj
Code: Select all
$phpbb_root_path = '/home2/mhamill/potomactavern-www/';