Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » First Visit to site results in various errors, after a refresh all is good?

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 760 Views
  • drye
    Avatar
    Community Member
    49 Posts

    First Visit to site results in various errors, after a refresh all is good? Link to this post

    I've seen various errors on initial load of a development site I have been working on.

    The most common error is an XML error that causes the page to not load the first time, a refresh resolves the error.
    "XML Parsing Error: not well-formed
    Location: http://eqt.rye-designs.com/
    Line Number 148, Column 1076:"

    The second error which I notice in Safari is:
    "This page contains the following errors:
    error on line 148 at column 2366: EntityRef: expecting ';'
    Below is a rendering of the page up to the first error."
    Again a refresh fixes this issue.

    I have just discovered that removing the cookies associated with this page brings the error back. Is there a way I can solve this issue?

    In fact I narrowed it down to the PHPSESSID cookie.

  • drye
    Avatar
    Community Member
    49 Posts

    Re: First Visit to site results in various errors, after a refresh all is good? Link to this post

    Well, I took the dev site down and when I moved it to production the issue doesn't seem to exist. I'm still curious what the issue was. I assume maybe a PHP configuration difference between the two servers.

    760 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.