• Resolved Kenneth Feldman

    (@kenneth-feldman)


    Broken if WordPress is installed in a sub-directory.

    All of my WP installs are in subdirectories — and when I click the SETTINGS link for this plugin, the url delivered to the browser ignores the subdirectory — resulting in a page-not-found error.

    The plugin is likely assuming that the path to WP starts with the domain — but should instead check to see what WP is reporting as the path, as set in the General Settings.

    https://www.ads-software.com/extend/plugins/google-analyticator/

Viewing 8 replies - 16 through 23 (of 23 total)
  • Hi Psychomachia

    BTW – you need to download a fresh copy of the plugin to your system so you can edit the file. Here are the steps from there

    1. The file is called google-analyticator.php
    2. Use something like textmate or another text editor that you prefer which shows numbered lines in that file.
    3. Save the file and then rezip the googleanalyticator into a zip file. Needs to be with the same name as the file that downloads from main WordPress repository. ( so you will need to move or delete the earlier zip version of that file) so new edited version should be called google-analyticator.zip
    4. Deactivate and delete the old version of ga in your plugin section.
    5. Use add new plugins, and upload to the edited zip version of ga plugin.
    6. Activate the edited plugin.
    7. Go to settings – (while logged into google analytics on that system) plugin will ask you to authorise and then give you some extra code in a line which you copy and paste – then you should be all good.

    We will push up an update for this within 24hrs. Just waiting to see if there are any other new bugs found so we can group them into one release. Don’t want to pester other users with a series of updates ??

    Sorry for missing that one line – needless to say, I’ve checked 10 times and haven’t missed anywhere else!

    Ben

    Hi Jason! Thanks for replying ASAP! I’ll try to follow your guidelines and report back if there may be anykind of errormessages! Thanks!

    The plugin still doesn’t work? Can’t spend more time, so I’ll wait with installing it until a future release has solved the issue with wp in subdirectories!

    Hi Psychomachia,

    It works for me on 34 sites so far – maybe try deleting the old version and reinstalling the latest one just in case there is some old files stuck in there ??

    Having tested extensively I confirm this is resolved

    Thanks for your help on this on Jason. Much appreciated

    Ben

    fcassad

    (@fcassad)

    When I try to download a “new” (I had to delete the previous) google analyticator it will not install because it sees the ga folder in my home directory. Do i need to delete that or can I get that into my “installed plugins”?

    Jason Kemp

    (@dialogcrm)

    @fcassad if you use auto upgrade then the old version will be deactivated and removed.

    If you can’t use auto upgrade you should ask your host why not.

    Uploading any new copy of a plugin will fail if that folder is already present so you should deactivate and delete the old version manually first ( under the plugins section -assuming you are an admin) the folder should be called google-analyticator (and not ga)

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘[Plugin: Google Analyticator] Broken if WordPress is installed in a sub-directory’ is closed to new replies.