Blank Watcher Page
ownCloud apps2 provides tools for ownCloud: system, productivity, etc.
Status: Beta
Brought to you by:
pf18387
Owncloud version : 7.0.1
Database : MySQL
MySQL version : 5.5.38-0ubuntu0.12.04.1
Ownclound auth method : internal
Browser : firefox 31 on Windows 7 and Chrome on android
Navigation protocol : http
PHP-Version: PHP 5.3.10-1ubuntu3.13 with Suhosin-Patch
Problem description :
i installed geoloc 0.4.20 on a owncloud 7.0.1 release.
I Can start the store and the location is saveed in the database.
But if i browse to the watcher/admin, the page doesn't load.
In the Apache Log File just this error shows up:
[Fri Aug 22 11:42:25 2014] [error] [client xx.xxx.xxx.xxx] PHP Parse error: syntax error, unexpected '[' in /var/www/owncloud/apps/oc_apps2_geoloc/watch.php on line 48
any idea?
Ticket moved from /p/oc-apps2/assistance/1/
Hi Lordi,
Thanks for your accurate report.
This looks like a bug, so I moved your assistance request to the bug tracker.
I'm using a PHP 5.4.4-14+deb7u12 - this could explain the error you reported.
Could you try to change the line #48 in /var/www/owncloud/apps/oc_apps2_geoloc/watch.php
from
$myUsers[] = [$k,$v];
to
$myUsers[] = array($k,$v);
Best regards,
Pierre.
Hey, sorry for the late answer.
I Just tried is and now the map is shown.
But my position istn't visible, although my smartphone is sending the location data. It is also visible in the MySQL Database
Great news.
That's funny. I had supposed that the current user roughly knew where (s)he was.
The map shows where the other users (the ones who accepted to share their own position with you) are.
But maybe am I wrong - have you a use case?
Last edit: Pierre Fauconnier 2014-09-27
:D
I just assumed that I get displayed my position, because of the "My Position" Tab on the Preferences overlay.
Thanks. I understand.
I could change the label of the drop-down list from:
"Refresh the markers" to "Refresh their markers" ?