hmm... ive tried the root login but i get the error:
Login Key incorrect
user:root
pass:root
is there any way to manually set up a user?
thanks
The user is created during installation – the Login Key error suggests a problem with your configuration. Could you post your main.inc and the VirtualHost block from your Apache httpd.conf file? Usually this is caused by a mismatch between the System Root URL configured in main.inc and Apache's configuration, which prevents Matrix from securely logging a user in.
Also, you can't use the "localhost" alias for Matrix as our security model requires a FQDN. You can use "localhost.localdomain" though.
[quote]The user is created during installation – the Login Key error suggests a problem with your configuration. Could you post your main.inc and the VirtualHost block from your Apache httpd.conf file? Usually this is caused by a mismatch between the System Root URL configured in main.inc and Apache's configuration, which prevents Matrix from securely logging a user in.
Also, you can't use the "localhost" alias for Matrix as our security model requires a FQDN. You can use "localhost.localdomain" though.[/quote]
thanks avi…
here is my main.inc file
[codebox]
<?php
define('SQ_CONF_DB_DSN', 'pgsql://matrix@unix()/mysource_matrix');
define('SQ_CONF_DB2_DSN', 'pgsql://matrix@unix()/mysource_matrix');
define('SQ_CONF_DB3_DSN', 'pgsql://matrix_secondary@unix()/mysource_matrix');
define('SQ_CONF_DBCACHE_DSN', 'pgsql://matrix@unix()/mysource_matrix');
define('SQ_CONF_PEAR_PATH', SQ_SYSTEM_ROOT.'/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_LOGIN_SUFFIX', '_login');
define('SQ_CONF_NOCACHE_SUFFIX', '_nocache');
define('SQ_CONF_ASSET_TREE_BASE', 64);
define('SQ_CONF_ASSET_TREE_SIZE', 4);
define('SQ_CONF_ASSET_CACHE_SIZE_WEB', -1);
define('SQ_CONF_ASSET_CACHE_SIZE_CLI', -1);
define('SQ_CONF_ROLLBACK_ENABLED', '0');
define('SQ_CONF_DEBUG', 0);
define('SQ_CONF_SYSTEM_NAME', 'The System');
define('SQ_CONF_SYSTEM_OWNER', '');
define('SQ_CONF_SYSTEM_ROOT_URLS', '[redacted]matrix.[redacted].com.au');
define('SQ_CONF_SYSTEM_PARENT_DOMAINS', '');
define('SQ_CONF_STATIC_ROOT_URL', '');
define('SQ_CONF_WEB_PATH_SEPARATOR', '');
define('SQ_CONF_STATIC_ROOT_HTTP', true);
define('SQ_CONF_STATIC_ROOT_HTTPS', false);
define('SQ_CONF_DEFAULT_EMAIL', '[redacted]@[redacted].com.au');
define('SQ_CONF_TECH_EMAIL', '[redacted]@[redacted].com.au');
define('SQ_CONF_MAX_LOGIN_ATTEMPTS', 3);
define('SQ_CONF_REFRESH_INTERVAL', 120);
define('SQ_CONF_LOCK_LENGTH', 600);
define('SQ_CONF_ASSET_MAP_ASSET_LIMIT', 50);
define('SQ_CONF_ASSET_MAP_ASSET_DISPLAY_NAME', '%asset_short_name%');
define('SQ_CONF_SEND_CACHEABLE_HEADER', '0');
define('SQ_CONF_SEND_LAST_MODIFIED_HEADER', '0');
define('SQ_CONF_SEND_NOT_MODIFIED_HEADER', '0');
define('SQ_CONF_SEND_NO_CACHE_HEADER', '0');
define('SQ_CONF_SEND_404_CACHEABLE_HEADER', '0');
define('SQ_CONF_ERRORS_HIDE_FRONTEND', false);
define('SQ_CONF_DEFAULT_FRONTEND_LANGUAGE', 'en');
define('SQ_CONF_DEFAULT_BACKEND_LOCALE', 'en_AU');
define('SQ_CONF_DEFAULT_CHARACTER_SET', 'iso-8859-1');
define('SQ_CONF_ALLOW_IP_CHANGE', '0');
define('SQ_CONF_ALLOW_HTTP_LOGIN', '0');
define('SQ_CONF_ENABLE_EXTERNAL_AUTH_SYSTEMS', true);
define('SQ_CONF_HTTP_LOGIN_VAR', 'REMOTE_USER');
define('SQ_CONF_ACCEPT_HTTP_CREDS', '0');
define('SQ_CONF_COMMIT_BUTTON_TEXT', 'Commit');
define('SQ_CONF_LOG_EXTENSION', '.log');
define('SQ_CONF_LOG_FILE_SYSTEM', 'system');
define('SQ_CONF_LOG_FILE_ERROR', 'error');
ini_set('error_log', SQ_LOG_PATH.'/'.SQ_CONF_LOG_FILE_ERROR.SQ_CONF_LOG_EXTENSION);
define('SQ_CONF_LOG_ERRORS', true);
ini_set('log_errors', '1');
define('SQ_CONF_SESSION_GC_MAXLIFETIME', 604800);
ini_set('session.gc_maxlifetime', 604800);
define('SQ_CONF_EDITING_TIME', 3600);
define('SQ_CONF_NUM_DATA_DIRS', 20);
define('SQ_CONF_FORCE_SECURE_LOGIN_URLS', '');
define('SQ_CONF_WEB_MEMORY_LIMIT', 16);
define('SQ_CONF_CRON_MEMORY_LIMIT', 16);
define('SQ_CONF_USE_DEFAULT_SESSION_SAVE_PATH', false);
?>
[/codebox]
and here is the virtual host block from my apache conf:
[codebox]
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin [redacted]@[redacted].com
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
# RedirectMatch ^/$ /apache2-default/
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /home/websites/mysource_matrix/core/web
ServerName [redacted]-matrix.[redacted].com.au
<Directory "/home/websites/mysource_matrix">
Options -Indexes FollowSymLinks
Order deny,allow
Deny from all
</Directory>
<Directory "/home/websites/mysource_matrix/core/web">
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
<Directory "/home/websites/mysource_matrix/core/lib">
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
<Directory "/home/websites/mysource_matrix/data/public">
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
<Directory "/home/websites/mysource_matrix/fudge">
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
Alias "/__data" "/home/websites/mysource_matrix/data/public"
Alias "/__lib" "/home/websites/mysource_matrix/core/lib"
Alias "/__fudge" "/home/websites/mysource_matrix/fudge"
Alias "/" "/home/websites/mysource_matrix/core/web/index.php/"
</VirtualHost>
[/codebox]
thanks for all the help so far as well…
: ]
Interesting. That all looks fine. Are you using the same URL with /admin as your System Root URL to login? Also, can you check if sess* files are being created in the cache/ directory? Perhaps the webserver process is unable to write session files properly.
aha...
thanks again avi...
yes i changed the URL from having _ to having - in the name...
changed it back and now ive logged in...
tanks...
Can you log this as a bug, please?