Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    Do you see any JS errors in your browser?

    Does it still not work if you disable all other plugins?

    Thread Starter mttindustries

    (@mttindustries-1)

    I tried it in other browsers and on another computer, same problem.

    The js errors that come up are:
    localhost:8888/maps/api/js?libraries=places&language=en&ver=4.4.2 failed to load resource: the server responded with a status of a 404

    and Uncaught ReferenceError: google is not defined wpsl-admin.min.js:1

    I deactivated all the plugin (expect 1, cause when I did I lost the entire website, the whole system crashed, and that was a relative root url plugin, converts all url paths to relative paths instead of absoulte paths. I suspect that might be the issue with the first java error. As I have no maps directory)

    and with all the other plugins disabled it still has the same issue

    Thread Starter mttindustries

    (@mttindustries-1)

    So losing the site when uninstalling the relative root url plugin turned out to only be a mac issue because the url needed :8888 on it where as on windows it doesn’t. So I tried it all again on windows and can confirm it is the root relative url plugin that is interfering. With that switched off it all works perfectly.

    However I still need the root relative url plug in for security purposes with images posted. And I haven’t found any php function code that works, the plugin is just a dream. So I tried out Gwebpro Store Locator and that works a dream with the other plugin. (I only need something to list all the store locations, then I’ve been listing them myself on my own custom map and custom page through just php as you’d call any wordpress post) – but I notice that plug in doesn’t use tabs/java to write in any addtional information. So I wonder if in an update you need to either look how the java is being called, or just not use a tabbed system that requires it and just list addtional info and etc under each other

    Plugin Author Tijmen Smit

    (@tijmensmit)

    Where can I find the ‘relative root url plugin’? Isn’t there an option to exclude certain paths?

    I will modify the wpsl-admin.min.js so that it won’t trigger any errors if the Google Maps library doesn’t load. It’s used for the map in the sidebar to show a preview of the map, but that’s not critical, but the tabs not working is.

    So if you could email me at info at tijmensmit.com, then I will send you an updated wpsl-admin.min.js that will prevent the map JS error if the library doesn’t load. I will include it in a future update as well, so you should be able to safely update.

    Thread Starter mttindustries

    (@mttindustries-1)

    the plugin can be found here https://www.ads-software.com/plugins/root-relative-urls/

    there is an option to exclude paths. I tried it for the admin path and just wordpress directory path but it didn’t do anything.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    That plugin hasn’t been updated for over 3 years, and the blacklist section also has an issue, they do describe a fix here.

    Just email me and I will send you a fixed wpsl-admin.min.js file that I will include in the next update.

    Thread Starter mttindustries

    (@mttindustries-1)

    I tried the fix but it ran into a whole bunch of php errors. It’s okay the root relative plugin is being more troublesome than it’s worth. I’ll just deactivate it and keep searching around for a better solution to the relative links issue. Appreciate all your help, sorry to waste your time.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘addtional information tab not working’ is closed to new replies.