• Resolved irosaurus

    (@irosaurus)


    Hey tinuzz,

    first of all thanks for this plugin! It’s great to have my data under my own control and not somewhere in the google cloud.

    I noticed a problem with mulit site support. I have a WP installation, which hosts two different blogs. If I use the plugin on the main site, everything is working perfectly fine.

    If I try it on the second site, which has a different subdomain, the upload of the gps points from osmand (and probably all other apps as well) fail. Looks like an issue with the database. If I try to enter the string manually in my browser, I get the following result: “Database error”. Same string is working fine on the url of the main site.

    Also checked the logs of my web server, it returns a 501 when osmand trys to push new data.

    Tell me if you need any further logs or my domains to work with.

    Appreciate your work mate.

    Cheers iro

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author tinuzz

    (@tinuzz)

    Hello iro,

    Thank you for this report. I have never tried to run WP multisite, and I haven’t tested Trackserver with it, so it’s quite possible things don’t work as expected.

    I’ll set up a WP multisite installation and see what’s wrong as soon as possible. Hopefully I’ll get to it this week.

    Best regards,
    Martijn.

    Thread Starter irosaurus

    (@irosaurus)

    Hey Martijn,

    nice ?? Will be glad to test it or support you wherever I can.

    Cheers iro

    Thread Starter irosaurus

    (@irosaurus)

    Hey Martijn,
    any update on this topic or can I assist in any way?
    Cheers iro

    Plugin Author tinuzz

    (@tinuzz)

    Hi Iro,

    I have just looked into it, and the main thing I have found so far, is that it’s a very complicated subject!

    First of all: would you expect Trackserver to function completely independently for each site in you network, meaning user ‘X’ would have a different set of tracks in ‘Site 1’ than in ‘Site 2’ ?

    Apart from that, I still don’t have a good view of what would be needed to make it work. Trackserver uses capabilities to manage which user can do what, and in a multisite network, capabilities have to be managed for each site indiviually.

    Unfortunately, this is not something I can cook up in an evening or two, it’s going to take a lot of work, although if one track database shared between all sites is acceptable, I might be able to cut some corners.

    Can you let me know how you would like to see Trackserver behaving in a WordPress network?

    Best regards,
    Martijn.

    Plugin Author tinuzz

    (@tinuzz)

    Hi Iro,

    I just found blog post answering most of my questions:
    https://rabinshrestha.com/make-wordpress-plugin-compatible-with-multisite/

    So this may be doable in a reasonable amount of time after all. I’ll keep you posted.

    Best regards,
    Martijn.

    Thread Starter irosaurus

    (@irosaurus)

    Hey Martijn,

    very nice, thanks for your efforts ??

    To answer your questions from above, completely independently would probably be the best way to do it “properly” ^^ But they can and probably should use the same database, as all multisites still use the DB from the first site.

    Nevertheless, I would also be fine with a quick fix to be able to choose on which mulitsite Trackserver should listen and run on.

    Again, if there is any way to help, let me know!

    Cheers iro

    Plugin Author tinuzz

    (@tinuzz)

    Hi Iro,

    Just a quick heads up. I am close to releasing Trackserver v3.0 with multisite support. Expect the release next week at the latest.

    I would tell you you can download the current development version from Github and start testing, except I found a bug in the multisite stuff that I have to fix first, so it won’t do you any good at this point.

    Best regards,
    Martijn.

    Plugin Author tinuzz

    (@tinuzz)

    Hello Iro,

    I fixed the bug I was talking about, so I invite you to check out the current development version from Github:

    Repo: https://github.com/tinuzz/wp-plugin-trackserver
    Download: https://github.com/tinuzz/wp-plugin-trackserver/archive/master.zip

    Unpack the ZIP in place of your current ‘trackserver’ directory in wp-content/plugins.

    The README on Github has updated documentation.

    Best regards,
    Martijn.

    Plugin Author tinuzz

    (@tinuzz)

    Trackserver v3.0 with multisite support was just released on the Plugin Directory.

    Best regards,
    Martijn.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Request for Mulit Site Support’ is closed to new replies.