I am following instructions in http://doc.tiki.org/Daily+Reports.
When I run:
php tiki-user_reports_send.php
from the Linux command line or in cron, I get an error:
This script can only be called by the server.
$tikilib->get_ip_address() returns 0.0.0.0 not 127.0.0.1.
I am in a shared hosting environment (A2Hosting),
which could certainly contribute to the problem.
One solution is to modify tiki-user_reports_send.php
to accept both 127.0.0.1 and 0.0.0.0 as representing the server.
Another solution is to modify $tikilib->get_ip_address()
to default to 127.0.0.1 instead of 0.0.0.0
although this might have many other side effects.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |