HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


IE Loading Errors

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#22327 (In Topic #5391)
Avatar

Fan in training

So far I am pretty impressed with OC portal, but I found that after installing it; I seem to get the IE loading error icon at the bottom of the screen upon initial load.  It seems to be giving me a couple of different errors.  Once I refresh the page, it goes away.  Any ideas?  This may drive me insane if I can't figure it out.
Back to the top
 
Posted
Rating:
#22328
Avatar

Unfortunately IE's Javascript error reporting mechanism is awful, but if you can give a screenshot of the errors or otherwise quote them, we'll certainly investigate :).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#22330
Avatar

Fan in training

When I first go to the page, I get this error:


If I go to the admin area and then back to the site using the "site" link, I get this one:


Other than that, it seems to be loading fine.

Back to the top
 
Posted
Rating:
#22333
Avatar

Hi,

The first one is because you're mixing usage of www.yourdomain.com and yourdomain.com on the same site. Javascript doesn't like that for security reasons, and unfortunately it's not something that can be avoided.
You'll need to make a consistant policy of accessing the site from the same domain name as specified in the ocPortal base URL, or tolerate the errors.

I'm not sure what would be causing the second one - if something's broken I'm sure someone'll report that as a separate bug report and it'll be fixed :).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#22341
Avatar

Community saint

Chris Graham said

Hi,

The first one is because you're mixing usage of www.yourdomain.com and yourdomain.com on the same site. Javascript doesn't like that for security reasons, and unfortunately it's not something that can be avoided.
You'll need to make a consistant policy of accessing the site from the same domain name as specified in the ocPortal base URL, or tolerate the errors.

  You can use a DNS serving site such as www.zoneedit.com to create multiple sites (domains) and send them all to the one IP address. You get 5 free domains per account (Create multiple user ID's if you need more but don't tell anyone I said that) for example www.mydomain.com and www.yourdomain and www.hisdomain.com and www.theirdomain.comcan all point to www.itsagreatdomain .com where www.itsagreatdomain.com is the IP address of your web site. By the way you can also get rid of the www as well and have both www and (no www) go to the same site



Last edit: by OneRingRules
Back to the top
 
Posted
Rating:
#22345
Avatar

This isn't a problem relating to where the files on the site are actually located, or how DNS is handled. From Javascript's point of view, it can't tell where the files from a www.example.com domain are located, or where the files from an example.com are located - and hence it can't know whether they are controlled by the same authority. Because Javascript can't tell this, it can't establish a trust, and thus will not allow interoperability between scripts and pages if they are not from the exact same domain name.

One possible workaround would be to set the DNS entry for the domain that is not used in the base-URL (the non-canon domain) to actually do a real redirection to the correct domain. That would force a consistency before any web files load.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#22365
Avatar

Fan in training

Thanks for the help Chris! I think I will just do a redirect and it will solve at least that problem :) I'm very impressed with not only the site but the quick and good customer service as well!
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: