Page 1 of 1

Karma Problem

Posted: Sat Nov 29, 2008 9:01 am
by Fila
Hi there,
I have a little problem using Karma plugin.

It works fine on the home page but when I vote in other pages, after submitting, it goes back to the homepage.

For example.. I vote on page 3 http://www.mysite.com/archives/P3.html then it goes to http://www.mysite.com/index.php?archive ... ma_vote444

That page takes me to homepage in stead of page 3. Is there anyway to get rid of index.php? in that url? Without it, it works fine.

Thank you very much.
Fila

Re: Karma Problem

Posted: Sat Nov 29, 2008 2:23 pm
by garvinhicking
Hi!

The actual problem is that your URL is index.php?archives/P3.html but it should be index.php?/archives/P3.html.

Which s9y version are you using?

Regards,
Garvin

Re: Karma Problem

Posted: Sun Nov 30, 2008 11:23 am
by Fila
garvinhicking wrote:Hi!

The actual problem is that your URL is index.php?archives/P3.html but it should be index.php?/archives/P3.html.

Which s9y version are you using?

Regards,
Garvin
Hi Garvin,
I just upgraded it to Serendipity 1.4-beta1.

Fila

Re: Karma Problem

Posted: Sun Nov 30, 2008 2:44 pm
by garvinhicking
Hi!
I just upgraded it to Serendipity 1.4-beta1.
And is the problem still the same?

Regards,
Garvin

Re: Karma Problem

Posted: Sun Nov 30, 2008 4:42 pm
by Fila
garvinhicking wrote:Hi!
I just upgraded it to Serendipity 1.4-beta1.
And is the problem still the same?

Regards,
Garvin
Hi,
I upgraded it before I installed Karma.

Thanks
Fila

Re: Karma Problem

Posted: Mon Dec 01, 2008 10:25 am
by garvinhicking
Hi!

Ah, okay. I just fixed the bug. Edit your serendipity_event_karma.php file and search for serendipity_currentURL() and replace it with serendipity_currentURL(true).

Regards,
Garvin

Posted: Mon Dec 01, 2008 12:41 pm
by Fila
Hi Garvin,
It works like charm now...thank you very much :)

Fila

Posted: Tue Dec 02, 2008 8:38 pm
by judebert
Thanks, Garvin! I'm busy adding a log to the Karma plugin; did you have to change that in two places?