TotalChoice Hosting Family Forums: Awstats Wordpress Plugin - TotalChoice Hosting Family Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Awstats Wordpress Plugin some setup info needed

#1 User is offline   Rajio Icon

  • New To The Neighborhood
  • Pip
  • Group: Members
  • Posts: 17
  • Joined: 08-August 04

Posted 11 October 2005 - 03:51 PM

I'm trying to set up this script:

http://www.curioso.o...awstats-plugin/

so that I can have it work with my sites stats like this site does:

http://infosthetics....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.

#2 User is offline   TCH-Bruce Icon

  • Lead Forum Moderator
  • PipPipPipPip
  • Group: Admins
  • Posts: 21,232
  • Joined: 11-August 03

Posted 11 October 2005 - 05:23 PM

The path should be something like this.

/home/yourTCHloginName/tmp/awstats
Bruce Richards
Lead Forum Moderator
TotalChoice Hosting, L.L.C.
Webhosting by Total Choice Web Hosting - General Support Forum

I am the Lead Forum Moderator. While I can assist in answering most of your hosting related questions, I am unable to answer questions about specifics relating to your account such as billing and server related issues. Should you need assistance in these areas, please contact our Help Desk or our many other options. Another good place to find answers is with our help pages, tutorials and movie tutorials.

#3 User is offline   TweezerMan Icon

  • Immediate Family
  • PipPipPipPip
  • Group: Members
  • Posts: 1,767
  • Joined: 26-September 04

Posted 11 October 2005 - 10:37 PM

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.
David Phillips (TweezerMan)
The Tweezer's Edge v3

#4 User is offline   TCH-Bruce Icon

  • Lead Forum Moderator
  • PipPipPipPip
  • Group: Admins
  • Posts: 21,232
  • Joined: 11-August 03

Posted 12 October 2005 - 07:22 AM

You are correct David, I've corrected my post.
Bruce Richards
Lead Forum Moderator
TotalChoice Hosting, L.L.C.
Webhosting by Total Choice Web Hosting - General Support Forum

I am the Lead Forum Moderator. While I can assist in answering most of your hosting related questions, I am unable to answer questions about specifics relating to your account such as billing and server related issues. Should you need assistance in these areas, please contact our Help Desk or our many other options. Another good place to find answers is with our help pages, tutorials and movie tutorials.

#5 User is offline   quickrob Icon

  • New To The Neighborhood
  • Pip
  • Group: Members
  • Posts: 23
  • Joined: 26-February 06

Posted 24 March 2006 - 08:32 PM

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...:-)

#6 User is offline   quickrob Icon

  • New To The Neighborhood
  • Pip
  • Group: Members
  • Posts: 23
  • Joined: 26-February 06

Posted 24 March 2006 - 08:38 PM

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! :1eye:


Edit: TCH-Bruce - removed user identifying information, please don't post your user ID info in the forums

#7 User is offline   quickrob Icon

  • New To The Neighborhood
  • Pip
  • Group: Members
  • Posts: 23
  • Joined: 26-February 06

Posted 24 March 2006 - 08:41 PM

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?

#8 User is offline   TCH-Don Icon

  • Volunteer Moderator
  • PipPipPipPip
  • Group: Moderators
  • Posts: 11,679
  • Joined: 30-November 02

Posted 24 March 2006 - 10:01 PM

You could open a help desk ticket to the techs
to ask for their help.
Don Rosenquist
Forum Moderator
TotalChoice Hosting, L.L.C.
Web Hosting by Total Choice Web Hosting - For Your Family - Web Hosting Family!

Any links or suggestions for third party software/sites should be used at your own risk.
My opinions and recommendations are not necessarily those of TCH and TCH is not responsible.

I am a Forum Moderator and a volunteer. While I can assist in answering most of your hosting related questions, I am unable to answer questions about specifics relating to your account such as billing and server related questions. Should you need assistance in these areas, please contact our Help Desk.


treasure your pets

The Turtle says "A little knowledge is a dangerous thing,
so keep learning!"

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users