WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Google Analytics Dashboard] unlink(): Operation nont permitted (7 posts)

  1. zheng1212
    Member
    Posted 4 years ago #

    This is a great plugin for me, rated 5 stars!!
    but recently, i got the following errors in my dashboard:

    Warning: unlink(/tmp/gad_cache_055a4f62b27ed53008ae159c25320ed5.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_06405776191ce7ac75236222fd4c42a6.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_0f46684335bf56a076499c1e7a2ee6e0.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_10d15927194c67c35797dbfa63394e66.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_12615349b710647750082a89a5ede572.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_15ade45a6b9b2e7690092037be8519ea.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_18d1c7ddd5d9e7048cacb212e28b579a.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_1aff57fe3fe0f63d06c96a9d6660df13.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_1d44acf5c63e2fba0920a24c1926db8b.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_25fa06daccaa05351ec01866a44ddedc.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_2a641bfb68a659f30dc6af0f49eaa950.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_2f691be92082f093af1af5940a80126c.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_32424abdefe704b1b13c54ba12d56c11.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_36c9373b2b79f234693a150d0aa5fa95.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_3b850d58b602211868510d90fafdf766.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_404d725807ff9f5a00d229370b6b736c.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_42dd709132ab2db96a4f78b19cfe074e.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_486e30f2f9e87279994fbc4c368318a9.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_4bb74e961acc329a7f25bd1e5013f2fd.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_4f419cb8f2268873d5a9221979179481.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_5079d05bda750a75fac38bdb5699d06b.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_583549e8ede270851799c41614a8f70a.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_61f4543951998aab1d36381ee9762c1b.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_6bbfefd29581c00390335bc964f19a7e.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_7a685f5f807a05f361425e8b88ec8466.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_7ef353d31a87a9457eb942389ae4edc7.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_84acdcba1b8729badbd3265126538fd6.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_8f6ad7400b88c8e03b8111eea22963a6.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_90084f46a407fd6279b05aa0abd43073.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_9152e5601533e841722a5e0ecb345e64.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_920802374b14f90f87b7ab120c951c41.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_a7caab8638d813c5ebfb58e788ccb725.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_a8a2f63604b632a1ae58cfbd768cd425.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_acb4327e27fb243b18900c41c1817a18.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_add8cc99bcd57faeb367180a1bbbedf6.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_bc2eafec84ffae16c4e2676f6d08fa1d.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_c082fc120668bbfb19b42da127b7ce05.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_d00042bf8979f84c4e87eb2087eb72f6.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_e42493546f17c7829d535f0031737451.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_e6954d9ecc7eacb39f3851c41a505711.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_eba433f5e1490f352c419cb9d4a8fdb7.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_ef6156a2a639cd802057720cdc1c946a.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_f55d04ace97bd09e68ab940bce251e0d.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    Warning: unlink(/tmp/gad_cache_f7ea8b38ae2490824207d5d282125b00.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85

    http://wordpress.org/extend/plugins/google-analytics-dashboard/

  2. bonoix
    Member
    Posted 4 years ago #

    I just logged in an found the same thing. All the posts are there and the links are fine. If you find out what it is, please post the answer. It is worrisome, to say the least.

  3. lcsunshine
    Member
    Posted 4 years ago #

    Hello Word Press users.

    I have resolved the issue and implemented the changes on all my sites.

    "Issue: Warning: unlink(/tmp/gad_cache_acb4327e27fb243b18900c41c1817a18.dat) [function.unlink]: Operation not permitted in /home1/jiehanor/public_html/wp-content/plugins/google-analytics-dashboard/simplefilecache.php on line 85"

    The issue is permissions based with regards to the /tmp directory with hosted websites in which you are not the web server administrator.

    The simplefilecache.php file tries to access the /tmp directory and delete / modify tmp files.

    If you own your linux server and are the root admin run CHMOD permissions to 0777 on the /tmp directory.

    If you are like me and are in a dedicated, semi-dedicated or shared hosting environment the hosting company will not give you access to this directory. The end result is you will need to create your own tmp directory at the root of your hosting account and then modify simplefilecache.php in 14 locations.

    You will need to search and replace:
    sys_get_temp_dir()

    with

    '/SITEPATH/db_tmp'

    Be sure to replace SITEPATH with your hosting path on the server (ie. '/public_html/YOUR.COM/db_tmp') etc.

    If you are in doubt consult your Web Designer, WordPress or Technology Consulting Company.

    If you have questions feel free to contact my company and myself or one of my engineers can assist.

    Regards
    Don
    [signature moderated Please read the Forum Rules]

  4. Casemon
    Member
    Posted 4 years ago #

    Rather than edit the plugin core (you'll probably have the same issue with every plugin upgrade), try this:

    define('WP_TEMP_DIR', ABSPATH .'wp-content/uploads/');

  5. Rage00001
    Member
    Posted 4 years ago #

    I have the same problem... tried your method Casemon... but didn't work

  6. Rage00001
    Member
    Posted 4 years ago #

    The method posted bt lcsunshine seems to solve the issue :)

    Thanks

  7. lonetrotter
    Member
    Posted 4 years ago #

    Thanx lcsunshine - worked for me to change permissions on the tmp folder

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.