I decided to try and clean up my database (finally) and I think I may have found a bug in the karma plugin visit tracking. Steps I took:
Installed a fresh copy of s9y on my test site.
Imported SQL dump of entries from phpmyadmin
Installed karma and popular entries plugin -- works
Installed the rest of my plugins without thinking. -- list here
Refreshed the page to make sure everything is working, karma visit tracking doesnt work.
Disabled all event plugins besides karma -- nothing.
Does anyone know of what might be causing this issue? The only thing I can think of is another plugin getting in the way. The problem I have with this train of thought is that I've got everything else disabled right now.
Right now all of the installed plugins come from spartacus or s9y itself.
Location: http://zonalnet.com/serendipity/
Thanks.
Karma Visitor Tracking Bug?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Karma Visitor Tracking Bug?
Hi!
Does the serendipity_karma* DB tables exist?
Regards,
Garvin
Does the serendipity_karma* DB tables exist?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Yes, it does exist with one entry in it. Its the one entry that I originally tested the plugin with. There is also nothing in my error_log saying any sort of error.
I would be happy to give you admin and phpmyadmin access if you need it.
If I get time tonight I will make another test site and test plugin by plugin to see if I can figure out exactly what is causing the problem.
I would be happy to give you admin and phpmyadmin access if you need it.
If I get time tonight I will make another test site and test plugin by plugin to see if I can figure out exactly what is causing the problem.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Note that click tracking only occurs when you view the "extended entry"?
Regards,
Garvin
Note that click tracking only occurs when you view the "extended entry"?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Reading the plugin code, this can only happen if the Entry-ID cannot be matched from your current URL.
Check this serendipity_event_karma.php file:
http://nopaste.php-quake.net/7568
I added some debugging output there, which should create a karma.log file in your templates_c directory. It seems that $entryid is empty in your case...
Regards,
Garvin
Reading the plugin code, this can only happen if the Entry-ID cannot be matched from your current URL.
Check this serendipity_event_karma.php file:
http://nopaste.php-quake.net/7568
I added some debugging output there, which should create a karma.log file in your templates_c directory. It seems that $entryid is empty in your case...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Ah, it might be that the karma plugin relies on the %id% value to get the ID of an entry properly.
Regards,
Garvin
Ah, it might be that the karma plugin relies on the %id% value to get the ID of an entry properly.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/