| 01:52 | mstenta[m] | thanks jgaehring ! |
| 01:52 | mstenta[m] | i'm still a little confused... |
| 01:52 | mstenta[m] | i'll post a comment in a moment |
| 01:52 | jgaehring[m] | haha, so am I! |
| 01:53 | jgaehring[m] | I thought I had it worked out, but then I dug deeper, and now... |
| 01:53 | jgaehring[m] | 🤷 |
| 01:55 | mstenta[m] | haha yea same here |
| 01:55 | mstenta[m] | there's something strange afoot |
| 01:55 | mstenta[m] | finishing my comment with some thoughts now... |
| 03:17 | mstenta[m] | > Yes, now it works. |
| 03:17 | mstenta[m] | zedrckr are you absolutely sure it's working for you consistently in mstenta.github.io/farmOS-map? |
| 03:18 | mstenta[m] | @yenzand said they tested it an are still experiencing issues, but that it is inconsistent: |
| 03:18 | mstenta[m] | > The first time I refresh the page it remembers the selected base layer. After a random number of page refreshes (sometimes only two) it reverts back to mapbox satellite. |
| 03:18 | mstenta[m] | Can you try refreshing a lot of times and see if it changes for you like that? |
| 03:19 | mstenta[m] | I have some new changes we can test if you do still experience the issue |
| 10:59 | * | olaf[m] has left ("Kicked by @appservice-irc:matrix.org : Idle for 30+ days") |
| 11:02 | * | donblair[m] has left ("Kicked by @appservice-irc:matrix.org : Idle for 30+ days") |
| 11:02 | * | alexandros[m] has left ("Kicked by @appservice-irc:matrix.org : Idle for 30+ days") |
| 11:03 | * | adinfinitum[m] has quit (Quit: Idle for 30+ days) |
| 11:04 | * | lablab[m] has quit (Quit: Idle for 30+ days) |
| 11:05 | * | frederike[m] has quit (Remote host closed the connection) |
| 11:06 | * | mateo[m] has quit (Quit: Idle for 30+ days) |
| 11:09 | * | todrobbins[m] has quit (Quit: Idle for 30+ days) |
| 11:09 | * | friedrich[m] has quit (Quit: Idle for 30+ days) |
| 11:10 | * | stefan[m]2 has quit (Quit: Idle for 30+ days) |
| 11:29 | * | botlfarm[m] has quit (Quit: Idle for 30+ days) |
| 11:29 | * | corlock[m] has quit (Quit: Idle for 30+ days) |
| 11:29 | * | evert420[m] has quit (Quit: Idle for 30+ days) |
| 11:29 | * | munjoma[m] has left ("Kicked by @appservice-irc:matrix.org : Idle for 30+ days") |
| 11:29 | * | spitz234[m] has left ("Kicked by @appservice-irc:matrix.org : Idle for 30+ days") |
| 11:29 | * | sudokita[m] has quit (Quit: Idle for 30+ days) |
| 11:29 | * | wimpertier[m] has quit (Quit: Idle for 30+ days) |
| 11:30 | * | leogaggl[m] has quit (Quit: Idle for 30+ days) |
| 12:00 | * | wimpertier[m] has joined |
| 13:36 | * | sent a long message: < matrix.org/_matrix/media/r0/download/mat > |
| 13:40 | zedrckr[m] | mstenta: |
| 13:40 | zedrckr[m] | I had these errors when updating to the latest version do you think some caused the error |
| 13:40 | * | uploaded an image: image.png (49KB) < matrix.org/_matrix/media/r0/download/mat > |
| 13:54 | zedrckr[m] | Inglés |
| 13:54 | zedrckr[m] | Tengo este error sabes algo acerca de esto |
| 13:54 | zedrckr[m] | I have this error you know something about this |
| 13:54 | zedrckr[m] | * I have this error you know something about this |
| 13:55 | * | uploaded an image: image.png (13KB) < matrix.org/_matrix/media/r0/download/mat > |
| 14:05 | mstenta[m] | Did you follow all the instructions on farmOS.org/hosting/updating? |
| 14:07 | zedrckr[m] | Yes it is |
| 14:08 | zedrckr[m] | <zedrckr[m] "image.png"> these were the mistakes that I generate |
| 14:09 | mstenta[m] | Where is the first screenshot from? |
| 14:09 | mstenta[m] | I don't recognize that page layout |
| 14:09 | mstenta[m] | It shows a list of the modules that were removed in the new version though. |
| 14:10 | mstenta[m] | Did you run update.php? |
| 14:10 | zedrckr[m] | <mstenta[m] "Where is the first screenshot fr"> It's Dashboard |
| 14:11 | zedrckr[m] | <mstenta[m] "Did you run update.php?"> |
| 14:13 | mstenta[m] | Are you able to restore the old version from a backup? |
| 14:14 | zedrckr[m] | Yes, now I'm on it |
| 14:17 | mstenta[m] | So... When did the trouble start? Because I thought you were able to use the map earlier (and discovered the map bug) |
| 14:17 | mstenta[m] | Is it only the dashboard that is showing an error for you? |
| 14:17 | mstenta[m] | Did the error start happening later? Or right after the update? |
| 14:19 | zedrckr[m] | I had not navigated to the dashboard, I was in areas testing the map, when I navigated there I threw the error |
| 14:20 | mstenta[m] | Thanks ok |
| 15:28 | zedrckr[m] | I already restored the backup |
| 15:28 | zedrckr[m] | Everything is working fine |
| 15:29 | mstenta[m] | Good - so you are back on the old version? |
| 15:29 | zedrckr[m] | Yes |
| 15:29 | zedrckr[m] | I have 7.x-1.2 |
| 15:32 | mstenta[m] | Ok great - good to start fresh and try the upgrade again |
| 15:33 | zedrckr[m] | <mstenta[m] "Ok great - good to start fresh a"> |
| 15:34 | mstenta[m] | Ok, let me know how it goes |
| 15:34 | mstenta[m] | And be sure to follow the instructions on farmOS.org exactly |
| 15:35 | zedrckr[m] | it's okay |
| 15:35 | zedrckr[m] | Speaking of the map problem ... |
| 15:35 | zedrckr[m] | I have a farmier test and I change the base of the map in my Chrome browser and if you remember it. |
| 16:14 | zedrckr[m] | <mstenta[m] "And be sure to follow the instru"> |
| 16:43 | mstenta[m] | look in /admin/reports/dblog |
| 16:43 | mstenta[m] | that will show PHP errors, if any |
| 16:44 | zedrckr[m] | si hay |
| 16:46 | mstenta[m] | what errors are you seeing? |
| 16:51 | * | uploaded an image: image.png (11KB) < matrix.org/_matrix/media/r0/download/mat > |
| 17:03 | mstenta[m] | oooh interesting |
| 17:03 | mstenta[m] | Oooooooooooh |
| 17:03 | mstenta[m] | Ok I know what's happening |
| 17:04 | mstenta[m] | I introduced a bug that affects users who do not have PHP's BCMath extension installed |
| 17:04 | mstenta[m] | Ok so... two paths forward: |
| 17:04 | mstenta[m] | 1. Can you install the PHP BCMath extension? |
| 17:04 | mstenta[m] | 2. I will fix the bug in farmOS code |
| 17:07 | zedrckr[m] | ready, install bcmath, fixed |
| 17:08 | mstenta[m] | great! |
| 17:08 | mstenta[m] | thanks for helping to find that zedrckr |
| 17:08 | mstenta[m] | i am opening a bug report right now and will fix it |
| 17:08 | mstenta[m] | so that farmOS without bcmath still works |
| 17:08 | zedrckr[m] | <mstenta[m] "thanks for helping to find that "> |
| 17:09 | mstenta[m] | github.com/farmOS/farmOS/issues/258 |
| 17:09 | mstenta[m] | i know exactly where the problem is |
| 17:10 | zedrckr[m] | @mst It remains only to solve the maps |
| 17:11 | mstenta[m] | yes! |
| 17:11 | zedrckr[m] | * mstenta it remains only to solve the maps |
| 17:11 | mstenta[m] | i had waited to package the new release, because i wasn't sure if it was fixed |
| 17:11 | mstenta[m] | per the discussion in github.com/farmOS/farmOS-map/issues/65 |
| 17:12 | mstenta[m] | but: if mstenta.github.io/farmOS-map/ is working for you, then you can just download mstenta.github.io/farmOS-map/farmOS-map. and put it into your `profiles/farm/libraries/farmOS-map` directory |
| 17:12 | mstenta[m] | that should fix it for you |
| 17:13 | mstenta[m] | so you don't have to wait for the release |
| 17:13 | zedrckr[m] | i will try |
| 17:15 | zedrckr[m] | do I overwrite famOS-map.js? |
| 17:15 | mstenta[m] | Yes |
| 17:18 | zedrckr[m] | not working |
| 17:18 | zedrckr[m] | :( |
| 17:19 | mstenta[m] | oh |
| 17:19 | mstenta[m] | try clearing your drupal cache - do you know how to do that? |
| 17:20 | mstenta[m] | at /admin/config/development/performance |
| 17:20 | zedrckr[m] | Ok |
| 17:20 | mstenta[m] | oh also make sure that the farmOS-map.js file permissions didn't change or something... maybe Apache can't read it? |
| 17:20 | mstenta[m] | just guessing |
| 17:30 | zedrckr[m] | it doesn't work, clean the drupal cache, the chrome cache, and nothing |
| 17:35 | mstenta[m] | do you have any errors in your browser console? |
| 17:36 | mstenta[m] | are you able to load farmOS-map.js itself in the browser? |
| 17:36 | mstenta[m] | (look at the source of the page, find farmOS-map, copy the URL into a new tab) |
| 17:58 | zedrckr[m] | <mstenta[m] "do you have any errors in your b"> No |
| 18:00 | * | uploaded an image: image.png (241KB) < matrix.org/_matrix/media/r0/download/mat > |
| 18:01 | zedrckr[m] | that way? |
| 18:02 | mstenta[m] | ah not quite... can you "View source" on the farmOS page that is not working? and then run a search for "farmOS-map.js" |
| 18:02 | zedrckr[m] | oh i understand |
| 18:02 | zedrckr[m] | Ok |
| 18:06 | zedrckr[m] | is not loading the script |
| 18:06 | * | uploaded an image: image.png (93KB) < matrix.org/_matrix/media/r0/download/mat > |
| 18:07 | mstenta[m] | i wonder if you have the file named correctly in the correct directory, and if the file permissions are correct |
| 18:07 | mstenta[m] | it should be `profiles/farm/libraries/farmOS-map/farmOS-map.js` |
| 18:08 | zedrckr[m] | What permissions should you have? |
| 18:09 | mstenta[m] | should be basically the same as the other libraries in the parent directory |
| 18:09 | mstenta[m] | just want to make sure that apache can read and serve oit |
| 18:09 | mstenta[m] | * just want to make sure that apache can read and serve it |
| 18:11 | zedrckr[m] | ok, assign "chmod a + w" permissions |
| 18:12 | * | uploaded an image: image.png (16KB) < matrix.org/_matrix/media/r0/download/mat > |
| 18:13 | * | scrdcow[m] has quit (Ping timeout: 240 seconds) |
| 18:13 | * | ringo[m]1 has quit (Ping timeout: 256 seconds) |
| 18:13 | * | dazinism has quit (Ping timeout: 240 seconds) |
| 18:13 | * | calbasi_matrix has quit (Ping timeout: 240 seconds) |
| 18:13 | * | ros-agriculture[ has quit (Ping timeout: 240 seconds) |
| 18:13 | * | paul121[m] has quit (Ping timeout: 240 seconds) |
| 18:13 | * | Dorn[m] has quit (Ping timeout: 240 seconds) |
| 18:14 | * | jimsolce[m] has quit (Ping timeout: 256 seconds) |
| 18:14 | * | abinash[m] has quit (Ping timeout: 256 seconds) |
| 18:14 | mstenta[m] | that makes the file writeable - but that won't be necessary |
| 18:14 | mstenta[m] | what page are you loading in farmOS? |
| 18:15 | mstenta[m] | the dashboard? |
| 18:16 | zedrckr[m] | <mstenta[m] "the dashboard?"> yes |
| 18:16 | mstenta[m] | and what do you see? |
| 18:17 | * | uploaded an image: image.png (56KB) < matrix.org/_matrix/media/r0/download/mat > |
| 18:17 | mstenta[m] | oh ok - the map is working, but the base layer is not |
| 18:17 | mstenta[m] | and what base layer is selected? |
| 18:17 | mstenta[m] | i misunderstood |
| 18:17 | mstenta[m] | i thought the whole map was broken |
| 18:19 | zedrckr[m] | <mstenta[m] "and what base layer is selected?"> |
| 18:20 | mstenta[m] | does it show any of the satellite imagery for either of those? |
| 18:20 | mstenta[m] | or is that broken too |
| 18:23 | * | sent a long message: < matrix.org/_matrix/media/r0/download/mat > |
| 18:24 | mstenta[m] | ok |
| 18:24 | mstenta[m] | thanks |
| 18:28 | * | scrdcow[m] has joined |
| 18:29 | * | ringo[m]1 has joined |
| 18:30 | mstenta[m] | i am going to send you another farmOS-map.js file to try... one moment |
| 18:30 | zedrckr[m] | ok thanks |
| 18:32 | * | posted a file: farmOS-map.js (505KB) < matrix.org/_matrix/media/r0/download/mat > |
| 18:32 | mstenta[m] | this is just a build of the `fixLocalStorage` branch i made last night: github.com/farmOS/farmOS-map/compare/mas |
| 18:33 | mstenta[m] | that has a few fixes is... it could be that your issue is actually multiple issues happening together |
| 18:33 | mstenta[m] | so let's see if this helps |
| 18:33 | * | calbasi_matrix has joined |
| 18:33 | zedrckr[m] | ok now i try |
| 18:33 | mstenta[m] | you will need to make sure that your browser is not caching the old version of file when you test too |
| 18:33 | * | abinash[m] has joined |
| 18:34 | zedrckr[m] | ok |
| 18:35 | * | jimsolce[m] has joined |
| 18:37 | * | Dorn[m] has joined |
| 18:38 | * | ros-agriculture[ has joined |
| 18:38 | * | paul121[m] has joined |
| 18:43 | zedrckr[m] | not working :( |
| 18:43 | mstenta[m] | just google still? |
| 18:44 | zedrckr[m] | yes, only google doesn't work |
| 18:58 | mstenta[m] | i wonder if it has been only google since the beginning? |
| 18:59 | mstenta[m] | maybe we've been trying to fix the wrong thing |
| 19:02 | zedrckr[m] | it's weird, I have a test in farmier and if I select google hybrid, I refresh the page and if you remember it |
| 19:02 | * | uploaded an image: image.png (846KB) < matrix.org/_matrix/media/r0/download/mat > |
| 19:02 | mstenta[m] | oh it works for you in farmier? |
| 19:03 | mstenta[m] | this is a very perplexing issue |
| 19:03 | zedrckr[m] | if it works right |
| 19:04 | zedrckr[m] | and also in version 7.x-1.2, if I change the map, it works correctly |
| 19:05 | mstenta[m] | yea... 7.x-1.3 made major changes to the map code |
| 19:05 | mstenta[m] | that is very strange that it works on farmier, but not on yours |
| 19:06 | mstenta[m] | because farmier is not including ANY of the fixes that i made yesterday |
| 19:07 | mstenta[m] | can you test on a different computer? preferrably with a different browser/operating system? |
| 19:07 | mstenta[m] | or a phone? |
| 19:07 | mstenta[m] | i really want to figure out what is different about your setup - because I still have NEVER experienced this issue myself |
| 19:28 | mstenta[m] | ok i have an idea to try something... |
| 19:44 | mstenta[m] | ok... i added google layers to mstenta.github.io/farmOS-map/ |
| 19:44 | mstenta[m] | can you tell me if the issue is happening on there for you? |
| 20:00 | zedrckr[m] | <mstenta[m] "can you test on a different comp"> try in Firefox, in Chrome, but always in Windows. I don't have another operating system to try |
| 20:01 | zedrckr[m] | <mstenta[m] "can you tell me if the issue is "> No, here if the map change works |
| 20:08 | * | uploaded an image: image.png (41KB) < matrix.org/_matrix/media/r0/download/mat > |
| 20:28 | zedrckr[m] | do not save in the localstorage |
| 20:41 | mstenta[m] | to confirm: when you select a google layer in mstenta.github.io/farmOS-map/ and then refresh the page, it is remembered? |
| 21:45 | zedrckr[m] | <mstenta[m] "to confirm: when you select a go"> |
| 21:51 | mstenta[m] | ok, i'm going to have to do more debugging later - thanks for helping to figure this out zedrckr |
| 21:51 | mstenta[m] | i will probably have more questions another day |
| 21:52 | zedrckr[m] | Ok, thanks. |
| 21:52 | zedrckr[m] | I'll keep version 7.x-1.2 for now |