Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Feb 2008
    Posts
    155
    Plugin Contributions
    0

    Default Large Images Not Working Right After SSL install ???

    I have just installed an SSL certificate from Comodo. That works great but my images now don't work right when clicked.

    My website is www.darkrealmfox.com/catalog

    Can anyone tell me how to fix this particular problem. It seems that the Comodo logo is not allowing the enlarged image logo to appear unless you click the square box which i think customers won't bother doing so i would like a fix that allows the image to fully expand without enlarging the entire page.

    Anyone know how to do this ?

  2. #2
    Join Date
    Feb 2008
    Posts
    155
    Plugin Contributions
    0

    Default Re: Large Images Not Working Right After SSL install ???

    Its ok got it working now.

    Still can't get my main catalog page fully validated with WC3 although the home page works and is validated perfectly the catalog now has 12 small errors all to do with the SLL certificate.

    I'm happy enough though and may work at getting it WC3 validated later.

  3. #3
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Large Images Not Working Right After SSL install ???

    These are what I see for validation none are ssl,
    this is from your index page

    Result: 0 errors / 6 warnings

    line 12 column 1 - Warning: discarding unexpected <head>
    line 43 column 1 - Warning: <body> isn't allowed in <head> elements
    line 5 column 1 - Info: <head> previously mentioned
    line 446 column 1 - Warning: </head> isn't allowed in <body> elements
    line 43 column 1 - Info: <body> previously mentioned
    line 188 column 1 - Warning: <div> anchor "whatsNew" already defined
    line 442 column 137 - Warning: <img> escaping malformed URI reference
    line 390 column 1 - Warning: trimming empty <li>
    Info: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN"
    Info: Document content looks like XHTML 1.0 Transitional


    you may want to install image handler, your images take forever to load
    Also your getting a pop up warning about your ssl, its looking for www and you left the www off in your zen cart setup

    your script for the comodo loge that you placed in the html_header.php this needs to go down just above the </HEAD> tag at the very bottom of the file mentioned its actualy above the <head> and is causing warnings

    you also need to remove the </HEAD> tag from the bottom of the tpl_main_page.php ( if this is where you stuck the second code block for the trust logo )

  4. #4
    Join Date
    Feb 2008
    Posts
    155
    Plugin Contributions
    0

    Default Re: Large Images Not Working Right After SSL install ???

    Thanks i'll give all that a go...much appreciated.

    I'll look into image handler.

    Thanks for your help i only started out learning about this a few months back so i'm still a novice on all this.

  5. #5
    Join Date
    Feb 2008
    Posts
    155
    Plugin Contributions
    0

    Default Re: Large Images Not Working Right After SSL install ???

    Ok tried again still getting errors.

    Although i think i fixed the Comodo Trust Logo problem ( i think - not sure )

    This is how my code looks. What file do i edit to correct this ?


    Validation Output: 12 Errors

    1. Error Line 5, Column 5: document type does not allow element "head" here; assuming missing "html" start-tag .

    <head>


    2. Error Line 5, Column 1: Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml .

    <head>



    Many Document Types based on XML need a mandatory xmlns="" on the root element. For example, the root element for XHTML will look like:
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    3. Error Line 31, Column 62: document type does not allow element "html" here .

    …mlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">



    The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

    One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
    4. Error Line 32, Column 52: document type does not allow element "script" here; assuming missing "head" start-tag .

    <script language="javascript" type="text/javascript">


    5. Error Line 43, Column 24: document type does not allow element "body" here .

    <body id="indexHomeBody">



    The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

    One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
    6. Error Line 450, Column 13: "head" not finished but containing element ended .

    </body></html>


    7. Error Line 450, Column 13: end tag for "head" omitted, but OMITTAG NO was specified .

    </body></html>



    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
    8. Info Line 32, Column 0: start tag was here .

    <script language="javascript" type="text/javascript">

    9. Error Line 450, Column 13: end tag for "html" which is not finished .

    </body></html>



    Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

    Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
    10. Error Line 450, Column 14: end tag for "head" omitted, but OMITTAG NO was specified .

    </body></html>



    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
    11. Info Line 5, Column 0: start tag was here .

    <head>

    12. Error Line 450, Column 14: "html" not finished but document ended .

    </body></html>


    13. Error Line 450, Column 14: end tag for "html" omitted, but OMITTAG NO was specified .

    </body></html>



    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
    14. Info Line 5, Column 0: start tag was here .

    <head>

    15. Error Line 450, Column 14: XML Parsing Error: Premature end of data in tag head line 5 .

    </body></html>



    Kinda confusing to know which file needs editing now.

  6. #6
    Join Date
    Feb 2008
    Posts
    155
    Plugin Contributions
    0

    Default Re: Large Images Not Working Right After SSL install ???

    Down to just one error showing.

    Line 43, Column 24: document type does not allow element "body" here .

    <body id="indexHomeBody">

    Not sure which file to locate that on so i can fix it.


    Not sure if i have done everything correctly...Perhaps you can take a look.

    Thanks...M

  7. #7
    Join Date
    Feb 2008
    Posts
    155
    Plugin Contributions
    0

    Default Re: Large Images Not Working Right After SSL install ???

    Still getting certificate error saying www is missing. Where do i go to fix this ?

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Large Images Not Working Right After SSL install ???

    In the configure.php files you have the URL settings for your site ...

    All of them need to read so that they match your secure certificate on whether or not to use the www ...

    Edit the files:
    /includes/configure.php
    /admin/includes/configure.php

    and make sure your URLs are defined with the www in them ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #9
    Join Date
    Feb 2008
    Posts
    155
    Plugin Contributions
    0

    Default Re: Large Images Not Working Right After SSL install ???

    Thanks i'll give it a go.

    Just a thought but do i need to use the www ?

    Is it best to use it or best to not use it since google tends to revert to Http:// and not use the www a lot these days.

    If i don't use www how do i configure to stop the pop up messages ?

  10. #10
    Join Date
    Feb 2008
    Posts
    155
    Plugin Contributions
    0

    Default Re: Large Images Not Working Right After SSL install ???

    I now have the configure.php files edited to show www and it seems to work ( not entirely sure but hopeful it's now ok )

    Still getting one small W3C validation error.

    Line 43, Column 24: document type does not allow element "body" here .

    <body id="indexHomeBody">


    Do you know which file to edit to fix this ?


    It's a lot of hard work opening an E-Commerce store but it's very enjoyable and it's great to have a place like this to visit that will help you out so thanks everybody and especially those who replied to this thread ( Merlin and Ajeh )

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h admin site not working after SSL install
    By Kathi_S in forum General Questions
    Replies: 9
    Last Post: 7 Mar 2012, 06:17 PM
  2. Large images not working properly
    By Kayz in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 13 Apr 2010, 05:57 PM
  3. Problem with images after install of SSL
    By pwaugh in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 13 Oct 2008, 04:14 PM
  4. Override system not working right on basic, careful, install.
    By endl in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 12 Jun 2008, 03:28 AM
  5. Large Images Suddenly Not Working
    By jill8026 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 May 2008, 10:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg