An installer for CMSimple?

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
Tata
Posts: 3587
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: An installer for CMSimple?

Post by Tata » Tue Aug 02, 2011 7:24 pm

Martin wrote:But I think you are right about the 3rd step: handling file permissions will intimidate unexperienced users.
Absolute +1. I even think it would save a lot of time of the highest skilled ones.
If saw once such script on one of CMSimple-developers such script and tried to use it, but never succeeded. I just remember that there has been advised exactlz the 4-step-way of installation:
1. unzip the installation packet into a local dorectory
2. copy the script into the same directory
3. upload the entire content of this directory to your webspace
4. delete the script from your webspace.
Simlpe sounded it.
So if someone would be willing write such script, then possibly
1. it could be password protected and eventually located in some deeper directory (cmsimple/ ?)
2. it could eventually later be usable repeatedly - e.g. up&there looking for new installed plugins, addons, templates etc. and setting right e.g. for all stylesheets, configs, logs, templates, [data] folders etc.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: An installer for CMSimple?

Post by cmb » Tue Aug 02, 2011 7:35 pm

Hello Tata,

I would really like to have this possibility, but
Tata wrote: 1. unzip the installation packet into a local dorectory
2. copy the script into the same directory
3. upload the entire content of this directory to your webspace
4. delete the script from your webspace.
sounds like sorcery to me! AFAIK at least the script must be executed by any means.

Changing the uploaded file permission by a PHP script might not work, as
php.net wrote: The current user is the user under which PHP runs. It is probably not the same user you use for normal shell or FTP access. The mode can be changed only by user who owns the file on most systems.
:(

So I'm afraid that has to be done by an ftp client. Perhaps a special one ;)

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

Tata
Posts: 3587
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: An installer for CMSimple?

Post by Tata » Tue Aug 02, 2011 9:44 pm

cmb wrote:
php.net wrote: The current user is the user under which PHP runs. It is probably not the same user you use for normal shell or FTP access. The mode can be changed only by user who owns the file on most systems.
Maybe that was the reason, that the script never worked for me :-D. But it was somewhere on some website for sure.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

johnjdoe
Posts: 571
Joined: Tue May 20, 2008 6:32 am

Re: An installer for CMSimple?

Post by johnjdoe » Wed Aug 03, 2011 8:16 pm

I don't know if this is perhaps OT, but ihmo an "upgrader" should be nice. I think especially at the lang files that were be modified by the user and who will be overwritten when updating.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: An installer for CMSimple?

Post by cmb » Wed Aug 03, 2011 9:48 pm

Hello Gerd,
johnjdoe wrote: I don't know if this is perhaps OT, but ihmo an "upgrader" should be nice
IMO that's not OT, and already
Martin wrote: A 1-click-update for existing installations would be great.
and
cmb wrote: + 1
But this could be done by providing update packages at SF, what was already done before. AFAIK an update package for 1.4/1.4.1 -> 1.4.2 will be published soon.

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply