This may or may not be considered an error, but is not-as-expected behavior.
When setting up InterTiki, one would assume that 127.0.0.1 would work as an IP filter for localhost. However, it was pretty clear that this was not working in 3.0 (beta 3, beta 4, rc1)
Traced InterTiki problems to the IP security check to the following (line 55) in /remote.php.
if (!isset($prefs['known_hosts'][$key]) or $prefs['known_hosts'][$key]['ip'] != $tikilib->get_ip_address()) {
By changing the line to the following, the IP check problems went away:
if (!isset($prefs['known_hosts'][$key])) {
There are a couple of possible ways to address this.
my syntax may not be perfect, but the idea might be
//add this inside the remote.php file prior to the line 55 IP check if ( $prefs['known_hosts'][$key]['ip'] == "127.0.0.1" or $prefs['known_hosts'][$key]['ip']=="localhost") { if ($tikilib->get_ip_address() == $_SERVER[SERVER_ADDR] ) { $intertikilocalreq = TRUE; // then modify the line 55 if statement to read something like: if (!$intertikilocalreq or !isset($prefs['known_hosts'][$key]) or $prefs['known_hosts'][$key]['ip'] != $tikilib->get_ip_address()) { ..... }
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 |