Title: [Plugin: Google Analyticator] PHP errors
Last modified: August 20, 2016

---

# [Plugin: Google Analyticator] PHP errors

 *  Resolved [Roswebnet](https://wordpress.org/support/users/roswebnet/)
 * (@roswebnet)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-google-analyticator-php-errors/)
 * 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/](http://wordpress.org/extend/plugins/google-analyticator/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Ben May](https://wordpress.org/support/users/benjmay/)
 * (@benjmay)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-google-analyticator-php-errors/#post-3061903)
 * 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
 *  [protivinsky](https://wordpress.org/support/users/protivinsky/)
 * (@protivinsky)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-google-analyticator-php-errors/#post-3061942)
 * Hi,
    just FYI, I have the same problem, with the same error message… I will have
   to try some another plugin. Thomas
 *  [shyntaxx](https://wordpress.org/support/users/shyntaxx/)
 * (@shyntaxx)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-google-analyticator-php-errors/#post-3062008)
 * 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 ..
 *  [cosmicsam](https://wordpress.org/support/users/cosmicsam/)
 * (@cosmicsam)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-google-analyticator-php-errors/#post-3062029)
 * Hi,
    just FYI, I have the same problem, with the same error message… is there
   no solution??? sam
 *  [Video User Manuals](https://wordpress.org/support/users/videousermanuals/)
 * (@videousermanuals)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-google-analyticator-php-errors/#post-3062032)
 * 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.
 *  [Grant Mangham](https://wordpress.org/support/users/vancoder/)
 * (@vancoder)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-google-analyticator-php-errors/#post-3062050)
 * 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.
 *  [diogoteix](https://wordpress.org/support/users/diogoteix/)
 * (@diogoteix)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-google-analyticator-php-errors/#post-3062051)
 * I agree with last comment, why on earth should this plugin have access to any
   folder outside of the scope of the website folders?
 *  [ram108](https://wordpress.org/support/users/ram108/)
 * (@ram108)
 * [13 years ago](https://wordpress.org/support/topic/plugin-google-analyticator-php-errors/#post-3062061)
 * I have the same errors with this plugin.
 * Correct solution is 2 posts above. Where is the author?
 *  [Video User Manuals](https://wordpress.org/support/users/videousermanuals/)
 * (@videousermanuals)
 * [13 years ago](https://wordpress.org/support/topic/plugin-google-analyticator-php-errors/#post-3062062)
 * 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

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘[Plugin: Google Analyticator] PHP errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-analyticator_fefefe.svg)
 * [Analyticator](https://wordpress.org/plugins/google-analyticator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analyticator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analyticator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analyticator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analyticator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analyticator/reviews/)

## Tags

 * [PHP errors](https://wordpress.org/support/topic-tag/php-errors/)

 * 9 replies
 * 9 participants
 * Last reply from: [Video User Manuals](https://wordpress.org/support/users/videousermanuals/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/plugin-google-analyticator-php-errors/#post-3062062)
 * Status: resolved