Developer forum

Forum » CMS - Standard features » There are multiple root elements. Line 1, position 173.

There are multiple root elements. Line 1, position 173.

Lars Larsen
Reply

Hi 

I have a site that I can't get running. When calling the frontend I get the error in the first screenshot. When calling the backend, I get the login screen, but after login I get the error in the second screenshot. What can be wrong?

backend.PNG frontend.PNG

Replies

 
Nicolai Høeg Pedersen
Reply

Hi Lars

I have no clue what that can be. Same exceptions in 2 different stack traces and places in the database...

Is the DB a copy of a working database? Can you access the frontend?

Can you try change the hostname from "sandkasse" to i.e. "sandkasse.local" or something with a dot?

BR Nicolai

 
Lars Larsen
Reply

Hi Nicolai

Yes the DB is a copy of a working database. And no I can't access the frontend. It's when I access the frontend that I get the error #2. The site has been running with the domaine "sandkasse" for many years. But I will try to rename it.

 
Nicolai Høeg Pedersen
Reply

You can provide us with the db and we will hook it up on a local solution here and see what happens...

 
Lars Larsen
Reply

Hi Nicolai

I gave up on the database. Seems like it some how is corrupted. It's an old backup in which the customer wanted to check some things. 

Thanks for your time.

 

You must be logged in to post in the forum