Can't install modules via XML

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
Evert B.
Power Poster
Power Poster
Posts: 414
Joined: Fri Oct 20, 2006 12:07 pm

Can't install modules via XML

Post by Evert B. »

Hello,

I do not seem to be able to install a module via the XML file. And some modules only have a XML file so it would be great if someone could help me out.

For example:
I download the XML file from the forge of modele 'Cataloger'
I go to admin, browse to the file and try to install. The next message comes up:

Code: Select all

Could not create a file (permissions problem?) /usr/home/xxxxxxxxl/public_html/modules/Cataloger/templates/templatelist.tpl (Troubleshooting)
Who knows what to do to sort this out?

Please note that I have set all needed permissions to 777 using FileZilla, and I use the latest version of CMSMS.

Thanks and regards,

Nucleus
Evert B.
Power Poster
Power Poster
Posts: 414
Joined: Fri Oct 20, 2006 12:07 pm

Re: Can't install modules via XML

Post by Evert B. »

Somebody please?
I am kind of stuck right now.....

Or is there some way to avoind the XML way (even when there is only a XML file to download)?

Thanks,  Nuc
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Can't install modules via XML

Post by Dr.CSS »

Have you changed the "File Creation Mask (umask):" in Site Admin » Global Settings?

I wonder why so many people have trouble with this?

Latest ver. attached as .zip... NOTE: remove the .txt to get it as .zip

[gelöscht durch Administrator]
Evert B.
Power Poster
Power Poster
Posts: 414
Joined: Fri Oct 20, 2006 12:07 pm

Re: Can't install modules via XML

Post by Evert B. »

Mark,

Thanks for your reply.
It requested a clear moment in my mind before I understood what you ment. But it sais 022 in the umask field. Is this correct, or where can I find the right settings?

Thanks and regards,

Nuc
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Can't install modules via XML

Post by Dr.CSS »

I delete everything out of "File Creation Mask (umask):" or all 000's
Evert B.
Power Poster
Power Poster
Posts: 414
Joined: Fri Oct 20, 2006 12:07 pm

Re: Can't install modules via XML

Post by Evert B. »

Thanks for help but unfortunately it does not seem to help. I still receive the same error:

Code: Select all

Could not create a file (permissions problem?) /usr/home/---------/public_html/modules/Cataloger/templates/templatelist.tpl (Troubleshooting)
Is there another tip? I should say other might have experienced a problem like this?

Thanks,

Nuc
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Can't install modules via XML

Post by Dr.CSS »

Isn't the word troubleshooting a link to see what happened?

ataloger/templates/templatelist.tpl (Troubleshooting)
Evert B.
Power Poster
Power Poster
Posts: 414
Joined: Fri Oct 20, 2006 12:07 pm

Re: Can't install modules via XML

Post by Evert B. »

Yes that's true, and of coarse I have tried that. It leads to the following page:
http://wiki.cmsmadesimple.org/index.php ... leshooting

Of coarse I have set the permissions right, using FileZilla (but I'm sure the used program will not be responsible for the issue?).

:'( What can I do ?

Thanks and regards,

Nuc
Last edited by Evert B. on Tue Nov 14, 2006 7:18 am, edited 1 time in total.
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Can't install modules via XML

Post by Dee »

Somehow the webserver isn't allowed to write the module files (or folder), so a permission problem still exists.
Check permission on the modules folder itself. When apache has write access to the modules folder, installing a new module using XML should work fine. When you're upgrading a module, apache should be able to (over)write the contents of the module folder, so you should change permissions on the module folder and all of its content (in that case it is probably easier to simply delete the complete module directory and do a new install using XML).
To bypass XML installs on your site you can use a (local/development) CMS Made Simple install (running on XAMPP for example).
Install the modules using XML there and then upload the extracted files to your production site.

Regards,
D
Post Reply

Return to “CMSMS Core”