Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

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

I see the site only when connect in admin mode


Reply

5 Posts   870 Views

Avatar
__fabrice

22 June 2009 at 7:59pm Community Member, 32 Posts

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

Avatar
Willr

23 June 2009 at 8:52am Forum Moderator, 5511 Posts

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

Avatar
__fabrice

23 June 2009 at 7:34pm Community Member, 32 Posts

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

Avatar
Sam

23 June 2009 at 7:45pm Administrator, 685 Posts

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?

Avatar
__fabrice

23 June 2009 at 7:55pm Community Member, 32 Posts

Hi,

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

Fabrice