After installing matrix, I cannot seem to find the /_admin login page. Pehaps I just dont know enough to figure this out, so maybe someone could help me? I think its the symlinks i just cant get right.
I have extracted the core files to /matrix directory on my server and in step 3 set path to /home/corvinin/www/di/matrix.
Now in step 5, the site root can be different that the matrix directory right? I have mine set to di.corvininteriors.com/home.
In step 6 i cannot chose the aliases option as I dont have admin privlage to reset apache, so in the symlinks, do I set this to be where i want the site to appear in step 5? /home/corvinin/www/di/home What should this be set to if not this?
Once i get to step 14, my root urls show as this:
SQ_CONF_SYSTEM_ROOT_URLS di.corvininteriors.com/home di.corvininteriors.com/matrix
I have tried editing the data/private/conf/main.inc file with and without trailing slash to no avail.
At the end of it all, with no errors reported i am given this link to log in http://di.corvininteriors.com/home/_admin/ I have again tried with and without trailing slash, as well as other directories than /home/
Can someone tell me what I’ve done wrong??
Could you paste what is in your entire main.inc file? You should only be getting one root url created in the main.inc. Also, is the .htaccess file being created in /home/corvinin/www/di/home? Is it redirecting to the correct location (should be going to /home/corvinin/www/di/matrix)
I read the message of mech.
I had this:
First I had difficulty to start the installer. After a few times extraction and uploading into the server, I finally got it.
At step 4/17 it had problem with PEAR and as it suggested I pealed the pear and left the box blank.
So it eat it and kept going.
later on Instead of Apache alias editing and restarting apache, I picked the symlink option and assigned a directory for the link files to be loaded into.
It kept going…
Some time later
SQ_CONF_SYSTEM_ROOT_URLS www.halalpak.net as URL target.
At the end it said thank you and informed me that installation was completed. Click here to log into admin.
heere link was
www.halalpak.net/_admin
And page is unreachable.
I checked www. halalpak.net to see what comes up.
My older web message. I thought once installation is completed, this text would be replaced and Matrix would run. and then I could have the management of the conent…
So I would like to hear opinion on what is next?
What directory did you symlink to Matrix? If you're still getting the old page at that address, you've either created the symlink in the wrong location or the apache directoryindex is using your old site as preference to the new one.
This is the main.inc file :
<?php
define('SQ_CONF_DB_DSN', 'mysql://corvinin:*******@localhost/disin');
define('SQ_CONF_DB2_DSN', 'mysql://corvinin:*******@localhost/disin');
define('SQ_CONF_PEAR_PATH', '/home/corvinin/www/di/matrix/php_includes');
$inc_dir = ini_get('include_path');
$inc_dir = (substr($inc_dir, 0, 2) == '.:') ? '.:'.SQ_CONF_PEAR_PATH.':'.substr($inc_dir, 2) : SQ_CONF_PEAR_PATH.':'.$inc_dir;
ini_set('include_path', $inc_dir);
define('SQ_CONF_BACKEND_SUFFIX', '_admin');
define('SQ_CONF_LIMBO_SUFFIX', '_edit');
define('SQ_CONF_ASSET_TREE_BASE', 36);
define('SQ_CONF_ASSET_TREE_SIZE', 4);
define('SQ_CONF_ROLLBACK_ENABLED', 0);
define('SQ_CONF_DEBUG', '0');
define('SQ_CONF_SYSTEM_NAME', 'di');
define('SQ_CONF_SYSTEM_OWNER', 'paula');
define('SQ_CONF_SYSTEM_ROOT_URLS', 'di.corvininteriors.com/home
di.corvininteriors.com/matrix');
define('SQ_CONF_DEFAULT_EMAIL', 'mech@mechromation.com');
define('SQ_CONF_TECH_EMAIL', 'mech@mechromation.com');
define('SQ_CONF_MAX_LOGIN_ATTEMPTS', 3);
define('SQ_CONF_MAX_IDLE_TIME', 6000);
define('SQ_CONF_REFRESH_INTERVAL', 120);
define('SQ_CONF_LOCK_LENGTH', 600);
define('SQ_CONF_LOG_FILE', '/home/corvinin/www/di/matrix/data/private/logs/error.log');
ini_set('error_log', '/home/corvinin/www/di/matrix/data/private/logs/error.log');
define('SQ_CONF_LOG_ERRORS', true);
ini_set('log_errors', '1');
define('SQ_CONF_ERRORS_HIDE_FRONTEND', false);
define('SQ_CONF_DEFAULT_FRONTEND_LANGUAGE', 'en');
define('SQ_CONF_DEFAULT_CHARACTER_SET', 'iso-8859-1');
define('SQ_CONF_ALLOW_IP_CHANGE', '0');
?>If there is only supposed to be one, and i want the url /home to be used, then that the only one that should be there correct?
The .htaccess files is being created in home, with what Im guessing is all the proper links as well, but it apperently is not redirecting. Even is if try to go to di.corvininteriors.com/home/index.php its gives a 404 when there is such a file in the /home directory. The .htaccess contains this:
Options +FollowSymLinks
RewriteEngine On
#Set the base uri
RewriteBase /home
#Now do some rules for redirection
#if index, don't redirect (again)
RewriteRule index.php - [L]
#don't redirect double-underscore dirs
RewriteRule __lib - [L]
RewriteRule __data - [L]
RewriteRule __fudge - [L]
#redirect everything else to index.php
RewriteRule (.*) index.php/$1 [L]</pre><br />
I am not sure what this is supposed to have in it, so I dont know what Im missing. :( Thanks for the help on this. Matrix looks great and I cant wait to get in there and have fun with it!
Check your Apache conf to see if it allows overrides. Otherwise, the +FollowSymLinks in the .htaccess file won't work. You need to make sure that AllowOverride all is set for your VirtualHost that will run Matrix.
Here what I did and where I located the symlinks.
I created a directory that I uploaded all extracted Core files.
/home/halalpak/CMS/
When it was time to locate the symlink,
I created another directory under CMS called "links".
So the symlinks
/home/halalpak/CMS/links/
It recalls old page and there is no admin that I can log into.
Thanks for any help…
Nizam
For mech : What symlinks are being created in the /home directory? There should be a link from index.php -> matrix/core/web/index.php, and then several __links that go to other directories inside the matrix installation.
nizamyigit : Where is apache looking for your website? If the CMS/links directory is not web accessible, you won't be able to log in to matrix.
I'm having a similar issue with the __admin link being absent. This is the output from Step 14/17
SQ_SYSTEM_ROOT /var/www/mysource_matrix_3-1-0-RC1
SQ_CONF_DB_DSN mysql://nswos:xxxx@localhost/nswos_matrix
SQ_CONF_DB2_DSN mysql://nswos:xxxx@localhost/nswos_matrix
SQ_CONF_SYSTEM_ROOT_URLS 192.168.110.182/matrix
SQ_INCLUDE_PATH /var/www/mysource_matrix_3-1-0-RC1/core/include
SQ_LIB_PATH /var/www/mysource_matrix_3-1-0-RC1/core/lib
SQ_DATA_PATH /var/www/mysource_matrix_3-1-0-RC1/data
SQ_FUDGE_PATH /var/www/mysource_matrix_3-1-0-RC1/fudge
SQ_PHP_CLI
SQ_CONF_PEAR_PATH /var/www/mysource_matrix_3-1-0-RC1/php_includes
SQ_CONF_ASSET_TREE_BASE 36
SQ_CONF_ASSET_TREE_SIZE 4
SQ_CONF_SYSTEM_NAME NSW Open Source Working Group
SQ_CONF_SYSTEM_OWNER Office of Information and Communications Technology
SQ_CONF_ROLLBACK_ENABLED 1
SQ_CONF_DEFAULT_EMAIL xxxx@babel.com.au
SQ_CONF_TECH_EMAIL xxxx@babel.com.au
SQ_CONF_DEBUG 3
SQ_CONF_LOG_FILE /var/www/mysource_matrix_3-1-0-RC1/data/private/logs/error.logEverything seems to work fine accept for the __admin dir. I'm assuming that this is meant to be a symlink. What should it be linking too?
I also noticed that the .htaccess file, while containing rules for __fudge etc doesn't contain one for __admin.
Regards,
Gold
Actually, no. The _admin (just one underscore) is not an alias… its trapped by the PHP code during run-time. Are you getting a Matrix "URL Not Found" error when you view the URL without the _admin extension?
No. The following URL gives this error;
[quote]Not Found
The requested URL /matrix/_admin/ was not found on this server.
Apache/2.0.46 (Red Hat) Server at 192.168.110.182 Port 80[/quote]
Also, I used symlinks, not aliases in the httpd.conf. (noticed that might make a difference from another post)
Cheers,
Gold
Hitting http://192.168.110.182/matrix/ does give a green mysource error box though;
[quote]MySource Notice
File: [SYSTEM_ROOT]/core/include/mysource.inc Line: 289
Message: URL "192.168.110.182/matrix/index.php" not found[/quote]
Something's wrong with your .htaccess file – there shouldn't be an index.php appended to the URL. Can you post the contents of your .htaccess file?
Options +FollowSymLinks
RewriteEngine On
#Set the base uri
RewriteBase /matrix
#Now do some rules for redirection
#if index, don't redirect (again)
RewriteRule index.php - [L]
#don't redirect double-underscore dirs
RewriteRule __lib - [L]
RewriteRule __data - [L]
RewriteRule __fudge - [L]
#redirect everything else to index.php
RewriteRule (.*) index.php/$1 [L]
I also have links for __lib, __data and __fudge in the matrix dir. These have 2 underscores (as opposed to the missing _admin)
Commenting the index.php rule out didn't seem to alter anything either.
I've got scripts in place to blow the db away and dirs, and prep a clean install. I'll give it another go with the aliasing.
No, that index.php error was okay. did you try http://192.168.110.182/matrix/_admin ?
OK, that seemed to do the trick. Working with the Aliases in the httpd.conf has allowed me access to the matrix/_admin login. 
Not sure why the linking option wasn't allowing things to work though.
Logging in…
WooHoo!
Umm… What's the big blank thing that triggered the request for the JVM?
If you have anything that you'd like me to try to track this down for you just say so.
Thankx Marcus. I installed another smaller engine now. In the mean time I will use that until I have better capability of doing things and than get back to Matrix to make it easy and protect my hair…
Regards
Nizam
The big blank thing would be the asset map
You won't be able to do much without it. I have a sneaky suspicion that there was something wrong with the path you were trying to access matrix through; if you get that warning box saying a certain url can't be found, it means matrix is installed successfully.