Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-12-2009, 02:49 AM   #1
PersianKitty
Meow Media Inc.
 
PersianKitty's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: In the valley of the sun, cactus, tacos, tequila, and nod
Posts: 7,785
Damn favicon driving me insane

Recently moved servers and ever since I've been going insane with my favicon.ico

I can server to server transfer a working one off an older machine or even if I copy it from my pc...

in ie it'll either be blank or red x if I try to load just the .ico file in my browser..
in firefox I get just the text instead http://www.pk.com/favicon.ico and instead of it saying icon image above it says image (on my computer it shows that it's a windows icon file.
in netscape it tells me the file has errors..

now... all this time I have a copy of the same image under a different name..
http://www.persiankitty.com/faviconpk.ico

I can see it just fine in all browsers... rename it to favicon.ico and boom... problems.

I uploaded an older and larger gif form and use the link element line in my header. That I can see... but I'm still trying to figure what's going on with the .ico file.

PS.. I can take another site's ico file.. say googles.. upload it to my machine see it fine if the name is anything other than favicon.ico the minute I name it favicon.ico the problems occur with it.

I'm not anal... really I'm not... really

Last edited by PersianKitty; 01-12-2009 at 02:51 AM..
PersianKitty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 02:54 AM   #2
WeirdHomer
Confirmed User
 
WeirdHomer's Avatar
 
Industry Role:
Join Date: Aug 2007
Location: Interwebs
Posts: 806
You do upload it to your root dir right? Don't put it in your public html or images dir, put it in your root dir.
WeirdHomer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 02:57 AM   #3
PersianKitty
Meow Media Inc.
 
PersianKitty's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: In the valley of the sun, cactus, tacos, tequila, and nod
Posts: 7,785
Quote:
Originally Posted by WeirdHomer View Post
You do upload it to your root dir right? Don't put it in your public html or images dir, put it in your root dir.
yep..where it's always been
PersianKitty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 02:57 AM   #4
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
Do you perhaps have a redirect for your favicon in your .htaccess?

That would explain why changing the name would break it even if it worked under another name - it would still be trying to show you something else from another location.
__________________
/(bb|[^b]{2})/
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 02:58 AM   #5
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
open with PAINT (must be 16 by 16) and save it as .ico in case it's not a "real" ico file, see if that helps
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:00 AM   #6
WeirdHomer
Confirmed User
 
WeirdHomer's Avatar
 
Industry Role:
Join Date: Aug 2007
Location: Interwebs
Posts: 806
Please check your error logs and see if you got entries like this: "favicon.ico not found" and let us know.
WeirdHomer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:01 AM   #7
PersianKitty
Meow Media Inc.
 
PersianKitty's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: In the valley of the sun, cactus, tacos, tequila, and nod
Posts: 7,785
Quote:
Originally Posted by Libertine View Post
Do you perhaps have a redirect for your favicon in your .htaccess?

That would explain why changing the name would break it even if it worked under another name - it would still be trying to show you something else from another location.

no, only redirect in .htaccess is for 404
PersianKitty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:02 AM   #8
PersianKitty
Meow Media Inc.
 
PersianKitty's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: In the valley of the sun, cactus, tacos, tequila, and nod
Posts: 7,785
Quote:
Originally Posted by Antonio View Post
open with PAINT (must be 16 by 16) and save it as .ico in case it's not a "real" ico file, see if that helps
First thing I tried.
PersianKitty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:03 AM   #9
PersianKitty
Meow Media Inc.
 
PersianKitty's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: In the valley of the sun, cactus, tacos, tequila, and nod
Posts: 7,785
Quote:
Originally Posted by WeirdHomer View Post
Please check your error logs and see if you got entries like this: "favicon.ico not found" and let us know.
Only get the not found errors if I delete the file completely
PersianKitty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:06 AM   #10
WeirdHomer
Confirmed User
 
WeirdHomer's Avatar
 
Industry Role:
Join Date: Aug 2007
Location: Interwebs
Posts: 806
Ok, try this:

Upload the favicon.ico file to your images folder and put this line in the HEAD section of your index file:

<link rel="shortcut icon" href="/Images/favicon.ico" />

and see if this works for you.
WeirdHomer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:08 AM   #11
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
The server sends the content type for .ico, right?

Test by using this in your .htaccess:
AddType image/x-icon .ico
__________________
/(bb|[^b]{2})/
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:09 AM   #12
WeirdHomer
Confirmed User
 
WeirdHomer's Avatar
 
Industry Role:
Join Date: Aug 2007
Location: Interwebs
Posts: 806
If the above doesn't work, run your .ICO file thruw this website:

http://www.favicon.cc/

upload the result to your root dir, delete the entry (post above) from your HEAD section of your index file and then it should work, if not........ i'm puzzled!
WeirdHomer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:10 AM   #13
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
grabbed the image and uploaded it one of my hosts, works just fine so it's your host

http://www.6dicksunder.com/hl/fav.html
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:12 AM   #14
Blingbaby
Confirmed User
 
Industry Role:
Join Date: Mar 2006
Posts: 1,079
There is a long term server caching happening or this and also the name has to stay favicon.ico
Blingbaby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:13 AM   #15
PersianKitty
Meow Media Inc.
 
PersianKitty's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: In the valley of the sun, cactus, tacos, tequila, and nod
Posts: 7,785
Quote:
Originally Posted by WeirdHomer View Post
Ok, try this:

Upload the favicon.ico file to your images folder and put this line in the HEAD section of your index file:

<link rel="shortcut icon" href="/Images/favicon.ico" />

and see if this works for you.
I get the same errors when I put it in my images folder. Still any other name.ico on the server I can see. I can rename it favicon1.ico and see it.
PersianKitty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:19 AM   #16
WeirdHomer
Confirmed User
 
WeirdHomer's Avatar
 
Industry Role:
Join Date: Aug 2007
Location: Interwebs
Posts: 806
Quote:
Originally Posted by PersianKitty View Post
I get the same errors when I put it in my images folder. Still any other name.ico on the server I can see. I can rename it favicon1.ico and see it.
Only thing i can think of right now is your apache httpd.conf file missing this line:

"AddType image/x-icon .ico"

If so, insert it and restart apache, else you should talk to your host.
WeirdHomer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:19 AM   #17
PersianKitty
Meow Media Inc.
 
PersianKitty's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: In the valley of the sun, cactus, tacos, tequila, and nod
Posts: 7,785
Quote:
Originally Posted by WeirdHomer View Post
If the above doesn't work, run your .ICO file thruw this website:

http://www.favicon.cc/

upload the result to your root dir, delete the entry (post above) from your HEAD section of your index file and then it should work, if not........ i'm puzzled!
The most recent version if the .ico file I'm working with, I did just that with.

We're running things a bit different than we had been on these machines. I'm seeing a 0 byte favicon.ico in the localhost directory I'm wondering if it's trying to get that no matter where I put the favicon.ico file.. which to me would seem odd that I get the same problem if I try to view the file in my images directory rather than root.

Sadly.. I can't upload to the localhost directory at the moment. Emailing my admin for access to see if uploading it there will fix things. If that is the problem it would mean I'm stuck using the same favicon for everything or going the way of the .gif file and use the link element line for a gif icon.
PersianKitty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:21 AM   #18
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
Quote:
Originally Posted by WeirdHomer View Post
Only thing i can think of right now is your apache httpd.conf file missing this line:

"AddType image/x-icon .ico"

If so, insert it and restart apache, else you should talk to your host.
Eh, just putting it in .htaccess would be easier, like I said above.

The actual change in httpd.conf could be made on the next scheduled reboot.
__________________
/(bb|[^b]{2})/
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:24 AM   #19
PersianKitty
Meow Media Inc.
 
PersianKitty's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: In the valley of the sun, cactus, tacos, tequila, and nod
Posts: 7,785
It's trying to grab the localhost 0 byte version.

I can try loading anything/favicon.ico including directories where it should show up as 404 and I get the same issues.

Email sent to my admin. I'm sure it'll be fixed in the morning.

Guess I just hadn't dug 5 more minutes long enough.

Thanks for the suggestions.
PersianKitty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:24 AM   #20
WeirdHomer
Confirmed User
 
WeirdHomer's Avatar
 
Industry Role:
Join Date: Aug 2007
Location: Interwebs
Posts: 806
Quote:
Originally Posted by Libertine View Post
Eh, just putting it in .htaccess would be easier, like I said above.

The actual change in httpd.conf could be made on the next scheduled reboot.
Putting it in htaccess is easyer, you are right about that but i'm always thinking "dedicated server" ways In that case putting it in the httpd.conf file solves the problem for all accounts
WeirdHomer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:25 AM   #21
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
Quote:
Originally Posted by PersianKitty View Post
The most recent version if the .ico file I'm working with, I did just that with.

We're running things a bit different than we had been on these machines. I'm seeing a 0 byte favicon.ico in the localhost directory I'm wondering if it's trying to get that no matter where I put the favicon.ico file.. which to me would seem odd that I get the same problem if I try to view the file in my images directory rather than root.

Sadly.. I can't upload to the localhost directory at the moment. Emailing my admin for access to see if uploading it there will fix things. If that is the problem it would mean I'm stuck using the same favicon for everything or going the way of the .gif file and use the link element line for a gif icon.
Yep, there's your problem.

I just checked, and the server does provide filetype info. It just serves the favicon as a 0 byte image.
__________________
/(bb|[^b]{2})/
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:28 AM   #22
PersianKitty
Meow Media Inc.
 
PersianKitty's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: In the valley of the sun, cactus, tacos, tequila, and nod
Posts: 7,785
Quote:
Originally Posted by WeirdHomer View Post
Putting it in htaccess is easyer, you are right about that but i'm always thinking "dedicated server" ways In that case putting it in the httpd.conf file solves the problem for all accounts
I'm a good kitty and don't touch things I know nothing about such as httpd.conf etc.

It was dedicated servers for eons solely for the pk domain until I decided recently to add a few other things.
PersianKitty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:28 AM   #23
WeirdHomer
Confirmed User
 
WeirdHomer's Avatar
 
Industry Role:
Join Date: Aug 2007
Location: Interwebs
Posts: 806
Quote:
Originally Posted by PersianKitty View Post
The most recent version if the .ico file I'm working with, I did just that with.

We're running things a bit different than we had been on these machines. I'm seeing a 0 byte favicon.ico in the localhost directory I'm wondering if it's trying to get that no matter where I put the favicon.ico file.. which to me would seem odd that I get the same problem if I try to view the file in my images directory rather than root.

Sadly.. I can't upload to the localhost directory at the moment. Emailing my admin for access to see if uploading it there will fix things. If that is the problem it would mean I'm stuck using the same favicon for everything or going the way of the .gif file and use the link element line for a gif icon.
I'm not sure exactly how apache handles this if the favicon is set to the localhost dir in the httpd.conf and you set it to your on own dir using an insert in your HEAD section of your index file. Logically i would think IE or FF would listen to the HEAD section of the index file but how logical is everything when it comes to internet?
Maybe you are on to the problem here, good luck with it anyway and sorry we couldn't help you more.
WeirdHomer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 03:43 AM   #24
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
Quote:
Originally Posted by WeirdHomer View Post
I'm not sure exactly how apache handles this if the favicon is set to the localhost dir in the httpd.conf and you set it to your on own dir using an insert in your HEAD section of your index file. Logically i would think IE or FF would listen to the HEAD section of the index file but how logical is everything when it comes to internet?
Maybe you are on to the problem here, good luck with it anyway and sorry we couldn't help you more.
A rewrite rule in httpd.conf could rewrite any request for that filename to the file she mentioned. So, the gif would work (as she said) because it's a different filename, but the same filename in another directory would not.

Changing the place where the browser looks in your HEAD section only changes where the browser looks, not where the server looks, so it wouldn't help with the same filename.
__________________
/(bb|[^b]{2})/
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 06:19 AM   #25
tranza
ICQ: 197-556-237
 
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
Wow, this is usefull!
__________________
I'm just a newbie.
tranza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-12-2009, 06:55 AM   #26
StaceyJo
Confirmed User
 
StaceyJo's Avatar
 
Join Date: Mar 2008
Posts: 8,960
I have problems loading my favicon too. Still unresolved. I must try suggestions above. Thanks.
__________________
/_______ WebCashMaker ______\
| _TeenageDecadence - Young Board Naked Teens. |
| ____ NonNudeGirls - Female Puberty Photos. ____ |
| _ HerSelfPics - The ORIGINAL exGF SelfPic site. __ |
\.______ xPosing - Wife Photosharing site. _______./
StaceyJo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2009, 05:09 AM   #27
PersianKitty
Meow Media Inc.
 
PersianKitty's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: In the valley of the sun, cactus, tacos, tequila, and nod
Posts: 7,785
For those wondering, it was the fact that my servers default to the 0 byte favicon.ico in the localhost directory.

Because I'm virtual hosting several things on my machines now (all my stuff) and I want different favicons for different things, my server admin is going to write something so that it checks first in the virtual-hosted directory for the favicon.ico file and if it finds one there it loads it.
PersianKitty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2009, 06:05 AM   #28
XX_RydeR
Confirmed User
 
XX_RydeR's Avatar
 
Industry Role:
Join Date: Jun 2004
Location: Australia.
Posts: 2,151
Quote:
Originally Posted by PersianKitty View Post
For those wondering, it was the fact that my servers default to the 0 byte favicon.ico in the localhost directory.

Because I'm virtual hosting several things on my machines now (all my stuff) and I want different favicons for different things, my server admin is going to write something so that it checks first in the virtual-hosted directory for the favicon.ico file and if it finds one there it loads it.
That would be a cool solutions
__________________
You Dun Goofed!
XX_RydeR is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2009, 06:08 AM   #29
JamesK
hi
 
Industry Role:
Join Date: Jun 2002
Posts: 16,731
Wow GFY is in a helpful mood today
__________________
M3Server - NATS Hosting
JamesK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2009, 06:58 AM   #30
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
Quote:
Originally Posted by JamesK View Post
Wow GFY is in a helpful mood today
Come on. This is PK, not some random knucklehead asking if he should create his first adult site because he's "like totally good with computers."
__________________
I like pie.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2009, 08:50 AM   #31
leek
Confirmed User
 
leek's Avatar
 
Join Date: May 2008
Location: Charlotte, NC
Posts: 342
That is one really ugly favicon.
leek is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2009, 02:11 PM   #32
PersianKitty
Meow Media Inc.
 
PersianKitty's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: In the valley of the sun, cactus, tacos, tequila, and nod
Posts: 7,785
Quote:
Originally Posted by leek View Post
That is one really ugly favicon.
I didn't make it... was given to me eons ago..
got anything better for me?
PersianKitty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.