Results 1 to 11 of 11

Thread: domain.org renders fine; error in IE8 on www.domain.org

  1. #1
    User
    Join Date
    03-04-10.
    Posts
    52

    Default domain.org renders fine; error in IE8 on www.domain.org

    Hello all

    This is a bit of an odd one. The home page of the Contao/Isotope site on which I am working renders in IE8 only if I miss off the www. from the URL. mydomain.org is an A name, www.mydomain.org is a CNAME pointing at mydomain.org.

    All other Windows browsers render either address fine. IE8 throws the following error on www.mydomain.org:

    Fatal error: Class name must be a valid object or a string in /var/www/vhosts/mydomain.org/httpdocs/system/modules/isotope/IsotopeProductCollection.php on line 229

    As I say, if I browse to http://mydomain.org, it works fine.

    Can anyone help?

    Thanks

    Tom

  2. #2
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: domain.org renders fine; error in IE8 on www.domain.org

    What is the code from IsotopeProductCollection.php on line 229?

  3. #3
    User
    Join Date
    03-04-10.
    Posts
    52

    Default Re: domain.org renders fine; error in IE8 on www.domain.org

    What is the code from IsotopeProductCollection.php on line 229?
    Code:
    $objProduct = new $strClass($objProductData->row(), deserialize($objItems->product_options), $this->blnLocked);
    Any ideas?

    Tom

  4. #4
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: domain.org renders fine; error in IE8 on www.domain.org

    sorry tom, meaningless to me...
    i can't see why only one browser would throw an error but not another.

  5. #5
    User
    Join Date
    03-04-10.
    Posts
    52

    Default Re: domain.org renders fine; error in IE8 on www.domain.org

    No, I know. It's got me baffled. It seems to be the case that any page which has any Isotope FE module fails to render in IE8/Win if I browse to www.domain.org. Lose the www., and it works. Remove the Isotope modules, and it works with www..

    Eh?!

    Tom

  6. #6
    User winanscreative's Avatar
    Join Date
    06-21-09.
    Location
    Massachusetts, United States
    Posts
    261

    Default Re: domain.org renders fine; error in IE8 on www.domain.org

    Hi Tom-

    Can you PM me a link? That's the weirdest thing I have ever heard. All the processing is server-side on your error, so I don't know how the heck it could throw the error in one browser and not another.

  7. #7
    User
    Join Date
    03-04-10.
    Posts
    52

    Default Re: domain.org renders fine; error in IE8 on www.domain.org

    PM sent. Buuuut, a colleague has just checked for me, and his IE8 works fine with either. I am truly baffled.

    Tom

  8. #8
    User winanscreative's Avatar
    Join Date
    06-21-09.
    Location
    Massachusetts, United States
    Posts
    261

    Default Re: domain.org renders fine; error in IE8 on www.domain.org

    Yeah... My IE8 works fine, too. Did you try emptying your cookies?

  9. #9
    User
    Join Date
    03-04-10.
    Posts
    52

    Default Re: domain.org renders fine; error in IE8 on www.domain.org

    Yes, but we are thinking along the same lines. Fiddler2 is telling me a cookie stores ISOTOPE_TEMP_CART. I follow through the dB tables, and that cart contains a non-existent product ID. So, maybe try the following (untested):

    1. add a product to your basket

    2. delete the product from the catalogue in the back end

    3. end your IE session, then browse back to the site

    Thinking about it, I've proabbly deleted the cookie for www.domain.org, and not for domain.org.

    See if you can recreate.

    Thanks

    Tom

  10. #10
    User
    Join Date
    03-04-10.
    Posts
    52

    Default Re: domain.org renders fine; error in IE8 on www.domain.org

    Bingo. Deleted the right cookie, and the site came back to life. So, is it the case that if a user places an item in their cart, and that item is then deleted from the back end, that Isotope crashes out when they revisit?

    Will test this.

    Tom

  11. #11
    User
    Join Date
    03-04-10.
    Posts
    52

    Default Re: domain.org renders fine; error in IE8 on www.domain.org

    Confirmed, I think:

    1. Add item to cart

    2. Delete item in back-end

    3. Revisit site - crashes with the error above

    4. Delete cookie

    5. Revisit site - site now works again

    Hope this helps, and sorry for being so slow in thinking of cookies as the obvious explanation.

    Tom

Bookmarks

Posting Permissions

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