Corrupted database maybe?

From: [email protected] [mailto:[email protected]] On Behalf Of Chris Haines
Sent: Tuesday, May 17, 2011 8:49 AM
To: [email protected]
Subject: Website changed somehow, and now I can't log in?

My orchard website suddenly seems to have lost a couple of things (tripel boxes 
along the bottom, and a facebook like button along the top)

My first through was "Uh-oh, I've been hacked" but then I took a look at the 
server logs and there's no evidence of anyone having signed in.

Then I go to sign in, and I get a big fat error...

http://www.butgod.co.uk/Users/Account/LogOn

Any ideas anyone? Looks like something's changed, but how to trace it I don't 
know. Sadly I don't have a backup of the last working copy....

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the 
current web request. Please review the stack trace for more information about 
the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to 
an instance of an object.

Source Error:

Line 2:

Line 3:  @{

Line 4:      var userCanRegister = 
@WorkContext.CurrentSite.As<http://WorkContext.CurrentSite.As><Orchard.Users.Models.RegistrationSettingsPart>().UsersCanRegister;

Line 5:      var enableLostPassword = 
@WorkContext.CurrentSite.As<http://WorkContext.CurrentSite.As><Orchard.Users.Models.RegistrationSettingsPart>().EnableLostPassword;

Line 6:  }


Source File: 
d:\virtualservers\butgodco\butgod.co.uk<http://butgod.co.uk>\wwwroot\Modules\Orchard.Users\Views\LogOn.cshtml
    Line: 4



--- You are currently subscribed to orchard-discuss as: 
[email protected]<mailto:[email protected]>. To 
unsubscribe send a blank email to 
[email protected]<mailto:[email protected]>.


---
You are currently subscribed to orchard-discuss as: [email protected].
To unsubscribe send a blank email to [email protected].

Reply via email to