Rajio Posted October 11, 2005 Share Posted October 11, 2005 I'm trying to set up this script: http://www.curioso.org/2005/04/05/awstats-plugin/ so that I can have it work with my sites stats like this site does: http://infosthetics.com/archives/2005/09/s...s.html#comments The script inclused these lines: >// Change these two lines if the default values do not work // $awstats_dir = '/var/lib/awstats'; $awstats_site = awstats_getsite(get_settings('siteurl')); What should these variables be set to? thanks. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted October 11, 2005 Share Posted October 11, 2005 The path should be something like this. /home/yourTCHloginName/tmp/awstats Quote Link to comment Share on other sites More sharing options...
TweezerMan Posted October 12, 2005 Share Posted October 12, 2005 I believe the path would be more like the following: >$awstats_dir = '/home/cpanelName/tmp/awstats'; ...where 'cpanelName' is the username you use to log into CPanel. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted October 12, 2005 Share Posted October 12, 2005 You are correct David, I've corrected my post. Quote Link to comment Share on other sites More sharing options...
quickrob Posted March 25, 2006 Share Posted March 25, 2006 Hey, I am also trying to install this Plugin, I have a WP 2.0.1 site, I followed the advice above and I still cant get it to work...any other ideas? Ill keep trying stuff in the meantime...:-) Quote Link to comment Share on other sites More sharing options...
quickrob Posted March 25, 2006 Share Posted March 25, 2006 Actually, I have a Wordpress 1.5 blog up on my other account and I was able to install this plugin clean with no modification to the .php file, ie it still reads: $awstats_dir = '/var/lib/awstats'; $awstats_site = awstats_getsite(get_settings('siteurl')); i dont know if this is important info, but I am adding it since it might be worth considering for whoever can help me...:-) the original code included with the plugin didnt work for my wp 2.0 blog, though, so I tried this : $awstats_dir = '/home/*********/tmp/awstats'; $awstats_site = awstats_getsite(get_settings('siteurl')); and it wont work either. Ill throw in a gratuitious smiley for good measure! Edit: TCH-Bruce - removed user identifying information, please don't post your user ID info in the forums Quote Link to comment Share on other sites More sharing options...
quickrob Posted March 25, 2006 Share Posted March 25, 2006 Stop the presses!!! Im back with more information that could possibly be useful...! I used to have a different domain hosted at this account. My former domain still has awstats files in my awstats folder...could this be confusing the plugin..? If so, should I just delete the files which have my old domain name as part of the filenames? Quote Link to comment Share on other sites More sharing options...
TCH-Don Posted March 25, 2006 Share Posted March 25, 2006 You could open a help desk ticket to the techs to ask for their help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.