1
daddystu
Updating modules - general question (sorry)
  • 2004/11/4 13:58

  • daddystu

  • Just popping in

  • Posts: 100

  • Since: 2004/5/25


This must be trivial, apologies in advance.

When updating, the module often seems to contain instructions such as

Upload the new files.
Then run any update scripts....

My silly question is, does this mean just drag the whole folder on top of the one that is already there and choose overwrite same name files in your ftp client?

i.e. does the module usually contain a complete set rather than a differential set of files?

TIA

2
Dave_L
Re: Updating modules - general question (sorry)
  • 2004/11/4 14:33

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


The module update should contain a complete set of files.

You have to be careful when copying over whole folders. Not all module distributions use the same file structure, so you might copy the files to the wrong place, which could be a mess to straighten out.

I would backup both the old files and the database first, so that I can revert to the previous version if there are problems.

3
daddystu
Re: Updating modules - general question (sorry)
  • 2004/11/4 14:46

  • daddystu

  • Just popping in

  • Posts: 100

  • Since: 2004/5/25


Thanks for the input.

Two things....

1.would it be better to delete the old module first? Then in copying there would be less chance of a misrouted file reference...???


2.although it has come up several times in forums and there has been <i>some</i>help, backing up the database seems pretty variable depending on whether you choose to use your isp's setup or phpMyAdmin etc. Is there any for Dummies type walkthrough that you know of?

4
intel352
Re:Updating modules - general question (sorry)
  • 2004/11/4 16:40

  • intel352

  • Module Developer

  • Posts: 824

  • Since: 2003/11/23


*usually* a full module release will contain the complete set of files. if it's just differential files, that would likely be noted.

and yes, just upload/drag the files into your ftp client, overwriting the similarly named folders/files.

i believe there's a module that you can install, which will back up the sql database


edit: regarding deleting the old module first, you can either overwrite or delete, should work fine either way, just make sure you have a backup of the original files.

5
daddystu
Re:Updating modules - general question (sorry)
  • 2004/11/4 23:01

  • daddystu

  • Just popping in

  • Posts: 100

  • Since: 2004/5/25


Thanks all.

I'll probably be back....

6
daddystu
Re:Updating modules - general question (sorry)
  • 2004/11/4 23:01

  • daddystu

  • Just popping in

  • Posts: 100

  • Since: 2004/5/25


Thanks all.

I'll probably be back....

7
daddystu
Re:Updating modules - general question (sorry)
  • 2004/11/4 23:03

  • daddystu

  • Just popping in

  • Posts: 100

  • Since: 2004/5/25


Thanks all.

I'll probably be back....

Login

Who's Online

106 user(s) are online (66 user(s) are browsing Support Forums)


Members: 0


Guests: 106


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits