Bug Pro version not working

Discussion in 'Better Analytics' started by kuskua, Jan 4, 2016.

  1. #1
    Hi, I've purchased the Pro version for Better Analytics, I've verified the domain, but I'm still getting the "Pro version installed, but not active. Did you verify ownership of your domain?" message.
     
    kuskua, Jan 4, 2016 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    What hosting company are you using? I did some digging in our logs and your WordPress installation is sending a malformed request about half the time (the other half it looks fine). The only thing I can think of that would cause that sort of thing would be if the better-analytics-pro/library/DigitalPointBetterAnalytics/Base/Pro.php file was missing or had a permissions issue.

    But the strange thing is it seems like it doesn't work, then it works, then back to not working. Almost like your hosting company has multiple web servers that aren't in sync (with the file in place on one web server, and not in place on another).
     
    digitalpoint, Jan 4, 2016 IP
  3. kuskua

    kuskua Member

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #3
    Thanks for your reply. I'm using a AWS setup, with an Amazon Linux Server (Apache/2.4.16 (Amazon) OpenSSL/1.0.1k-fips PHP/5.4.45).

    I'm using an Amazon Bucket (cloudfront.net) for CDN, do you think maybe it's affecting the setup?
     
    kuskua, Jan 4, 2016 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    The cloudfront side of things shouldn't affect anything since the request is going from your server (not to). So front-end caching shouldn't be an issue.

    You might want to try to re-upload the PHP files, that might be the easiest thing to try. Like I said, it really looks to me like there are two different web server instances somewhere on the backend that have out of sync PHP files. The good/bad requests I see in our logs from your web server are literally split exactly 50/50. And the only thing that would cause the issue there is is some of the PHP files were there, but with a missing better-analytics-pro/library/DigitalPointBetterAnalytics/Base/Pro.php file on one of the 2 backend web servers.

    It could also be a mucked opcache if you are using some sort of opcache with your PHP (like OPCache, APC, eAccelerator, etc.), might not be a bad idea to try to restart PHP on the server if possible. But even then, reuploading the files might fix that issue too since the server would see new files and recompile the PHP files (in theory).
     
    digitalpoint, Jan 4, 2016 IP