Hi guys, I suddenly recieved this fatal error in my drupal website. i have tryed to have a look at the file it indicates but it seems to be ok.
I have a recent backup of my website so i guess i could just upload that back to my server but is there any way to recover the two documents i posted on the website recently?

This is the error : Fatal error: Call to undefined function profile_user_categories() in /membri/ital/all/modules/ctools/plugins/content_types/user_context/profile_fields.inc on line 3

Thank you

Comments

a_khalipau’s picture

It looks like you deleted the "Profile" module.
It is a part of the Drupal core.
Just download the same Drupal release as you have on your site and recover the "Profile" module.

krishanmarco’s picture

I'm afraid that's not the problem. I have checked anche the profile module is there. I must have just deactivated it. Is there any way to activate a module from ftp? in text form?

a_khalipau’s picture

You can activate the module only by the database.
Do you have any access to the database?
There is the table "system" in the database with a list of all existing modules.
You can see the current status of the module in the field "status" (0 - disabled, 1 - enabled), create a backup of the database and try to change this field.

krishanmarco’s picture

Looking at the profile module in the database it's value is 1 which means it's activated.
What else could be the problem?
Is there any way to copy my documents so i can go on creating a new website?

sridharpandu’s picture

I get this error when enabling the ctools module. Not sure what to do. Would appreciate any suggestions.

Thanks in advance

Acer Aspire 5745
[i5 430M, 3GB, 320GB]
Ubuntu 12.04 (Precise Pangolin)
Drupal 6.15, 7.x
DigitalOcean, Go Daddy, Rackspace,