Avatar plugin not working

Found a bug? Tell us!!
Post Reply
shanek
Regular
Posts: 24
Joined: Sun Jul 08, 2007 11:46 pm

Avatar plugin not working

Post by shanek »

I installed and set up the Avatar Plugin and set it to use plugins from Gravatar. It doesn't seem to be working right.

On this page: http://www.shanekillian.com/blog/index. ... l#comments the comments look fine. One gets the Favicon as an avatar and the other gets a default image.

But on this page: http://www.shanekillian.com/blog/index. ... l#comments no avatars are showing up, not even the default ones, and not the Gravatar for my entry, which should be set up fine.

It also doesn't work for me if I make a new comment in a new post.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Avatar plugin not working

Post by garvinhicking »

Hi!

Hm, that's strange, the URL to those avatars are built like:

http://www.shanekillian.com/blog/index. ... ne+Killian

note the double index.php. This leads me to believe that either your s9y path configurations are not properly setup or the plugin could be misconfigured.

How did you configure the plugin, and how are your s9y paths and permalinks configured?

Also, can you check your templates_c/serendipity_event_gravatar directory and see if there are files correspondig to the unique ID appended to the URL?

HTH,
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/
shanek
Regular
Posts: 24
Joined: Sun Jul 08, 2007 11:46 pm

Post by shanek »

Here are my paths:

Full path: /home/content/s/k/i/skillian/html/blog/
Upload path: uploads/
Relative path: /blog/
Relative template path: templates/
Relative upload path: uploads/
URL to blog: http://www.shanekillian.org/blog/
Autodetect used HTTP-Host: Yes
Index file: index.php

Avatar plugin:

Load order: Gravatar, Pavatar, Favatar, MyBlogLog
Default avatar image: (none)
Use in sidebar: yes
Show avatar type info: yes
Produce smarty tag: no (changing to yes breaks the avatars that are working)
Alignment: left
Image size: 40
Caching time: 0 (I turned this off to see if it would make a difference; it doesn't)
Gravatar rating: PG (My Gravatar is rated G)

The Avatar plugin is first in the list.

Yes, the files are in the serendipity_event_gravatar directory.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Okay, your path configuration does look proper. Do you know if your server supports URL Rewriting (Errorhandling or mod_rewrite)? In that case, this could maybe eliminate the double index.php within the URL...

Which other event plugins do you use? It might help if you put the gravar plugin last in queue.

the files in your temp-directory, do they have content or are they 0-byte files? Can you put one of those cachefiles (bewst the one I referred to) somewhere so that I can inspect the contained binary data? Usually those files should contain JPG or GIF images, so renaming them to .jpg should show a working image, if the file is proper...

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/
shanek
Regular
Posts: 24
Joined: Sun Jul 08, 2007 11:46 pm

Post by shanek »

Turning on mod_rewrite changed nothing. I still get the double index.php.

The plugin was last in the chain originally. I moved it to the top to see if it made a difference.

The file starting 8cc907 is 0 bytes, but it's the only one that is. That's the one that's supposed to correspond to my avatar. Aside from the two that are working, the others don't seem to have their file in the directory, although they do have their corresponding .lastrun files.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

I'll try to contact grischa, who las worked on the plugin and might have a clue. It's quite hard to reproduce, if you'd be able to temporarily provde a FTP account to test/debug things, that would speed things up :)

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/
shanek
Regular
Posts: 24
Joined: Sun Jul 08, 2007 11:46 pm

Post by shanek »

garvinhicking wrote:I'll try to contact grischa, who las worked on the plugin and might have a clue. It's quite hard to reproduce, if you'd be able to temporarily provde a FTP account to test/debug things, that would speed things up :)

Regards,
Garvin
Thanks! I appreciate it. I can create a temporary user for you, but I'm loath to publish it here. Can I send it to you in a PM? Do you just need access to the /blog/ directory?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Yeah, of course, no plublishing here. :-)

And yes, please send it to me as a PM. I currently only need (read+write) access to your templates_c directory (plus files+subdirectories) and the plugins/serendipity_event_gravatar/ (plus files+subdirectories).

Best 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/
Post Reply