Page 1 of 2

Modules that only have XML files.

Posted: Tue Sep 12, 2006 4:15 pm
by tswpn
I think that every mod should have a .tar.gz or zip file instead of just a xml file like some have, because for some reason I can't install mods from xml files, so it would be helpful if every mod had to have a .zip or .tar.gz file as well as an xml file.

Re: Modules that only have XML files.

Posted: Tue Sep 12, 2006 4:53 pm
by tsw
I agree to some point, its up to module devs to release those files as they like. but I really like tar.gz better (I like shell better than X also ;)

what problems do you have with installing .xml modules?

Re: Modules that only have XML files.

Posted: Wed Sep 13, 2006 3:33 pm
by tswpn
Look at this post by me (same problem with 1.0 stable and same type of error with all modules installed via xml) to see my problem.

Re: Modules that only have XML files.

Posted: Wed Sep 13, 2006 4:35 pm
by calguy1000
With the 1.0 series XML distribution is the preferred method, as it prevents many problems with ftp clients, permissions, and things like that, and also with installing and incompatible module.  And believe me we encounter ALL of those problems.

The XML method helps solve this problem.

Re: Modules that only have XML files.

Posted: Thu Sep 14, 2006 3:32 pm
by tswpn
calguy1000 wrote: With the 1.0 series XML distribution is the preferred method, as it prevents many problems with ftp clients, permissions, and things like that, and also with installing and incompatible module.   And believe me we encounter ALL of those problems.

The XML method helps solve this problem.
But I dosn't always solve the problem, as I have pointed out!

Re: Modules that only have XML files.

Posted: Thu Sep 14, 2006 4:19 pm
by Piratos
I am not a friend of this xml technic with cmsms.
some writers using the source as a example and with xml i can see only the encrypted shit.

and  the file is 4 ..5 times greater as a zip.

Other opensource systems has only zip or gz and can do that all.

------------------------
So tell me why there is no xml file shown with the modulemanager and 1.0.

Re: Modules that only have XML files.

Posted: Thu Sep 14, 2006 5:26 pm
by cyberman
Piratos wrote: Other opensource systems has only zip or gz and can do that all.
Think too it would be better to merge xml and zip to module.xml.gz for ModuleManager.

Re: Modules that only have XML files.

Posted: Thu Sep 14, 2006 6:58 pm
by calguy1000
Piratos wrote: I am not a friend of this xml technic with cmsms.
some writers using the source as a example and with xml i can see only the encrypted shit.

and  the file is 4 ..5 times greater as a zip.

Other opensource systems has only zip or gz and can do that all.
Most web servers, and browsers enable inline compression using gzip, so having a blah.xml.gz wouldn't buy much except reduce some disk space on the module repository side.

and the xml file only has encoded the source, it is decoded and stored as regular php files once it's installed, and the xml file can go away.  Then you can look at the source all you want for learning how to do things.
------------------------
So tell me why there is no xml file shown with the modulemanager and 1.0.

I'm not sure, check your logs, and view the source of the page for any errors.  If there's anything to be fixed, I'd like to get it done as soon as possible.

Re: Modules that only have XML files.

Posted: Thu Sep 14, 2006 7:27 pm
by mahjong
So tell me why there is no xml file shown with the modulemanager and 1.0.
The Module Manager takes too much time to download the list of XML modules. If the user has a slightly slow connexion, the script times out, and the error message gets hidden under the tab bottom because of the javascript.

Code: Select all

Fatal error: Maximum execution time of 60 seconds exceeded in \modules\nuSOAP\classes\nusoap.php on line 2650

Re: Modules that only have XML files.

Posted: Thu Sep 14, 2006 7:44 pm
by calguy1000
okay, there are some things I can do down the road to help with that, but unfortunately not much....esp if you can't override the max execution time, etc. it'll always be a problem, especially as the list of modules grows.

There is always the old way of downloading the xml files directly from the forge, and then uploading them in the modules page.

Re: Modules that only have XML files.

Posted: Fri Sep 15, 2006 8:34 am
by Piratos
Maximum execution time of 60 seconds
I have not this problem.

The MM works without any errormessage some times and at the end nothing is shown.

Re: Modules that only have XML files.

Posted: Fri Sep 15, 2006 8:43 am
by nonty
Those of us that runs in a hosted environment where the provider will not turn on suEXEC in the apache installation have serious problems with the XML files.

I use the permissions 2777 for the 5 directories that needs public write access cmsms including the modules directory, but that only means that the new files and directories will still be owned by httpd (which appache in my case). This makes it rather difficult to manage the installed modules afterwards. E.g. the FeedbackForm module has a directory (correctly named output) that can get the output from forms... but with umask=012 this directory is not writable and further I cannot make it writable short of writing and executing a small .php file...

[The very same problem is seen in the image manager and the file manager.]

We need a solid solution to "the create new file" process before the XML files are the only distribution media.

Re: Modules that only have XML files.

Posted: Fri Sep 15, 2006 9:03 am
by Piratos
stored as regular php files once it's installed
i know that but i will not install all  the modules only to show the source.

Re: Modules that only have XML files.

Posted: Fri Sep 15, 2006 1:11 pm
by calguy1000
well then you still have choices, you can go to the forge and either download the daily tarballs (though I'm not sure if they're working or not), or check out the modules from svn, or you can even browse them from the viewcvs in the forge.  there's still alot of choices just to 'look at the source'

Re: Modules that only have XML files.

Posted: Fri Sep 15, 2006 4:12 pm
by cyberman
calguy1000 wrote: either download the daily tarballs (though I'm not sure if they're working or not),
Does not work  :( ... tried often.