I want to uninstall the module Jquery and i have got this error when i tried to run update.php from the modules list:

Fatal error: Cannot redeclare jquery_update_requirements() (previously declared in /home/public_html/drupal/modules/modules/jquery_update/jquery_update.module:29) in /home/public_html/drupal/modules/modules/jquery_update/jquery_update.install on line 41

Also i have got a similar error when i tried to desactivate it from the list, so i cannot unninstall. i have tried to delete the folder, and now it shows as unninstalled in the list, but the update.php error still appear.

How can i fix it?
I need to update my drupal to the last 5.8 version. Can i do that with that problem in update php?
Will this fix this?

Thank you very much.

Comments

Wolfflow’s picture

Ok, darkpollo, dont panik: you may go with ftp or what ever is your access to your Drupal installation folder and delete the jquery.module folder. Before you run the update script, make a cron_run as loged user1.

to go there:
Administer >>Logs >> Status Report
on the page then by "Cron maintenance tasks"
click on "Run Cron manually"

You may the go to module page and see if the Jquery.module disappeared.
Cheers

Share your experience with the Open Source Community it's not only a choice but a Life Philosophy !!!
Some interesting Old & New, Issues & posting on Drupal.org

Contact me for drupal projects in English, German, Italian, Drupal Hosting Support.

cog.rusty’s picture

Why is the jquery_update module in a modules/modules directory? Normally it should be in sites/all/modules
What else do you have in that strange directory?

Also, if you had installed it correctly the first time, following its instructions, you have probably replaced one or more .js files in Drupal's misc directory with the ones included in the module, and you need to put back the original Drupal .js files.

Wolfflow’s picture

Hi cog.rusty ... working at Saturday ;-)
I suppose that Darlpollo did misunderstud the module's instructions and put the hole module in the core installation.
Cheers

Contact me for drupal projects in English, German, Italian, Drupal Hosting Support.

darkpollo’s picture

Thanks to everybody.

I had a copy of some modules (jquery included) inside a folder modules/modules, so when i removed the modules/jquery it found the other and everything brokes. :P
I am not sure why i had that other folder... maybe an error uploading by ftp.

I managed to disable it by phpmyadmin before i noticed those two modules folder, so it is fixed now. :D

Thank you very much! :D

PD: i did not panic... at all... ;)