Welcome to Geeklog, Anonymous Sunday, June 15 2025 @ 07:56 pm EDT
Geeklog Forums
emailgeeklogstories and php
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Bonjour
Excuse me for my language.
When I set the cron for emailgeeklogstories I receive everyday a email with the following texte
php [options] -r <code> [args...]
php [options] [-- args...]
-a Run interactively
-c <path>|<file> Look for php.ini file in this directory
-n No php.ini file will be used
-d foo[=bar] Define INI entry foo with value 'bar'
-e Generate extended information for debugger/profiler
-f <file> Parse <file>.
-h This help
-i PHP information
-l Syntax check only (lint)
-m Show compiled in modules
-r <code> Run PHP <code> without using script tags <?..?>
-s Display colour syntax highlighted source.
-v Version number
-w Display source with stripped comments and whitespace.
-z <file> Load Zend extension <file>.
args... Arguments passed to script. Use -- args when first argument
starts with - or script is read from stdin
May be a problem with php (Php is 4.4.0).
Someone can tell me what can I do to resolve it?
Thank You.
Ben.
I'm available to customise your themes or plugins for your Geeklog CMS
Excuse me for my language.
When I set the cron for emailgeeklogstories I receive everyday a email with the following texte
Text Formatted Code
Usage: php [options] [-f] <file> [args...]php [options] -r <code> [args...]
php [options] [-- args...]
-a Run interactively
-c <path>|<file> Look for php.ini file in this directory
-n No php.ini file will be used
-d foo[=bar] Define INI entry foo with value 'bar'
-e Generate extended information for debugger/profiler
-f <file> Parse <file>.
-h This help
-i PHP information
-l Syntax check only (lint)
-m Show compiled in modules
-r <code> Run PHP <code> without using script tags <?..?>
-s Display colour syntax highlighted source.
-v Version number
-w Display source with stripped comments and whitespace.
-z <file> Load Zend extension <file>.
args... Arguments passed to script. Use -- args when first argument
starts with - or script is read from stdin
May be a problem with php (Php is 4.4.0).
Someone can tell me what can I do to resolve it?
Thank You.
Ben.
I'm available to customise your themes or plugins for your Geeklog CMS
15
15
Quote
Status: offline
ByteEnable
Forum User
Full Member
Registered: 10/20/03
Posts: 138
Your cron command should like this:
php -q /path/to/your/geeklog/emailgeeklogstories
Regards,
Byte
php -q /path/to/your/geeklog/emailgeeklogstories
Regards,
Byte
13
16
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Thank you misters. Sorry and I'm confused, it was a problem of patch
Everything seems to be ok now.
I received 2 emails. One with the stories and the other from cron with warnings
Warning: Cannot modify header information - headers already sent by (output started at /home/site/public_html/emailgeeklogstories:3) in /home/site/public_html/system/lib-sessions.php on line 189
Warning: Cannot modify header information - headers already sent by (output started at /home/site/public_html/emailgeeklogstories:3) in /home/site/public_html/system/lib-sessions.php on line 201
Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /home/site/public_html/plugins/stats/functions.inc on line 341
What thinking about those warnings?
Ben.
I'm available to customise your themes or plugins for your Geeklog CMS

Everything seems to be ok now.
I received 2 emails. One with the stories and the other from cron with warnings
Warning: Cannot modify header information - headers already sent by (output started at /home/site/public_html/emailgeeklogstories:3) in /home/site/public_html/system/lib-sessions.php on line 189
Warning: Cannot modify header information - headers already sent by (output started at /home/site/public_html/emailgeeklogstories:3) in /home/site/public_html/system/lib-sessions.php on line 201
Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /home/site/public_html/plugins/stats/functions.inc on line 341
What thinking about those warnings?
Ben.
I'm available to customise your themes or plugins for your Geeklog CMS
13
15
Quote
All times are EDT. The time is now 07:56 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content