How to install new module

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
askme

How to install new module

Post by askme »

I want to install new module guest book to my CMSMadeSimple. How can I do that. Is there any auto installation like CMSMadeSimple installation. And how I know that I have installed it correctly. Please guide.
westis

Re: How to install new module

Post by westis »

1. Download the module from the CMSMS Forge in zip or tar format.

2. Unzip/untar

3. Upload the unpacked files (they should be in a dir with the module name) to the /modules directory, so that the new module is in a sub-directory to the modules dir

4. Make sure that the name of the directory is EXACTLY the same as the module name in the module file (for example gastbuch.module.php). It's case sensitive, so make sure it's the right upper or lower case too.

5. Go to Extensions -> Modules in the Admin Panel and click Install next to the new module that should appear in the modules list. Or if you have uploaded files of a newer version of a module that you already had installed, then that link may say "Upgrade" instead.

I think the Gastbuch module may not unpack into a gastbuch dir. Then you will have to create that dir as a sub-dir to /modules and then upload the files into that new dir.

Hope that's clear enough, I just wrote this down very quickly now... :-)
hurrells

Re: How to install new module

Post by hurrells »

Hello.

CMS 0.11.2 (latest) with
Calendar-0.7alpha2.zip

I have followed the module instructions to the letter and the dirs _exactly match_ the filename. See:

Code: Select all

cms# ls -lat modules/Calendar/
total 77
drwxr-xr-x  4 www-data www-data  1024 Feb  7 17:32 .
drwxr-xr-x  7 www-data www-data  1024 Feb  7 17:32 ..
drwxr-xr-x  2 www-data www-data  1024 Feb  7 17:32 images
drwxr-xr-x  2 www-data www-data  1024 Feb  7 17:32 lang
-rw-r--r--  1 www-data www-data  1491 Nov  5 17:17 calendar_example.css
-rw-r--r--  1 www-data www-data 71369 Nov  5 17:17 Calendar.module.php
-rw-r--r--  1 www-data www-data     0 Nov  4 13:43 index.html
Is there any way to debug what ./cms/moduleinterface.php is doing?

Thank You
Stephen

hurrells

Re: How to install new module

Post by hurrells »

OK. What a mistake ;-)

I completely copied the CMSsimple site from on server to another and in DNS (eg: test.domain.com to www.domain.com) by tarring the site, mysqldumping the db and so on. So the modules in the www site
where still updating the old test site DB or something. I did not change the config or DB parameters or
values. LoL.
Locked

Return to “[locked] Installation, Setup and Upgrade”