Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add +ccp to a existing geofence #1349

Open
flosoft opened this issue Aug 20, 2024 · 0 comments
Open

Can't add +ccp to a existing geofence #1349

flosoft opened this issue Aug 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@flosoft
Copy link
Contributor

flosoft commented Aug 20, 2024

Append Logfile

teslalogger_webserver_1    | [Tue Aug 20 10:03:57.852610 2024] [php:warn] [pid 629] [client 172.25.0.6:34116] PHP Warning:  Undefined array key "delete" in /var/www/html/admin/geoadd_write.php on line 8, referer: https://hostname-here/admin/geoadd.php?id=30
teslalogger_webserver_1    | [Tue Aug 20 10:03:57.852675 2024] [php:warn] [pid 629] [client 172.25.0.6:34116] PHP Warning:  Undefined variable $file in /var/www/html/admin/geoadd_write.php on line 24, referer: https://hostname-here/admin/geoadd.php?id=30
teslalogger_webserver_1    | [Tue Aug 20 10:03:57.852704 2024] [php:error] [pid 629] [client 172.25.0.6:34116] PHP Fatal error:  Uncaught ValueError: Path cannot be empty in /var/www/html/admin/geoadd_write.php:24\nStack trace:\n#0 /var/www/html/admin/geoadd_write.php(24): copy()\n#1 {main}\n  thrown in /var/www/html/admin/geoadd_write.php on line 24, referer: https://hostname-here/admin/geoadd.php?id=30
teslalogger_webserver_1    | 172.25.0.6 - admin [20/Aug/2024:10:03:57 +0200] "POST /admin/geoadd_write.php HTTP/1.1" 500 211 "https://hostname-here/admin/geoadd.php?id=30" "Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0"
teslalogger_webserver_1    | [Tue Aug 20 10:03:59.144174 2024] [php:warn] [pid 759] [client 172.25.0.6:34128] PHP Warning:  Undefined global variable $_SESSION in /var/www/html/admin/menu.php on line 26, referer: https://hostname-here/admin/geoadd.php?id=30
teslalogger_webserver_1    | [Tue Aug 20 10:03:59.144198 2024] [php:warn] [pid 759] [client 172.25.0.6:34128] PHP Warning:  Trying to access array offset on value of type null in /var/www/html/admin/menu.php on line 26, referer: https://hostname-here/admin/geoadd.php?id=30
teslalogger_webserver_1    | 172.25.0.6 - admin [20/Aug/2024:10:03:59 +0200] "GET /admin/geofencing.php HTTP/1.1" 200 275856 "https://hostname-here/admin/geoadd.php?id=30" "Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0"
teslalogger_webserver_1    | 172.25.0.6 - admin [20/Aug/2024:10:03:59 +0200] "GET /admin/static/font/genericons-regular-webfont.eot HTTP/1.1" 404 439 "https://hostname-here/admin/static/genericons.css?ver=3.0.3" "Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0"

Describe the bug
When trying to edit an existing geofence (that is also marked as home), it's not possible to add the copy charging costs option. Whenever saving it, it just doesn't seem to save anything at all.

To Reproduce
Create a POI marked as home.
Go in and edit said POI ticking the "copy charging costs' option.
Save and re-edit the point and you'll see the +cpp flag is missing again.

Expected behavior
It should update the point and copy charging costs going forward.

Teslalogger Type
Docker

@flosoft flosoft added the bug Something isn't working label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant