VGFacts
I think I broke something on my end of the site. - Printable Version

+- VGFacts (https://archive.vgfacts.com)
+-- Forum: Other Discussions (https://archive.vgfacts.com/forum-6.html)
+--- Forum: Help! (https://archive.vgfacts.com/forum-13.html)
+--- Thread: I think I broke something on my end of the site. (/thread-2974.html)



I think I broke something on my end of the site. - Psychospacecow - 01-27-2016

I changed my avatar to this.
[Image: QTbmcmK.gif]
and the header bar changed into the grey box with File Line Function text.
I changed my avatar back, but its kept the error box.
I did the same thing on VGR without a problem.
Also, it appears to not update the front's black/grey dots.

It doesn't have the error on the main page but it doesn't display avatar either. It isn't the header, just at the top of the page grey error box.

Since it isn't updating the main page, I'm going to comment on here every once and a while to see if it updates this thread. The first comment edited the initial post. I currently don't see any comments.


RE: I think I broke something on my end of the site. - Melcadrien - 01-28-2016

I still see a cow currently.


RE: I think I broke something on my end of the site. - Psychospacecow - 01-28-2016

I had changed it back to see if I had fixed it. It didn't fix it.


RE: I think I broke something on my end of the site. - Petie - 01-28-2016

I just edited your avatar's URL. Are you still seeing the same error now?


RE: I think I broke something on my end of the site. - Psychospacecow - 01-28-2016

Yes, I still see the error. I'm on a different computer at the moment as well.


RE: I think I broke something on my end of the site. - Petie - 01-29-2016

Not that it should matter but can you try uploading your avatar instead of linking it?

Never mind. I think I figured out what was wrong and fixed it. Is it working now?


RE: I think I broke something on my end of the site. - Psychospacecow - 01-29-2016

S'all good on my end. :D
Thanks Petie, and I'll let you know if it pops up again. Do you mind if I ask what was causing it? I'm kinda curious.


RE: I think I broke something on my end of the site. - Petie - 01-29-2016

No problem! Basically, what happened was that I was checking for the presence of "http://" in the avatar value to determine if I needed to check image size by path or URL when resizing for the user drop down in the header. You used an https link to imgur which caused my script to check via path instead and that broke it. I updated it to check for https:// as well and that did the trick.

I also edited out the error from your post so as not to leave file paths in obvious places now that this has been resolved. That message did make fixing this much easier though so thanks for pointing it out!


RE: I think I broke something on my end of the site. - Psychospacecow - 01-29-2016

One issue I have noticed is the front still displays "avatar" text instead of the avatar but that's real minor.


RE: I think I broke something on my end of the site. - Petie - 01-29-2016

Screenshot please?


RE: I think I broke something on my end of the site. - Psychospacecow - 01-29-2016

[Image: wHDwgNK.png]


RE: I think I broke something on my end of the site. - Petie - 01-29-2016

Can you right-click on that, inspect element, and show me the URL it's trying to load?

Scratch that. It was the same issue as the header. I just forgot to update it on the home page. Should be good now.


RE: I think I broke something on my end of the site. - Psychospacecow - 01-29-2016

Thank ya kindly, Mr. Stampede.