Jump to:

23473 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » I see the site only when connect in admin mode

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 860 Views
  • __fabrice
    Avatar
    Community Member
    32 Posts

    I see the site only when connect in admin mode Link to this post

    hello guys,

    I modify a site with SS, in local it's fine. But, when I upload the files (/mysite/ and /themes/), i have a weird error (in french) :

    Erreur d'analyse XML : balise ne correspondant pas. Attendu : </head>.
    Emplacement : http://www.my_site.com/Security/login
    Numéro de ligne 94, Colonne 5 : </body>
    ----^

    I try to translate :
    error analyzing XML, tag ..... </head>
    location : http://www.my_site.com/Security/login
    row : 94, column : 5

    The number of row change since a erase some files, like .svn/ or others.

    ha, ok, I found in the first line of the .ss files this line that i erase : <?xml version="1.0" encoding="UTF-8"?> . But it's fine in local... whatever...

    So, the first page is redirected on : http://www.my_site.com/Security/login with this error

    That page is secured. Enter your credentials below and we will send you right along.

    When i log in, it's ok... But, to see well the website, i must to log in admin....!!??? why ? Maybe that I modify the layout.css to change the content variable ($Content), with the right css, in the content manager in admin mode....

    Thanks to help me.
    Fabrice

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: I see the site only when connect in admin mode Link to this post

    Is the Page Access set to logged in users only?. If you login and look at the page's 'Access' tab is it set to everyone or just logged in users

  • __fabrice
    Avatar
    Community Member
    32 Posts

    Re: I see the site only when connect in admin mode Link to this post

    hello,

    Yes, it's the problem. But I didn't change anything about this. And each time I upload files on the webserver, the page's 'Access' changes...
    I don't know why.

    Fabrice

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: I see the site only when connect in admin mode Link to this post

    The Access value is stored in the database; it shouldn't be affected by uploading template files. Are you making any changes to the database when you upload?

  • __fabrice
    Avatar
    Community Member
    32 Posts

    Re: I see the site only when connect in admin mode Link to this post

    Hi,

    No i didn't change anything in the database. In local, I haven't this problem...

    Fabrice

    860 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.