ListIt to ListIt2 upgrade hints?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

ListIt to ListIt2 upgrade hints?

Post by paulbaker »

I have taken over responsibility for an old site (1.9.4.3) which I plan to upgrade to the latest CMSMS.

It has several instances of ListIt (1.0.3). I want to understand how to upgrade these to ListIt2.

In the release notes for ListIt2 version 1.0 I see this:
http://dev.cmsmadesimple.org/project/fi ... ckage-1022
Release Notes for 1.0 -- ListItExtended
to update the original ListIt module:
* please follow instructions in ListIt2.module.php to rename the module to ListIt.
* please replace all $item. with $item-> in your templates.
So, I take each ListIt in turn, rename it (from Testimonials or whatever it was called when created) to ListIt. Then run an upgrade in Module Manager on that? Does Module Manager know that ListIt2 replaces ListIt automatically?

If someone can list the steps I should be taking I'd be grateful.

Here's the full sys info for the site, I have marked the ListIt instances:

----------------------------------------------

Cms Version: 1.9.4.3

Installed Modules:

CMSMailer: 2.0.1
FileManager: 1.1.0
MenuManager: 1.7.6
ModuleManager: 1.4.2
News: 2.11.4
nuSOAP: 1.0.2
Printing: 1.1.2
Search: 1.6.10
ThemeManager: 1.1.4
TinyMCE: 2.9.1
Snippets: 0.4
CGExtensions: 1.31
CGSimpleSmarty: 1.4.8
TemplateExternalizer: 1.3.1
CGBlog: 1.7.5
Gallery: 1.4.4
GBFilePicker: 1.3
Testimonials: 1.0.3 <-- ListIt
AdvancedContent: 0.8
CGSmartImage: 1.5
Statistics: 1.1.3
Teasers: 1.0.3 <-- ListIt
SpecialOffers: 1.0.3 <-- ListIt
Showtime: 2.0.4
FormBuilder: 0.7
Staff: 1.0.3 <-- ListIt
VideoPlayer: 1.0.3 <-- ListIt
CGGoogleMaps: 2.1.4
SiteMapMadeSimple: 1.2.5
FrontEndUsers: 1.15.6
CustomContent: 1.7.3
ProductList: 1.0.3 <-- ListIt
CGEcommerceBase: 1.3.11
Products: 2.15.1
CGPaymentGatewayBase: 1.0.11
Cart: 1.8.4
PaypalGateway: 2.3.5
Orders: 1.12.8

Config Information:

php_memory_limit:
process_whole_template: false
output_compression: true
max_upload_size: 32000000
default_upload_permission: 664
url_rewriting: mod_rewrite
page_extension: /
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:

phpversion: 5.2.42-servage30
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
memory_limit: 128M
max_execution_time: 40
output_buffering: On
safe_mode: On (True)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 10M
session_save_path: /shared/sessions (0)
session_use_cookies: On (True)
xml_function: On (True)

Server Information:

Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.85

----------------------------------------------
Stikki

Re: ListIt to ListIt2 upgrade hints?

Post by Stikki »

Official toughs: hmm... your f***ed.

Unofficial toughs: hmm... your f***ed.

Unfortunately those version don't contain upgrade support, so you would need to do it manually, check break point release in forge that has some instructions in it.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: ListIt to ListIt2 upgrade hints?

Post by paulbaker »

:'(

Thanks for the quick reply though. Still interested in any other thoughts.
Stikki

Re: ListIt to ListIt2 upgrade hints?

Post by Stikki »

Problem is that you don't have so called ListIt2 instance at all :)

So first you gotta rename one of your instances into ListIt2, or even better install one more 1.0.3 instance that you call ListIt2 and DONT rename it.

Then upgrade this newly created instance into 1.2 and follow instructions inside: ListIt2CloneUpgrade-1.2.tar.gz

You might face Module loading order issues, at some point, where your instance are loaded before actual ListIt, then you need to manually require ListIt main lib into class file. I haven't tested this lately so no idea if module loading order is still broken with in core, use latest CMSMS version before you start this.

After everything running smoothly, yeah i know XDDDDDD

upgrade to 1.3.2 and from there to latest ListIt.

If you have problems, i really can't help without doing it myself :(
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: ListIt to ListIt2 upgrade hints?

Post by paulbaker »

Thanks again.

:-\ Hmmmmm.....

What about another approach:

Create a virgin CMSMS 1.11.10 installation. Install ListIt2. Create all the instances required. Copy and paste all the information over from the existing site - text, images, into the various fields.

Then, on the existing (old) site: Delete the ListIt instances. Upgrade the remainder of the site normally. Then, export the ListIt2 instances from above and import into the newly upgraded site.

Would that work.....can you export a ListIt2 instance from one site and import into another?
Stikki

Re: ListIt to ListIt2 upgrade hints?

Post by Stikki »

Of course you can import, but that's regular module import, means it triggers install procedures and therefore your data is still in old site.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: ListIt to ListIt2 upgrade hints?

Post by paulbaker »

Stikki wrote:Of course you can import, but that's regular module import
How would I do that then? I searched the forum but couldn't find info. A ListIt2 module on another site doesn't give export options at Extensions -> ListIt2.
Stikki wrote:means it triggers install procedures and therefore your data is still in old site.
...even if I have already deleted the ListIt instances as I said?
Stikki

Re: ListIt to ListIt2 upgrade hints?

Post by Stikki »

I mean field data wont follow on module export, you have to move database tables manually to new installation.

you can also user listit2_config.php to override module alias, so you can point old tables to new installation

Then you only loose perferences and templates but not data.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: ListIt to ListIt2 upgrade hints?

Post by paulbaker »

Thanks for your assistance Stikki, I will give that a go.
Post Reply

Return to “Modules/Add-Ons”