Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-26-2009, 12:47 PM
Xencored Xencored is offline
 
Join Date: Sep 2008
Location: UK, Scuny
Posts: 1,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Broken images and crazy error? IE

Hey all when viewing me board as a guest

some of the images are broken Even tho they are 100% there
and IE gives me this error see pic

Attachment 104780

so anyone any idea whats going on?
Thanks
Mike
Reply With Quote
  #2  
Old 09-26-2009, 03:17 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you tried running your page through an html validator?
Reply With Quote
  #3  
Old 09-26-2009, 03:23 PM
Xencored Xencored is offline
 
Join Date: Sep 2008
Location: UK, Scuny
Posts: 1,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Have you tried running your page through an html validator?
hmm no i havnt but just did and got

Errors found while checking this document as XHTML 1.0 Transitional!
Result: 39 Errors, 4 warning(s)

Code:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.myanimeisland.com%2Fforums%2F&charset=%28detect+automatically%29&doctype=Inline&group=0
Reply With Quote
  #4  
Old 09-26-2009, 04:17 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to run the validator on the page you are having the errors on (the showthread page) in order for it to help you.

And take a look at the source code for those broken images.
Reply With Quote
  #5  
Old 09-26-2009, 05:03 PM
Xencored Xencored is offline
 
Join Date: Sep 2008
Location: UK, Scuny
Posts: 1,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You need to run the validator on the page you are having the errors on (the showthread page) in order for it to help you.

And take a look at the source code for those broken images.
wow there is 219 Errors, 104 warning(s)
how would i even start with this?
is this not a vbulletin problem?
i dont understand why its like this

Code:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.myanimeisland.com%2Fforums%2Fsite-news%2F72-affiliate-banners.html&charset=%28detect+automatically%29&doctype=Inline&group=0
Reply With Quote
  #6  
Old 09-26-2009, 05:19 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is not a default vbulletin issue - I'd guess most of those are from modifications. For instance, vbulletin doesn't use <br> at all - they do them properly as <br />. Same with & in a url, they always use &amp; . As for how do you start? You start with the little things like the ones I mentioned. You'll find that you fix one, and it usually fixes several of the errors.

It also looks like non-logged in users don't have permission to view some images. This one isn't showing for me and I get a Not Logged In/No Permission error when trying to view it in my browser - http://www.myanimeisland.com/forums/...maibanner2.jpg
Reply With Quote
  #7  
Old 09-26-2009, 05:31 PM
Xencored Xencored is offline
 
Join Date: Sep 2008
Location: UK, Scuny
Posts: 1,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
It is not a default vbulletin issue - I'd guess most of those are from modifications. For instance, vbulletin doesn't use <br> at all - they do them properly as <br />. Same with & in a url, they always use &amp; . As for how do you start? You start with the little things like the ones I mentioned. You'll find that you fix one, and it usually fixes several of the errors.

It also looks like non-logged in users don't have permission to view some images. This one isn't showing for me and I get a Not Logged In/No Permission error when trying to view it in my browser - http://www.myanimeisland.com/forums/...maibanner2.jpg
Hey thanks ill try and fix them coding errors than
as for that image is it classed as a Attachments
ive think ive turned on all images to guests dont think ive missed any

Thanks

Code:
#  Error  Line 64, Column 306: required attribute "alt" not specified

…//www.myanimeisland.com/newmai.jpg"/></a> </tr> </table> </tr> <tr> <td width

✉

The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
i have loads of these ones and im not sure what is wrong with it
any chance you know lynne or anyone else
Thanks
Reply With Quote
  #8  
Old 09-26-2009, 07:06 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That has to do with any image tags you use. You need the alt attribute:
HTML Code:
<img src="whatever.jpg" alt="something" />
Reply With Quote
  #9  
Old 09-26-2009, 07:31 PM
Xencored Xencored is offline
 
Join Date: Sep 2008
Location: UK, Scuny
Posts: 1,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
That has to do with any image tags you use. You need the alt attribute:
HTML Code:
<img src="whatever.jpg" alt="something" />
Thanks Lynne what would i put for the
HTML Code:
alt="something"
bit as a Example

And could you check that image link now see if you can see it
Thanks
Reply With Quote
  #10  
Old 09-26-2009, 08:03 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You would put what you want users to see if the image doesn't show. So, for instance, if it's an image of a happy face, then the alt would be "happy face". Or, you can just have alt="", but you need to have the alt attribute in there.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:30 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03977 seconds
  • Memory Usage 2,274KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (3)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete