Page 1 of 1

Failed install 1.0 Beta 2

Posted: Sat Jul 29, 2006 3:58 pm
by franksmith
I have tried a clean install and only get this far (I thought I'd have a go seeing I'm an inexperienced idot)
any help always appreciated

Checking if session.save_path is set and writable

session.save_path("/php_temp") is not writable. Not having this as writable disallows any logins to the admin panel. Please adjust before continuing..

[attachment deleted by admin]

Re: Failed install 1.0 Beta 2

Posted: Sat Jul 29, 2006 8:35 pm
by Defix
Same in here (session.save_path("/xxx") is not writable.)

My server service provider says: Be Security reason unallowed to use this catalog, use another!??
How, I can't change their php settings!!! :-[
Maybe I can make some changes in CMSMS 1.02 beta installation fail or elsewhere?

Re: Failed install 1.0 Beta 2

Posted: Sat Jul 29, 2006 10:28 pm
by Elijah Lofgren
You can disable the session_save path writable check by doing this:
1. Open install/install.php
2. Find this:

Code: Select all

	  echo '<br /><br /><em>session.save_path("'.session_save_path().'") is not writable. Not having this as writable disallows any logins to the admin panel.  Please adjust before continuing..</em>';
	  echo '</td><td class="col2"><img src="../images/cms/install/false.gif" alt="Failure" height="16" width="16" border="0" />';
	  $continueon = false;
3. Change this line:

Code: Select all

	  $continueon = false;
to:

Code: Select all

	  $continueon = true;
4. That section should now look like this:

Code: Select all

	  echo '<br /><br /><em>session.save_path("'.session_save_path().'") is not writable. Not having this as writable disallows any logins to the admin panel.  Please adjust before continuing..</em>';
	  echo '</td><td class="col2"><img src="../images/cms/install/false.gif" alt="Failure" height="16" width="16" border="0" />';
	  $continueon = true;

You should then be able to install CMSMS. Please report whether logging into the Admin Panel works or not after doing this. If it does we can prevent the check from blocking the install. If it does not work, we'll need to change how the logins work.

Please let us know how it goes.

Thanks,

Elijah

Re: Failed install 1.0 Beta 2

Posted: Sat Jul 29, 2006 10:54 pm
by franksmith
I disabled the code just minutes before your post and it seems to have installed fawlesly.

I do appear to have entries in the administrators log.

I can't tell you how impressed I am at CMSMS - Well done!  you all deserve somewhat more than a beer!!!

I looked at 5 different systems, settled on CMSMS (recommended by my son) and we are just about ready with 3 sites - its just FANTASTIC  WELL DONE!!!

Re: Failed install 1.0 Beta 2

Posted: Sun Jul 30, 2006 12:15 am
by Elijah Lofgren
franksmith wrote: I disabled the code just minutes before your post and it seems to have installed fawlesly.

I do appear to have entries in the administrators log.
Since it worked for you, I have made the check optional:
http://viewsvn.cmsmadesimple.org/viewsv ... 1&view=rev

This change will be in CMSMS 1.0 beta3 which I think will be released early next week.
franksmith wrote: I looked at 5 different systems, settled on CMSMS (recommended by my son) and we are just about ready with 3 sites - its just FANTASTIC  WELL DONE!!!
Glad you enjoy it. I'm so glad that I found CMSMS a few months ago. It's been fun working on it and modules for it.

Re: Failed install 1.0 Beta 2

Posted: Mon Jul 31, 2006 3:04 pm
by tristan
Same here and the permissions to my /tmp folder (as set in php.ini) are:

drwxrwxrwt    2 root root  4096 2006-07-31 16:59 tmp

There are a lot of files owned by the webserver (php sessions) in there as well so maybe there's something wrong with the way Beta 2 checks the session save path?

Re: Failed install 1.0 Beta 2

Posted: Tue Aug 01, 2006 7:47 pm
by Elijah Lofgren
tristan wrote: Same here and the permissions to my /tmp folder (as set in php.ini) are:

drwxrwxrwt    2 root root  4096 2006-07-31 16:59 tmp

There are a lot of files owned by the webserver (php sessions) in there as well so maybe there's something wrong with the way Beta 2 checks the session save path?
Please test with CMSMS 1.0 beta3 and let us know if you still have problems. I may need to change the check for the existance of session_save_path to be optional also.

You can download it here: http://dev.cmsmadesimple.org/frs/?group ... ase_id=554

Re: Failed install 1.0 Beta 2

Posted: Wed Aug 02, 2006 9:21 am
by tristan
Elijah Lofgren wrote:
tristan wrote: Same here and the permissions to my /tmp folder (as set in php.ini) are:

drwxrwxrwt    2 root root   4096 2006-07-31 16:59 tmp

There are a lot of files owned by the webserver (php sessions) in there as well so maybe there's something wrong with the way Beta 2 checks the session save path?
Please test with CMSMS 1.0 beta3 and let us know if you still have problems. I may need to change the check for the existance of session_save_path to be optional also.

You can download it here: http://dev.cmsmadesimple.org/frs/?group ... ase_id=554
Yes that solved the problem, still a warning about it though, saying it's not writeable although you can clearly see it is. I also have some troubles with the module manager btw, if I try to download a new module I get:

Code: Select all

Error!

Could not create a file (permissions problem?) /home/tristan/domains/ilovecheaplabour.com/public_html/modules/FormBuilder/templates/RenderFormTableTitleTop.tpl
Same problem if I try to upload a module via XML file directly. A new dir for the module does get created though:

drwxrwxrwx  11 tristan tristan 4096 2006-08-02 10:59 .
drwxr-x---  10 tristan apache  4096 2006-08-02 10:59 ..
drwxr-xr-x   5 tristan tristan 4096 2006-07-31 18:36 CMSMailer
drwxr-xr-x   5 tristan tristan 4096 2006-07-31 18:36 FCKeditorX
drwxr-xr-x   2 apache  apache  4096 2006-08-02 10:59 FormBuilder
..etc

but the dir itself stays empty. The modules dir has the same permissions (777) as the uploads dir and uploading files or images works like a charm, any ideas here?