Wiccle.com - Back to Index
Wiccle.com - Back to Index
 
Fusion » Forums » Zone: Public Forums » Category: Install & Modification » Thread: iWiccle 1.11->1.20 Upgrade Script Information  
 
 
 
Started: January 24, 2010 ⋅ Zone: Public Forums ⋅ Category: Install & Modification ⋅ Posts: 36 ⋅ Views 169
Started by: Markus ⋅ Description: The complete upgrade script is now ready and available.
Post #1
Member: Markus ⋅ Date: January 24, 2010 ⋅ Subject: "iWiccle 1.11->1.20 Upgrade Script Information"
[[AVATAR]]: Markus

For those of you who have been running iWiccle 1.11 and wish to upgrade your sites to iWiccle 1.20 (which I should add is a very good idea), I have now completed the writing and testing of a complete upgrade script. The file is available from our download page once I complete the explanation of the upgrade process in this thread over the next few minutes.

I have tested this on our current demo a fair 50 times over by now, and everything should be smooth sailing despite the 300+ lines of database queries + the parsing and inclusion of 10 complete layout sets, which make for a hefty amount of data to crunch through in the context of our slim system. The upgrade happens in 4 quick phases and is over in a minute.

--

If you are running versions of iWiccle older than 1.11, download the relevant upgrade bundle to 1.11 and just run the database upgrade, followed by the full 1.20 upgrade path from 1.11. You don't need to overwrite all the files in between.

Post #2
Member: Markus ⋅ Date: January 24, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"
[[AVATAR]]: Markus

WHAT DOES THE UPGRADE SCRIPT DO?

  • Over 50 structural changes to the database and hundreds of other modifications to bring your site up to speed.
  • Installation of new layout sets across all modules except "Home" and backing up of the old layouts.
  • Automatic upgrade of all members, module content and existing system configuration.
  • All other settings and preferences will remain as you've set them up in your 1.11 version.


BEFORE THE UPGRADE

  • Take a full backup of your database and files to ensure you can recover in the event of a failed upgrade (unlikely but cover your bases).
  • Download the regular 1.20 installation package and upload the full iWiccle 1.20 set of files over the current iWiccle 1.11 files on your server.
  • Upload the four additional files (/templates/pro/modules/skin_home.php & skin_home_ow.php | /languages/en/module_home.php | /modules/gallery/gallery_config.php) in "111_legacy.zip" to enable legacy support for the old "Home" module and 640px image support for Gallery (if you haven't used the gallery yet, don't upload the gallery file.)
  • If you have customized your module menus and descriptions, go to Admin CP > Modules > [Module] and copy Navigation (raw data) and Module description for restoring them after the upgrade.
  • Launch the upgrade script after uploading the "upgrade" folder with its contents to the web root (public_html/upgrade etc.) of your iWiccle 1.11 installation.


AFTER THE UPGRADE

  • The iWiccle 1.11 default skin will not work in 1.20 without substantial extensions made to it. Consider ditching it and integrating your modifications to the new and easier templating system of iWiccle 1.20. (Ask in Fusion Forums for guidance if you are unsure how to do this -- we'll be happy to talk you through upgrading all your modifications.)
  • If your old 1.11 site header and footer have something that don't fit into the current layout, you can edit them under Site > Header & Footer.
  • All page layouts except in module "Home" have been replaced by enhanced iWiccle 1.20 layouts. Your existing pages, including custom pages and page units you have created, will be renamed to "111_pagename" (if the page was called "pagename") -- access them by adding "111_" into the URL of a page (ie. &show=111_pagename).
  • Use the Builder backup/restore tool (go to 111_pagename, "backup", go to main page, "restore") to restore whatever page layouts and content you may want to bring over to your new system from the old sets.
  • Once you are satisfied with integrating your old custom content (if any), you can return to this script and use it to delete the layouts that were backed up. (Recommended!)


OTHER NOTES

  • The new default module where you create most of your custom pages is now called "Site". You can access your old "Home" module at /index.php?module=home .
  • The member profiles are extended, and while the existing member data has been carried over, your members will need to revisit their profiles to fill up the new blanks.

 

Post #3
Member: Markus ⋅ Date: January 24, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"
[[AVATAR]]: Markus

These screenshots illustrate the complete upgrade process and the optional layout cleanup feature you can return to.

The upgrade script verifies admin access and as such is safe to keep online, even if it's a very good idea to not keep it there.

1.20 Upgrade #0

1.20 Upgrade #1

1.20 Upgrade #2

1.20 Upgrade #3

1.20 Upgrade #4

If you return to the upgrade script again after finishing the above and reviewing your site, you will find the following:

1.20 Upgrade #c

1.20 Upgrade #c2

Happy upgrading to iWiccle 1.20! It's a quick and painless process. =)

Post #4
Member: Markus ⋅ Date: January 24, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"
[[AVATAR]]: Markus

If you come across any problems upgrading your site, please open a new thread and copy any error messages you may have received to the thread to help us help you out. If you have done custom modifications to your 1.11 database, please ask here and detail your modifications before you upgrade (unless you can read through the SQL files and understand what they do and how they will affect your system).

Post #5
Member: john ⋅ Date: January 24, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"

Launch the upgrade script after uploading the "upgrade" folder with its contents to the web root (public_html/upgrade etc.) of your iWiccle 1.11 installation.

Hi Markus, Just downloaded as per your link and cannot find (Embarassed) the "upgrade" folder. Help!!

Post #6
Member: Markus ⋅ Date: January 24, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"
[[AVATAR]]: Markus

I'm still just setting it up right now -- wait two minutes please. =)

Post #7
Member: Markus ⋅ Date: January 24, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"
[[AVATAR]]: Markus

Sorry I thought you didn't find the upgrade script, I was in the middle of editing the downloads page. The upgrade folder is right there in the zip file when you unzip it, is it not?

When you unzip it, there should be a file called readme.txt and a folder called "upgrade", which is what you are meant to upload, along with the main iWiccle 1.20 bundle.

Here is a direct link to the separately provided upgrade script, now also available under the main downloads along with older upgrade scripts for those who need to take a longer route to 1.20. Were you looking for it inside the main iWiccle bundle?

Post #8
Member: john ⋅ Date: January 24, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"

Sorry Markus. Yes, I was looking in the 1.20 files, didn't see the "Upgrades" box on the downloads page - didn't even know it was there! Have downloaded the upgrade script - here goes...

Post #9
Member: Markus ⋅ Date: January 24, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"
[[AVATAR]]: Markus

It wasn't there until probably 30 seconds after you looked for it. =)

Post #10
Member: Keith Killilea ⋅ Date: January 24, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"
[[AVATAR]]: Keith Killilea

iWiccle Upgrade Double FacePalm

Post #11
Member: Markus ⋅ Date: January 24, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"
[[AVATAR]]: Markus

And what you see above comes from the AI wing of our R&D department. It provides suitable environments after assessing the state of mind of the developer and the task at hand. We will roll this out on Q2 2010 (most likely on the 1st of the season).

We are by the way probably the only CMS company out there whose board of directors hijack their own threads and troll all over their own forums. Cool

Post #12
Member: john ⋅ Date: January 24, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"

Any person who has the good taste to post images of Jean Luc Picard and William Riker - saviours of the galaxy (as future generations will know it) can do no wrong! (unless they start posting responses in Klingon).

OK, so I backed-up my sql database and iWiccle site files - very carefully uploaded the 1.20 files to overwrite my site files - uploaded the additional new files (site, video, etc) as per Markus' instructions - uploaded the upgrade files into my iWiccle root directory - ran the upgrade script (upgrade_111_120.php) - all went exactly as per Markus' screenshots - no problems.

Notes for anyone following this:  Follow Markus' instructions (above) precisely, step by step and carefully.

Post Script: My site was heavily modified before the upgrade, and I had much content which I didn't want to lose. At this time it appears that I haven't lost any content, but (as I expected) my site template needs to be re-developed to accommodate all the 1.20 changes.

All good and no nasty surprises so far Laughing.

Post #13
Member: Keith Killilea ⋅ Date: January 24, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"
[[AVATAR]]: Keith Killilea

Great news to hear that John!

Thanks for posting your feedback on how it went for you Cool

Post #14
Member: Markus ⋅ Date: January 24, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"
[[AVATAR]]: Markus

Glad it went smooth! It's not really complicted, but you will have to do it as described because it's a huge update and things can go wrong if someone begins to improvise. The offer to crunch iWiccle license owners' templates into a 1.20 version is still open if you're interested. =)

Post #15
Member: Footman ⋅ Date: January 24, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"
[[AVATAR]]: Footman

A couple of questions as I go through the upgrade...

1- your instructions state:

 Upload the four additional files (/templates/pro/skin_home.php & skin_home_ow.php | /languages/en/module_home.php | /modules/gallery/gallery_config.php) in "111_legacy.zip" to enable legacy support for the old "Home" module and 640px image support for Gallery (if you haven't used the gallery yet, don't upload the gallery file.)

However I find those files in the upgrade zip as follows: legacy_upload/templates/pro/modules/skin_home.php & skin_home_ow.php. I'm assuming these are still the ones you're reffereing to. But where to place them in the upload? In templates/pro or templates/pro/modules?

2- I haven't found a "111_legacy.zip" file so I'm also assuming that's the directory included in the upgrade zip. Correct?

Post #16
Member: Markus ⋅ Date: January 24, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"
[[AVATAR]]: Markus

Sorry about that --- the 111_legacy.zip was never zipped for clarity and just left there in the /legacy_upload folder. Just upload the full 1.20 files, and then that on top of it. You can just drag and drop the contents of that folder to your webroot, they will go to their indicated places. One file under /languages/en, two under /templates/pro/modules, and one under /modules/gallery. I have updated the documentation to indicate this.

Post #17
Member: john ⋅ Date: January 24, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"

My upgrade went smoothly enough and all of my content was saved. Smile

What is strange though is that most of my sub-menus have screwed up - and not in any consistent pattern. Easy enough to rebuild but something to watch out for. Undecided

Additionally, many of the default page layouts don't show up (no boxes whatsoever) - possibly something to do with the sub-menus. Again, easy enough to rebuild but another thing to watch out for. Undecided

My site was heavily modified before the upgrade, so I may well have caused my own problems. Frown I'm comfortable that I can fix everything myself though, so it's all good!

Markus, how do I take-up your very generous offer to rebuild my old site template to fit into 1.20?

Thanks.

Post #18
Member: Markus ⋅ Date: January 25, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"
[[AVATAR]]: Markus

Before the upgrade:

  • If you have customized your module menus and descriptions, go to Admin CP > Modules > [Module] and copy Navigation (raw data) and Module description for restoring them after the upgrade.

After the upgrade:

  • All page layouts except in module "Home" have been replaced by enhanced iWiccle 1.20 layouts. Your existing pages, including custom pages and page units you have created, will be renamed to "111_pagename" (if the page was called "pagename") -- access them by adding "111_" into the URL of a page (ie. &show=111_pagename).

Smile

If you took a database backup, you can search for "w_modules" and you will find the raw data for your old submenus there.

These two steps were taken to ensure that everyone gets the latest of 1.20 features, as every single layout and content unit (235/660 in total) was reviewed and revised. If you use the new export/import tool in the builder, it's easy enough to recover and reinstate the 111_ pages you had modified, and wish to port over.

---

If you want the old template turned into a 1.20 version, please zip up your old site and mail it to me. Don't really need the database, just the /templates folder, and any other modifications you may have somewhere.

Post #19
Member: antifmradio ⋅ Date: January 25, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"
[[AVATAR]]: antifmradio

all worked fine for me

there is a single issue though with < DIV > i think

when i load any of my pages i can see the header LOGO for iWiccle in the top left

but just to the left of it, obviously over lapping some div table is the NAME Of my website.

Its like the TITLE NAME Of the site is sitting just to the left of where the logo is supposed to be.

Very odd

No i didnt customize anything.

and i wasnt worried about database stuff lost so i just did the uploads for upgrades.

dragged whatever legacy files i needed to in the proper places as well.    done deal

Post #20
Member: john ⋅ Date: January 25, 2010 ⋅ Subject: "Re: iWiccle 1.11->1.20 Upgrade Script Information"

Thanks Markus,  I've emailed you the zipped files.

 
 
Public Forums

Category ⋅ Deploying iWiccle and Wiccle into unique solutions that match your needs.

 
 
Public Forums
Zone ⋅ Public forum sections for support and discussions. Available for everyone.
 

Zone Categories