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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

I see the site only when connect in admin mode


Go to End


5 Posts   1526 Views

Avatar
__fabrice

Community Member, 32 Posts

22 June 2009 at 7:59pm

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

Forum Moderator, 5523 Posts

23 June 2009 at 8:52am

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

Community Member, 32 Posts

23 June 2009 at 7:34pm

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

Administrator, 690 Posts

23 June 2009 at 7:45pm

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

Community Member, 32 Posts

23 June 2009 at 7:55pm

Hi,

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

Fabrice