Installation of 3.6.0

With the inroduction of Matrix version 3.6.0 I notice that the web based installer does not install it
"Note: the web based installer does not currently install version 3.6.0 of MySource Matrix. Please use the web based installer for version 3.4.x only." and by the virtue that I have tried.



That said, I also tried the php cli install method which I did - after a long struggle, managed to get version 3.4.4 to work. Howevre in the 3.4.4 version step01.php has a few lines to instruct on settings for SQ_CONF_DB_DSN', SQ_CONF_DB2_DSN, SQ_CONF_SYSTEM_ROOT_URLS', SQ_CONF_DEFAULT_EMAIL and SQ_CONF_TECH_EMAIL.



This does not seem to be the case in 3.6.0 - can anyone answer where these values can be entered to then run the step01, 02 and 03 (and the required php install/compile_locale.php . --locale=en_AU) and indeed if all the variable names are the same. This should then be a relatively painless exercise from there?



When will the Web Install be available (hopefully resolve the many many Pear Resoltion problems that people seem to have had on older versions)?

Step_01.php will create the main.inc for you in data/private/conf/main.inc – once that's created you can modify the configuration (exactly like v3.4).


The process is:



Run step_01.php

Edit data/private/conf/main.inc and enter BOTH DSNs and a System Root URL.

Run step_02.php

Run compile_locales.php

Run step_03.php

Run compile_locales.php (again).

I editted file, added dsn and dsn2 and changed

define('SQ_CONF_SYSTEM_NAME', 'yourgite');

define('SQ_CONF_SYSTEM_OWNER', 'clifford');

define('SQ_CONF_SYSTEM_ROOT_URLS', 'xxx.com/matrix36');

define('SQ_CONF_DEFAULT_EMAIL', 'matrix36@xxx.com');

define('SQ_CONF_TECH_EMAIL', 'matrix36@xxx.com');



Leaving all changed in same place in file but it throws up:

Fatal error: You need to supply the path to the System Root as the first argument

in /srv/www/htdocs/matrix36/install/step_02.php on line 55

Sorry, my bad. I didn't list the command line parameters in my example above:

    $ cd /path/to/mysource_matrix
    $ php install/step_02.php ./
    $ php install/compile_locale.php ./ --locale=en
    $ php install/step_03.php ./
    $ php install/compile_locale.php ./ --locale=en


Each script takes the path to the SYSTEM_ROOT as the first parameter (which could be a . or a ./ or even /path/to/matrix). The compile_locale script can take an optional second parameter to specify the languge you wish to compile.

[quote]Sorry, my bad. I didn't list the command line parameters in my example above:

    $ cd /path/to/mysource_matrix
    $ php install/step_02.php ./
    $ php install/compile_locale.php ./ --locale=en
    $ php install/step_03.php ./
    $ php install/compile_locale.php ./ --locale=en
[/quote]

Yep many thanks that seems to have done it. I did have to run a chmod -R 777 . and a chnown -R root:users . to get rid of the permission error. Also remembered that root is default username an password - so now in and ready to investigate.



Do you happen to know if there are major chages from 3.4 that the documentation will not cover? I ask because the downloadable docs do not cover this 3.6.0 install yet - would you hazzard a guess when it will be avilable?

The v3.6 documentation is currently being edited and checked, so it shouldn't be too far off. You'll want to check the CHANGELOG document in the docs/ directory of your installation for a list of all the changes from v3.4. There are LOTS of them. :slight_smile:

Was just looking through the document folder in the zip archive.


Notice that the install.txt does not reflect the instructions you have given above so I would suggest that in furture or even may now, edit it accordingly to reflect the changes required to the "Edit data/private/conf/main.inc and enter BOTH DSNs and a System Root URL."

Thanks for the tip. :slight_smile:

Does anyone know the syntax for SQ_CONF_DB_DSN in main.inc for an oracle database? Oracle is located on a separate server with a client on the local system. I've been trying all sorts of patterns like:


oci8://user:pass@localhost/dbname

oci8://user:pass@unix()/dbname

oci8://user:pass@oraclehost/dbname



I'm stabbing in the dark. Any help gleefully accepted!!



Cheers,

Lyn

[quote]Does anyone know the syntax for SQ_CONF_DB_DSN in main.inc for an oracle database? 
[right][post=“6819”]<{POST_SNAPBACK}>[/post][/right][/quote]



You will need to speak to your Oracle DBA and your Server Admins to determine if tnsnames.ora has been configured correctly on the webserver (along with critical environment variables like ORACLE_HOME and ORACLE_SID).



Oh my RHEL4 system, my DSN to connect to my Oracle server looks like:


    define('SQ_CONF_DB_DSN', 'oci8://user:password@(
                DESCRIPTION=(
                              ADDRESS_LIST=(
                                            ADDRESS=(PROTOCOL=TCP)
                                            (HOST=oracle.server.com)
                                            (PORT=1521))
                            )
                            (CONNECT_DATA=(SID=ORACLE_SID)
                            (SERVER=DEDICATED))
                )');


Hope that helps.

[quote]You will need to speak to your Oracle DBA and your Server Admins to determine if tnsnames.ora has been configured correctly on the webserver (along with critical environment variables like ORACLE_HOME and ORACLE_SID).


Oh my RHEL4 system, my DSN to connect to my Oracle server looks like:


    define('SQ_CONF_DB_DSN', 'oci8://user:password@(
                DESCRIPTION=(
                              ADDRESS_LIST=(
                                            ADDRESS=(PROTOCOL=TCP)
                                            (HOST=oracle.server.com)
                                            (PORT=1521))
                            )
                            (CONNECT_DATA=(SID=ORACLE_SID)
                            (SERVER=DEDICATED))
                )');


Hope that helps.
[right][post="6820"]<{POST_SNAPBACK}>[/post][/right][/quote]

Yes thanks it did. We now have 3.6.0 installed however whenever I attempt to add any assets I receive the following php error:

    PHP Notice
    Only variable references should be returned by reference.


Another error received when attempting to create a standard page:

    PHP Notice
    Only variables should be assigned by reference.

Has anyone seen this before / has any idea how to fix?

Thanks,
Sarah

Sounds like you have PHP5 installed. You need to downgrade to PHP 4.3.x.

[quote]Sounds like you have PHP5 installed. You need to downgrade to PHP 4.3.x.
[right][post=“6825”]<{POST_SNAPBACK}>[/post][/right][/quote]



No we have 4.4.0

There are still issues with 4.4.x – Matrix is only tested to run on PHP 4.3.x.

Yeah, thats a well known 4.4.0 BC break. We havnt upgraded the source code to stop those errors from occuring on 4.4.0 yet.

Thanks - we've downgraded to 4.3.x

Hi,


I always get this error:



MySource Notice

URL “bbarg.mine.nu” not found [SYS0218]



I followed the installation steps 1 to 3 as in http://forums.matrix.squiz.net/index.php?showtopic=21 with no errors. But going to http://forums.matrix.squiz.net/index.php?showtopic=21 produces the above error.



I use PHP 4.3.9 and PostgreSQL 8.0.3

That’s correct – it actually means you’ve installed Matrix correctly. You now have to go to the Administration Interface (add /_admin to the end of the URL) and create a site.


Here is a Quick Start Guide to get you started.