I'm a beginner with drupal, sorry :)
I've updated 3 modules (contemplate-date-filefield/drupal5.3) before disable them in the admin modules page.
This is the result of the update.php script.
It's difficult for me to understand if the update of the database is ok.
How to understand? Is there a script that check the db?
Many thanks
The following queries were executed;
date module
Update #5100
No queries
Update #5101
No queries
Update #5102
No queries
Update #5103
No queries
Update #5104
No queries
filefield module
Update #2
No queries
contemplate module
Update #2
CREATE TABLE {contemplate_files} ( site varchar(255) NOT NULL, data longblob NOT NULL, UNIQUE KEY site (site(255)) ) /*!40100 DEFAULT CHARACTER SET utf8 */;
Comments
=-=
goto adminsiter -> status logs. If the DB is out of sync you will have a message about it.
Green = go, red = stop
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Thanks for your reply
Thanks for your reply :)
status logs? status report, ok?
My db is update but I don't understand the message;
The following queries were executed;
etc...
etc...
What is the right way to update my modules?
es. contemplate-date-filefield/
=-=
The messages you see when running update.php are what the module needed to do to update itself.
modules are updated by
removing the old module folder
uploading the new module folder
running update.php
done.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
I'm confused whether before
I'm confused whether before removing the old module should I disable and then uninstall the old module or just disable old modules without uninstall?
And in case of drupal update it says in update.txt file to:
Disable contributed modules and switch to a core theme (Bluemarine or Garland). ---> does this also mean to uninstall the modules?
=-=
you do not uninstall a module, if you do, it will remove any data from the database.
You can disable the module, if you so choose. I don't do that in most cases but it certainly can be done.
during a major upgrade ie: from 5 - 6, you want to switch to a default theme before the upgrade because your custom or contrib theme will need to be updated to work with the next version. Switching to a default theme allows you to still work with the site while the upgrade to your theme can be made.
VeryMisunderstood, you are
VeryMisunderstood, you are always quick to reply. I think almost 50% of my doubts have been answered by you........thank you :-)
Ok, so during minor upgrade one can work without disabling modules. Just deleting the old module folder and copying the new ones will work.......Great!
One more thing, currently i'm using D5.7 which I want to upgrade to D5.9. For this, I will remove the old Drupal version except sites, files, .htaccess and robots.txt and then copy all files from newer version except sites, files, .htaccess and robots.txt to the main drupal.
Is there anything else that needs to be followed besides backup of database and folders? Do I need to disable modules? Run upgrade.php script? Clear cache? Or something else?
=-=
i remove .htaccess and robots.txt too in most cases.
you do not need to disable anything
backup db and files
put site in offline mode
delete files
upload new files
run update.php
put site back in online mode
*._.*
Wow! It sounds simple than I thought..........just retain contrib modules/themes i.e. "sites folder" and contrib files/images i.e. "files folder" and delete all other folders and files........
Just one more thing to be aware of is that not to override the old settings.php file with the new one.
Thanks once again. You have been great!
=-=
you're welcome
*._.*
Ok. I did as you said.....deleted old drupal5.7 + some old modules and copied new drupal5.9 + some new modules but when I run update.php "every option box" of modules shows "no updates available", should I still have to click on the update button at the bottom of the update.php page? Will it make any difference since there is no option selected?
=-=
run update.php any way.
also in future. refrain from updating modules and core all at one time. If something goes wrong , you won't know what caused the problem now.
Thank you for this
Thank you for this thread...answers my questions too...
computers are just high tech record players
ya......this guy
ya......this guy (misunderstood) is very helpful.....just upgraded to 5.10 --> it was like deleting old ones, copying new ones and running update.php :-)