Step 15: Currently using session from installer

Hi


i'm falling at the last hurdle of the web based installer here - i got my Pear modules, permissions and MySql apparantly going properly but i'm stuck at step 15 where it just gives me the following error:


[quote]Matrix system not successfully loaded, you will have to delete and reinstall MySource Matrix. Currently using session from installer[/quote]



there's no files getting generated in data/private/conf.



i've removed and reloaded all the files a couple of times



can't really do a CLI as i've no telnet access.



any pointers? i can't bear to give up at this point where I must be so close



thx

Sorry - this isn't to add help, merely to confirm that I have the self-same problem. The same error message, and no files output to data/private/conf. I have set the permissions correctly on the mysource-matrix folders (data, cache and below).


I also had (possibly related) difficulty creating symlinks - the following errors were generated:


    Warning: mkdir(): No such file or directory in /h..[path to web root]../domain.com/mysource_matrix_3-2-1/fudge/general/file_system.inc on line 267


    Warning: Unable to create directory: / in /h..[path to web root]../domain.com/mysource_matrix_3-2-1/fudge/general/file_system.inc on line 268


When I looked at the code for this it seemed that the process had attempted to create the root directory, as it starts from the base and works out.

Is there any light to be shed on this issue?

Thanks,
JT

Are you running with either open_basedir or safe_mode running?

open_basedir is on, but I don't think safe_mode is.

If open_basedir is in effect, the current absolute path I specified for matrix won't work. Is there a way I can specify a path relative to my root directory? Will matrix work at all if open_basedir is on?


Thanks for your help so far,

JT

I'll have to get avi to answer this one for you; I've tried installing in an open_basedir / safe_mode environment and it breaks when trying to do exactly what you're describing, as one of the restrictions is that the owner of the file/dir being accessed must match the user running the script, otherwise it fails.

AFAIK, with open_basedir active, the user that Apache runs as (or the Suexec user, if applicable) must own ALL the directories from the mysource_matrix website down. The permissions on the directories need to be 755, or else suexec will complain. The PHP file must be set to 755 as well.


I haven't done extensive testing with open_basedir restrictions, so there may be other issues with Matrix's file versioning system as well.

OK - so can matrix work in an open_basedir environment? I don't think my hosting vendor will remove that restriction.


Matrix is one of the slickest CMS systems that I've seen, and I'd hate to have to abandon it now :frowning:

You may be able to use the CLI-based install method and some manual configuration (creating the symlinks and .htaccess file) to get Matrix to install. Once its installed, I believe Matrix works fine with an open_basedir restriction. I have a copy of Matrix running on a shared host with both safe_mode and open_basedir enabled, but I installed it manually.