Error, when loggin to any of my Umbraco sites Options
pth
Posted: Tuesday, July 29, 2008 7:43:17 AM

Rank: Newbie

Joined: 12/14/2007
Posts: 18
Location: Denmark, Silkeborg
Hi,
I've got a wired problem. In one of my Umbraco sites I deleted a pages in the "Content" section.
The pages I deleted was from the Contact pages:RE(Contact). And thats where the error comes.

Here's whats happens:
I log in to Umbraco: no problem
I see the tree structure: no problem
I see all the different sections: no problem
I can go from one section to another: no problem
I can create and edit in "Content" and "Media" sections: no problem



I can't delete properly in the "Content" section: problem

I see the tree structure but in the left-bottom corner a .js error comes:
'Element' is not defined - TreeInit.aspx

I can't save anything in Templates or XSLT. Here I've got this error:
Object was expected - editTemplate.aspx and the same in editXslt.aspx



Here is what I've done to solve this:
Installed Umbraco again: no luck
Overwritten all files in js: no luck
Overwritten TreeInit.aspx, editTemplate.aspx and editXslt.aspx: no luck
Maked a rollback so the RE(Contact) pages got restored in the Content section: no luck



The wired thing is, that it's on all my Umbraco installs the error comes. They are all at the same server.
It's also different versions of Umbraco: 3.0, 3.0.5 and 4.0

Please help me out.

Pth


imayat12
Posted: Tuesday, July 29, 2008 11:41:28 AM

Rank: Addict

Joined: 7/19/2006
Posts: 649
Location: Preston, UK
pth,

Sounds like a permissions issue can you recheck all your permissions. I had this recently where my website was moved into its own app pool and the network service under which the app pool was running did not have full control permissions to bin,media,xslt,css etc directories.

Regards

Ismail

Level 2 certified. If it aint broke dont fix.
pth
Posted: Tuesday, July 29, 2008 11:48:17 AM

Rank: Newbie

Joined: 12/14/2007
Posts: 18
Location: Denmark, Silkeborg
imayat12,

Thanks for your help.

Can the mistake/error from one site have influenze one all the rest sites, running on the same server?

pth
pth
Posted: Tuesday, July 29, 2008 3:00:10 PM

Rank: Newbie

Joined: 12/14/2007
Posts: 18
Location: Denmark, Silkeborg
imayat12,

Now I've maked sure that all the permissions are correct, but still I get the errors on all my Umbraco installations. And I'am still not abel to make any changes in Settings and Developer sections.

Any suggest ?

pth
drobar
Posted: Tuesday, July 29, 2008 3:43:17 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,689
Location: KY, USA
I agree with Ismail... this is almost certainly permission related.

Since all your sites started having problems and are on the same server I suspect that the application pool owner for your site(s) has changed or your hosting provider moved the files around and did not preserve all the permissions properly.

Double-check (with your hosting provider, if necessary) what user owns the application pool for your sites and that all files and folders have at least CRUD (create, read, update, delete) permissions for that user. You can get details of which files and folders are required in the relevant installation guide at http://www.umbraco.org/documentation/books/.

The reasons that this seems to be file permission related are:
- You can log in (that's database)
- You can work with the content area (that's database)
- You cannot work with styles and scripts (that's filesystem)
- You get javascript errors in the UI (that's filesystem)
- Multiple sites behave the same way (that's filesystem/app pool owner)

The things that work are not specifically filesystem related (though the XML cache of the content tree is stored on disk as well), but those things that don't work ARE filesystem related.

cheers,
doug.

MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
pth
Posted: Wednesday, July 30, 2008 2:03:26 PM

Rank: Newbie

Joined: 12/14/2007
Posts: 18
Location: Denmark, Silkeborg
hi doug,

Okay, now I've double-checked all my settings. And it's alright. I've got my own server.
All the permissions are right, but still the same.

Are there a specific place to look for permissions. Perhabs in the IIS?

Think I forgot to say that all sites in the frontend are working just fine.

pth
drobar
Posted: Wednesday, July 30, 2008 2:21:10 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,689
Location: KY, USA
If you wouldn't mind allowing me remote desktop access I'd be happy to take a look. Perhaps another set of eyes will see something. If so, feel free to contact me through my website.

cheers,
doug.

MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
pth
Posted: Wednesday, July 30, 2008 2:50:36 PM

Rank: Newbie

Joined: 12/14/2007
Posts: 18
Location: Denmark, Silkeborg
hi Doug,

I've sent you an email from your webpages.

pth
SoerenS
Posted: Wednesday, July 30, 2008 4:14:44 PM

Rank: Fanatic

Joined: 7/25/2006
Posts: 424
Location: Silkeborg, Denmark
I think I've managed to fix the problem for him (via Remote Desktop).

Allthough a lot of the symptoms looked like missing file rights, what puzzled me was that the backend gave a javascript error (in IE only). And that you where able to create CSS and XSLT files, but not save them.

So I tried copying in a fresh /bin and /umbraco folder, and it solved them problem!

We still haven't figured out why all of a sudden 10+ sites on the same server, running 3 different versions of Umbraco has broken like this. But sometimes weird stuff just happens :-P

/SoerenS

Brug for råd til hvordan du driver en god webshop? / Need advice on how to run an effective webshop?
8ender
Posted: Thursday, July 31, 2008 5:31:04 AM
Rank: Newbie

Joined: 7/31/2008
Posts: 6
Location: Ontario
I am having the same problem and it also just started out of the blue. I cannot save anything in settings or developer but I can create all I want. I am also unable to empty the recycle bin. Any ideas?
8ender
Posted: Thursday, July 31, 2008 7:28:18 AM
Rank: Newbie

Joined: 7/31/2008
Posts: 6
Location: Ontario
I just finished resetting the permissions and copying over a fresh /bin and /umbraco as SoerenS mentioned and its still giving me trouble. I'm at a loss here.
daniel_l
Posted: Thursday, July 31, 2008 8:43:22 AM
Rank: Aficionado

Joined: 6/25/2007
Posts: 132
Location: Malmo, Sweden
8ender wrote:
I am having the same problem and it also just started out of the blue. I cannot save anything in settings or developer but I can create all I want. I am also unable to empty the recycle bin. Any ideas?


Sorry I have no idea but you could try to give some more info and maybe the umbraco gurus will come to your assistance. What version? 2.x, 3.x or v4 beta? What environment? Could you save anything before on this site or does this occur on a fresh install?

Is it me or umbraco? Umbraco Certified Professional Level 2.
8ender
Posted: Thursday, July 31, 2008 1:10:23 PM
Rank: Newbie

Joined: 7/31/2008
Posts: 6
Location: Ontario
daniel_l wrote:
Sorry I have no idea but you could try to give some more info and maybe the umbraco gurus will come to your assistance. What version? 2.x, 3.x or v4 beta? What environment? Could you save anything before on this site or does this occur on a fresh install?


Version 3.03 on a Windows 2003 VPS with Plesk installed. Everything worked really well for a while and this just recently started happening. I haven't tried a fresh install as this is a production website right now.

How would I go about reliably backing up my Umbraco pages and restoring them after a fresh install?
pth
Posted: Thursday, July 31, 2008 3:10:04 PM

Rank: Newbie

Joined: 12/14/2007
Posts: 18
Location: Denmark, Silkeborg
Hi 8ender,
What I did was to follow SoerenS solution. It worked for me.
Regarding version 3.0.3 I overwrite only the Umbraco folder with version 3.0.5. Umbraco folder. That did the trick in version 3.0.3.

I think you have a "old" file somewhere. But it's really weired

Remember to make backup og your site, even it's on development :)

pth

8ender
Posted: Thursday, July 31, 2008 4:10:53 PM
Rank: Newbie

Joined: 7/31/2008
Posts: 6
Location: Ontario
Damn, no dice. I upgraded the install to 3.05 by replacing the /bin /umbraco and /umbraco_client folders and it still isn't working. I'm getting a Javascript error "Sys is not defined" while browsing the main interface and "umbraco is not defined" when trying to save a template.
8ender
Posted: Thursday, July 31, 2008 4:47:52 PM
Rank: Newbie

Joined: 7/31/2008
Posts: 6
Location: Ontario
Another odd thing: When I extract the 3.05 zip with the built in Windows Server Zip utility it doesn't seem to unzip all the files. I unzipped it with Winrar and it got all the files. Still didn't fix my problem but interesting regardless.
8ender
Posted: Thursday, July 31, 2008 6:38:12 PM
Rank: Newbie

Joined: 7/31/2008
Posts: 6
Location: Ontario
Figured it out.

For some reason my IIS was configured to run .NET 1.1 instead of .NET 2.0 on certain extensions like .ASM and .AXD which was causing the problems. Only reason I figured this out was because of the Activity window in Safari telling me I was getting server errors on page load.

Everything seems to work now.
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.