MT -- Access Logs and one of MT's plug ins

MT -- Access Logs and one of MT's plug ins

Posted by: stonegauge
Posted on: 2004-03-06 17:13:00

I've gone ahead and tried to set up "MT-Most Visited" plug in on my site and I'm afraid the results aren't very encouraging and I need to talk to other dreamhosters about this because the latest error message on this install has to do with access logs.

Now, the MT-Most Visited script (read about it here and download it at the link provided on their forum: http://www.movabletype.org/support/index.php?s=9f9b8ea25802d9b8422c96d8ebcedd98&act=ST&f=20&t=20333&st=0 ) required the Apache::Parselog perl module -- I had Dreamhost install that. Now I'm getting an error message on my MT test journal when I try to reload my test journal with this script:

In reply to:


Build error in template 'Main Index': Error in <MTMostVisited> tag: Error in MTMostVisited. A webserver log was not found. The plugin was looking for log files at "logfile" (i.e. "/logs/stonegauge.com/http.299760/access_log*"). Please double-check the location of your Apache webserver access log, and possibly change the "logfile" attribute tag.


I'm wondering if I am pointing to the right place (/logs/stonegauge.com/http.29960 ) to access the access logs or what to run this plug in... ?

It's a sweet little plug in - it's just a mess to try to install it.

Re: MT -- Access Logs and one of MT's plug ins

Posted by: Atropos7
Posted on: 2004-03-06 17:34:00



Well it means the file was not found. I think you have the filename wrong. On DreamHost the filename is access.log



cool Perl / MySQL / HTML+CSS

Re: MT -- Access Logs and one of MT's plug ins

Posted by: stonegauge
Posted on: 2004-03-07 09:05:00

Still getting the same errors after I changed access_log to access.log... Edited by stonegauge on 03/07/04 09:12 AM (server time).

Re: MT -- Access Logs and one of MT's plug ins

Posted by: Skybly
Posted on: 2004-03-08 10:10:00

The access logs are in your user directory, so the full path should look something like /home/yourusername/logs/stonegauge.com/http/access.log

Re: MT -- Access Logs and one of MT's plug ins

Posted by: will
Posted on: 2004-03-08 10:44:00

Also, make sure to use the http symlink and not the http.NNNNN directory it points to - the http symlink should stay constant where the other might change occasionally.

Re: MT -- Access Logs and one of MT's plug ins

Posted by: stonegauge
Posted on: 2004-03-09 17:55:00

Skybly and Will --

That did it :D I had tried a variation of what you told me before but I had included a another director that shows up on my MT menu when I configure the thing (sticking ".kafka" in front of my user name as is the case on my listed site path on MT). That had screwed me up royally on this.

but things are finally working with this plugin. thanks for the help

Tags: plug inslogssupport indexaccesserror messageaheadphporghttp