Hi everyone,
I was trying to activate earlier version of calendar module (6.x-2.x-dev) on my Drupal site and got following error
Fatal error: Call to a member function on a non-object in /var/www/something/ssomething/modules/calendar/calendar.views_default.inc on line 163

Now my site is down and all i see is that error.
Since I cant delete this calendar module from home is there any way I can get my site back on.
I am hoping that by deleting this calendar module error will be gone but not too sure.
Is there anyone that can offer some suggestions or something please.

Thank you

Comments

dksdev01’s picture

You have three ways --
1. If access to database, open system table and update your module status to 0.
2. If access to file, delete complete calender module folder.
3. Fix this bug on calendar.views_default.inc on line 163

Deepak

igorjava’s picture

Hi Deepak,
Thank you so much for your reply. It is greatly appreciated.

igorjava’s picture

Hi Deepak,
I was wondering if I delete this old calendar module from module directory and install new version of calendar
module (6.x-2.0-rc1) would I still be getting the same error?

dksdev01’s picture

You should not get error if that is fixed.. but it is preferred to first disable existing version and then install new and run update.php

- Deepak

igorjava’s picture

But as of right now I cant get to my admin pages to disable the old version. In fact I cant access any of the pages at all.
So I am assuming at my level of expertise with Drupal and PHP (new to both) all I can do is log on to the server tomorrow delete the calendar module. Check if the site is up and if so install the new calendar module.
Would that be sufficient?

dksdev01’s picture

try .. and that should work.

igorjava’s picture

Is there a way to do this from home?
I don't have access to server and database from home.

igorjava’s picture

Hi,
For some reasons that error is not showing up any more. I have my front page in my chosen theme. My Site slogan is still there. Footer is still there on front page but content part has "Page not found
The requested page could not be found."
Even my images for front page are still there?
What do I do. I am worried that all my content is lost?