Fork me on GitHub

Re: A project I've been putting off - ICMS 1.2.x to 1.3.x

I'll have a look if I can find the migration script we had for the imblogging module, I think it could be useful for moving over the original news to the new news module by @madfish.

The permissions in the IPF modules until now have been handled exclusively in the 'groups' section of the system module, and there is no permissions handling done anymore in the module itself. That is a part that would be missing right now.

Topic


Re: A project I've been putting off - ICMS 1.2.x to 1.3.x

I did a similar move more or less a year ago when we migrated the ImpressCMS site from multiple versions to 1.3. Some modules were no longer available in 1.3, so we had to reconfigure everything from scratch, and we also did a few SQL-based custom written migrations. 

As far as I know, no module out there has 'import' functionality so you might need to write your converters on your own. Having a framework (à la Drupal Migrate) that offers a standard way of doing this would be a major positive point for a future version I believe.

Moving from CBB to iForum is easy : the table structure is the same, and the URL structure is the same. If you move the attachment files into the iForum upload folder, you should be OK.

Topic


A project I've been putting off - ICMS 1.2.x to 1.3.x

Key modules

  • News (original InstantZero module)
  • Forum (CBB vintage)

I do use group permissions for news categories - not everyone can see every category of news. The same is true of the forum, as well. Being able to assign permissions based on group and category is pretty crucial in a lot of sites, IMO.

Modules that were built on the newer code base of ImpressCMS don't seem to have this feature - or am I wrong? I am also wondering about migrating data - do the modules account for the move from old code base to the new code base, or will I be working out my own data migration?

Also - has anyone gone from 1.2.x to the latest 1.3.x? Are there midpoints that are best handled in steps?

Steve Twitter: @skenow Facebook: Steve Kenow





Re: blank page on 1.3.11 softaculous install from scratch

If you install from your own upload to the host, does it work?

What are you able to see from CPanel/WHM/Plesk? All the files/folders, database?

Steve Twitter: @skenow Facebook: Steve Kenow



blank page on 1.3.11 softaculous install from scratch

I am setting up some sites on my hosting account, and I'm basing them on a softaculous installation. However, I can't seem to get a working install in 1.3.11, I always get a blank page.

The ImpressCMS site is running on a Softaculous install that was upgraded from 1.3.10 to 1.3.11, so that works. But it looks like an install from scratch is problematic.

Can anyone test a softaculous install and let me know?



Re: Helpful git commands

  • 2017/2/23 23:44:14

Thank you very much for the latest updates.



Re: New install V1.3.9

I upgraded that requirement as a sort of security help : PHP 5.6 is the only supported version of PHP 5.x at the moment. Supporting very old versions of PHP is not a good idea security-wise, so I bumped the version requirement to 5.5.

Having said that, I'll need to update the translation variable so that it talks about the correct version of PHP (we're way beyond PHP 5.2+ already).



New install V1.3.9

I just tried to install ICMS 1.3.9 for a new site, I get the following error on step one of the installer:

Quote:

PHP 5.6.0 minimum is required for ImpressCMS to function properly - your installation cannot continue. Please work with your hosting provider to upgrade your environment to a version of PHP that is newer than 5.2.0 (5.2.8 + is recommended) before attempting to install again.



I had PHP 5.4.x on the server, so I recompiled Apache with version 5.5.33 (the latest on offer in WHM) and I still get the same error. Do we really need 5.6?

Edit: Nevermind, I clicked on the help text thing and something got reset and suddenly it recognised 5.5.33, so it's ok.



Re: Helpful git commands

Great! This will make the creation of update packages that much easier. Thank you very much, I'll have a use for this this evening I think



Re: Helpful git commands

I just had to update the sample command - I had an extra parameter in the diff portion and a missing one in the archive portion.

It's all good now - just tested and created my update package.

Steve Twitter: @skenow Facebook: Steve Kenow



New article about Installing ImpressCMS on a VPS

Aaron Stuart just posted a very nice step-by-step article on WebSetNet about how to configure a Linux VPS from scratch in order to run ImpressCMS on it.
The article mentions it is written for Ubuntu 14.04, and if you want to do simple copy-paste of the commands you will need to get that OS on your VPS. However, if you're a bit at home in the Linux world, you should have no problem translating the commands to your specific tools and versions.

If you have this kind of setup routines that you have perfected throughout the years, please share!



Re: Helpful git commands

There is a variant that is all git commands -

git archive -o filename.zip [commit hash new] $(git diff --name-only --diff-filter=ACMRT [commit hash old] [commit hash new])

It will create either a zip or a tar.gz archive, guessing which from the file extension. Or you can specify the type using -format=[type]

http://git-scm.com/docs/git-archive

Here's an example for getting the files changed between the 1.3.8 Final release and the 1.3.9 RC release:
 
git archive -o impresscms-138-139rc.zip 8b451c0 $(git diff --name-only --diff-filter=ACMRT b182a01 8b451c0)

I run this when I'm in my git repository directory for ImpressCMS

Edited Dec 31, 2018 to be able to see the commands

Steve Twitter: @skenow Facebook: Steve Kenow



Re: Helpful git commands

Great contribution Steve, I'll try to integrate this into the Phing build file. Once we have the build file, that should make this kind of issues go away in newer releases I hope.



Helpful git commands

Here's the first one - used it tonight to create the 'upgrade' package for 1.3.x to 1.3.8

Note: I use Ubuntu, so it won't work on a Windows machine!

Z2l0IGRpZmYtdHJlZSAtciAtLW5vLWNvbW1pdC1pZCAtLW5hbWUtb25seSAtLWRpZmYtZmlsdGVyPUFDTVJUIFtvbGQgY29tbWl0IGhhc2hdIFtuZXcgY29tbWl0IGhhc2hdIHwgeGFyZ3MgdGFyIC1jdnpmIGZpbGVuYW1lLnRhci5neg==

Here's how the command breaks down -

Z2l0IGRpZmYtdHJlZSAtciBbb2xkIGNvbW1pdCBoYXNoXSBbbmV3IGNvbW1pdCBoYXNoXQ==

Take a diff of the given commit to the older commit (including all subdirectories, not just the top directory).

LS1uby1jb21taXQtaWQgLS1uYW1lLW9ubHk=

Do not output the commit SHA1. Output only the names of the affected files instead of a full diff.

LS1kaWZmLWZpbHRlcj1BQ01SVA==

Only show files added, copied, modified, renamed or that had their type changed (eg. file → symlink) in this commit. This leaves out deleted files.

fCB4YXJncyB0YXIgLWN2emYgZmlsZW5hbWUudGFyLmd6

Send the output to a tar.gz file. You can also run without this to just get a list, or send to a text file.

Steve Twitter: @skenow Facebook: Steve Kenow



Re: 1.38 installation trouble

I also created a 1.3.x-to-1.3.8 zip file and added to the git release page. Be sure to test it out!

Steve Twitter: @skenow Facebook: Steve Kenow



Re: 1.38 installation trouble

We're still working out the nuances of github, and the link to the source files do not point at the corrected tag for this release. I have updated the release page and attached a proper zip file for this release.

You can download this for a full install https://github.com/ImpressCMS/impresscms/releases/download/v1.3.8/impresscms-1.3.8.zip

Steve Twitter: @skenow Facebook: Steve Kenow



Re: 1.38 installation trouble

Hi larrykh465,

I'll need some more info:
are you updating or installing from scratch
what file did you download?
what is your environment (PHP version, mysql version)?



Re: 1.38 installation trouble

  • 2015/8/27 3:59:44

Totally new newbee here but I am getting the same error,
Fatal error: Interface 'icms_db_IUtility' not found in /home/public/libraries/icms/db/legacy/mysql/Utility.php on line 52
from 1.3.8 that I got from this site on the 27th 1.3.6 popped right in.



Re: ImpressCMS Upgrade 1.3.7 to 1.3.8

  • 2015/8/26 9:59:49

Thanks for the link and the informative notes.




 Top