WordPress.org

Ready to get started?Download WordPress

Forums

Google Analyticator
[resolved] PHP errors (10 posts)

  1. Roswebnet
    Member
    Posted 1 year ago #

    Hi
    After authentication and choosing right Google Analytics UID, I got this errors in dashboard widget and plug-in settings:

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/tmp/Google_Client/b6/b6b4f11ab3da86e79c4ef1f5355bac0c.lock) is not within the allowed path(s): (/var/www/g48995/connection2holland.com) in /var/www/g48995/connection2holland.com/HTML/wp-content/plugins/google-analyticator/google-api-php-client/src/cache/Google_FileCache.php on line 37
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/tmp/Google_Client/b6/b6b4f11ab3da86e79c4ef1f5355bac0c) is not within the allowed path(s): (/var/www/g48995/connection2holland.com) in /var/www/g48995/connection2holland.com/HTML/wp-content/plugins/google-analyticator/google-api-php-client/src/cache/Google_FileCache.php on line 96

    Is something wrong with installation?
    Is it possible to fix?
    Plugin version is 6.3.4

    Regards

    http://wordpress.org/extend/plugins/google-analyticator/

  2. Ben May
    Member
    Posted 1 year ago #

    Sorry. The Google API code we use needs to access /tmp for caching.

    There have been 1 or 2 other users with this error. Will have to look into it for a future release - but for now, there ins't anything I can offer in terms of a patch, sorry

    Ben

  3. protivinsky
    Member
    Posted 1 year ago #

    Hi,
    just FYI, I have the same problem, with the same error message... I will have to try some another plugin.
    Thomas

  4. shyntaxx
    Member
    Posted 1 year ago #

    Why in Earth would you change the authenication method to the one that is now .. ?

    It was very good as it was ..

    Now it gives error ..

    Also WTF is "Google Authentication Code" ?

    Why not tracking id or the login method authentication as it was before ... ?

    Cant understand things like that ..

    It was working very simple .. now its not ..

    Just my two cents .. Going for another plugin or manual mode ..

  5. cosmicsam
    Member
    Posted 1 year ago #

    Hi,
    just FYI, I have the same problem, with the same error message...
    is there no solution???
    sam

  6. Video User Manuals
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    There is no solution of this, it is a requirement by Google sorry.

    We did not choose which authentication method to use, this is Google's new authentication method, sorry.

  7. Grant Mangham
    Member
    Posted 1 year ago #

    Google doesn't care what directory is used for caching. The plugin should be using get_temp_dir() to establish the path to a viable temporary directory, rather than sys_get_temp_dir() (in google-api-php-client/src/config.php). sys_get_temp_dir is not reliable in shared environments.

  8. diogoteix
    Member
    Posted 1 year ago #

    I agree with last comment, why on earth should this plugin have access to any folder outside of the scope of the website folders?

  9. ram108
    Member
    Posted 1 year ago #

    I have the same errors with this plugin.

    Correct solution is 2 posts above. Where is the author?

  10. Video User Manuals
    Member
    Plugin Author

    Posted 1 year ago #

    We took over this plugin 6~ months ago from the previous developer who had moved on. The plugin is still using the existing code base and has these errors. We are planning and working on something much bigger and more exciting, but that's still a little bit off.

    If you believe your change works, send us a patch / .diff and we'll review & update the plugin.

    Cheers,
    Ben

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags