Modulemanager in CMSMS 1.4.1 and adding modules error report

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
rincewind
New Member
New Member
Posts: 8
Joined: Thu Jul 26, 2007 9:09 am

Modulemanager in CMSMS 1.4.1 and adding modules error report

Post by rincewind »

Hello,

I've been running CMSMS for a while now on a few sites and "realy enjoyed" it..=)

Yesterday I set up a new CMSMS 1.4.1 on a local server and everything went well.
Then I launched the admin and tried the module manager.
I tied to install (download and install) Articles module, and it failed with the error:
Error!

Could not create a file (permissions problem?) /home/sites/***.****.****.se/web/modules/Articles/tools.js
If I go to my module directory is says on a ls -la
jon modules # ls -la
total 76
drwxrwxrwx 18 apache apache 4096 Sep 16 09:50 .
drwxr-xr-x 10 apache apache 4096 Sep 15 09:49 ..
d---------  2 apache apache 4096 Sep 16 09:50 Articles
drwxrwxrwx  5 apache apache 4096 Sep 15 07:37 CMSMailer
drwxrwxrwx  7 apache apache 4096 Sep 15 07:37 FileManager
drwxrwxrwx  5 apache apache 4096 Sep 15 07:37 MenuManager
drwxrwxrwx  5 apache apache 4096 Sep 15 07:36 ModuleManager
drwxrwxrwx  4 apache apache 4096 Sep 15 07:37 News
drwxrwxrwx  6 apache apache 4096 Sep 15 07:37 Printing
drwxrwxrwx  4 apache apache 4096 Sep 15 07:37 Search
drwxrwxrwx  4 apache apache 4096 Sep 15 07:37 ThemeManager
drwxrwxrwx  6 apache apache 4096 Sep 15 07:37 TinyMCE
-rwxrwxrwx  1 apache apache  27 Aug  9 16:58 index.html
drwxrwxrwx  4 apache apache 4096 Sep 15 07:37 nuSOAP
jon modules #
As you can se the Atricles directoy looks wrong.
The same is happening on other CMSMS sites that I've upgraded to 1.4.1 and no other modules can be installed with the same error or a checksum error.

The php version I'm running is:
jon modules # php -v
PHP 5.2.6-pl6-gentoo (cli) (built: Aug  8 2008 08:16:52)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
jon modules #
In SiteAdmin -> Global Settings -> File Creation Mask (umask) is set to: 0777


This only happens on the 1.4.1 sites and not the old 1.3.1 sites..

Thankful for a reply to solve this problem
Regardz,
-- Rincewind
alby

Re: Modulemanager in CMSMS 1.4.1 and adding modules error report

Post by alby »

rincewind wrote: In SiteAdmin -> Global Settings -> File Creation Mask (umask) is set to: 0777
Maybe is better 022  :)
It's umask and not permission

Alby
rincewind
New Member
New Member
Posts: 8
Joined: Thu Jul 26, 2007 9:09 am

Re: Modulemanager in CMSMS 1.4.1 and adding modules error report

Post by rincewind »

Thanks Alby...!! That helped.. Now some of the modules can be installed..

Yet some (for instance the comments module), get this problem:
Error!

Checksum error. This probably indicates a corrupt file, either when it was uploaded to the repository, or a problem in transit down to your machine.
expected: 355b4744c290eac4ce75d4a67a5e2bf0 and got fb45d41c44f940658897f19edabc5971
alby

Re: Modulemanager in CMSMS 1.4.1 and adding modules error report

Post by alby »

rincewind wrote: Checksum error. This probably indicates a corrupt file, either when it was uploaded to the repository, or a problem in transit down to your machine.
If it's new install try to remove and re-upload (or re-download) whole module
If it's already present try to overwrite files with FTP transfer

Alby
Last edited by alby on Tue Sep 16, 2008 11:07 am, edited 1 time in total.
titob
New Member
New Member
Posts: 2
Joined: Wed Nov 05, 2008 3:47 pm

Re: Modulemanager in CMSMS 1.4.1 and adding modules error report

Post by titob »

Hello rincewind, I was having your same problem until I discovered this bug: http://bugs.php.net/bug.php?id=42739
Here is a patch that works for me: http://forum.cmsmadesimple.org/index.ph ... 305.0.html
Post Reply

Return to “CMSMS Core”