?
avatar alex7r
alex7r
1 Jan 2017

Steps to reproduce the issue

Setup multi-language site (option hide default language is enabled, sef + rewriting is enabled)
go to administrator,
try to login

Expected result

Successful login

Actual result

Nothing happens, even no error message.
Caused by token check, and somehow session token is not matching.

Additional comments

May be related with cookie settings or something?
Deployed site with akeeba kickstart.

avatar alex7r alex7r - open - 1 Jan 2017
avatar joomla-cms-bot joomla-cms-bot - change - 1 Jan 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 1 Jan 2017
avatar zero-24
zero-24 - comment - 1 Jan 2017

Deployed site with akeeba kickstart.

Can this be reproduced with a clean install of staging / 3.7.0alpha? A site that comes from everything else than the normal installer is no clean install ;)

avatar zero-24
zero-24 - comment - 1 Jan 2017

And which exact version is that you handle. stable or alpha or staging?

avatar alex7r
alex7r - comment - 1 Jan 2017

It was clear install before that, on local machine.
Full path:
Clear install on local [3.6.4] | Working
Kickstart akeeba`s backup on server [3.6.4] | Working
Update to 3.6.5 [3.6.5] | Not working
Tried to clear session data - there was issue before with previous Joomla! patch, don't remember which it was | Not working

avatar zero-24
zero-24 - comment - 2 Jan 2017

hmm that would mean something is changed between 3.6.4 and 3.6.5
https://github.com/joomla/joomla-cms/compare/3.6.4...3.6.5?expand=1

But I can't see any change that can cause such issue :(

Can you reproduce this issue using a clean install of 3.6.5? And an update from 3.6.4 -> 3.6.5 (without akeeba)

avatar alex7r
alex7r - comment - 2 Jan 2017

I'll check and will get back with results within 2 days.

avatar PhilETaylor
PhilETaylor - comment - 2 Jan 2017

What exact PHP versions? some session changes have been made in PHP 7.1

avatar alex7r
alex7r - comment - 3 Jan 2017

@PhilETaylor PHP 7.0 on both installations.
Also could PHP version even be a reason? I mean there was no PHP version update between working/not working moment.

avatar mbabker
mbabker - comment - 3 Jan 2017

If it were PHP 7.1, yes that could be related as there were a few session RFCs that passed and merged to that branch. Otherwise after the changes in 5.4 the PHP session extension hadn't changed much.

And FWIW we have this same configuration on https://downloads.joomla.org and from what I can see there has been no issue with it.

avatar PhilETaylor
PhilETaylor - comment - 3 Jan 2017

PHP 7.1 session changes (along with Redis as a SaveHandler) has wasted my last 2 days ... I know lots more about sessions as a result :-(

Do you have any values in your configuration.php for the cookie domain and path?

avatar alex7r
alex7r - comment - 3 Jan 2017
class JConfig {
	public $MetaAuthor = '1';
	public $MetaDesc = '***';
	public $MetaKeys = 'joomla, Joomla';
	public $MetaRights = '';
	public $MetaTitle = '1';
	public $MetaVersion = '0';
	public $access = '1';
	public $cache_handler = 'file';
	public $cachetime = '15';
	public $caching = '0';
	public $captcha = '0';
	public $cookie_domain = '.';
	public $cookie_path = '/';
	public $db = '***';
	public $dbprefix = '***';
	public $dbtype = 'mysqli';
	public $debug = '0';
	public $debug_lang = '0';
	public $display_offline_message = '1';
	public $editor = 'tinymce';
	public $error_reporting = 'default';
	public $feed_email = 'none';
	public $feed_limit = '10';
	public $force_ssl = '0';
	public $fromname = '***';
	public $ftp_enable = '0';
	public $ftp_host = '';
	public $ftp_pass = '';
	public $ftp_port = '21';
	public $ftp_root = '';
	public $ftp_user = '';
	public $gzip = '0';
	public $helpurl = 'https://help.joomla.org/proxy?keyref=Help{major}{minor}:{keyref}&lang={langcode}';
	public $host = 'localhost';
	public $lifetime = '15';
	public $list_limit = '20';
	public $live_site = '';
	public $log_path = '***';
	public $mailer = 'mail';
	public $mailfrom = '***';
	public $memcache_compress = '0';
	public $memcache_persist = '1';
	public $memcache_server_host = 'localhost';
	public $memcache_server_port = '11211';
	public $offline = '0';
	public $offline_image = '';
	public $offline_message = 'This site is down for maintenance.<br /> Please check back again soon.';
	public $offset = 'UTC';
	public $offset_user = 'UTC';
	public $password = '***';
	public $robots = '';
	public $secret = '***';
	public $sef = '1';
	public $sef_rewrite = '1';
	public $sef_suffix = '0';
	public $sendmail = '/usr/sbin/sendmail';
	public $session_handler = 'database';
	public $sitename = '***';
	public $sitename_pagetitles = '0';
	public $smtpauth = '0';
	public $smtphost = 'localhost';
	public $smtppass = '';
	public $smtpport = '25';
	public $smtpsecure = 'none';
	public $smtpuser = '';
	public $tmp_path = '***';
	public $unicodeslugs = '0';
	public $user = '***';
	public $cache_platformprefix = '0';
	public $memcached_persist = '1';
	public $memcached_compress = '0';
	public $memcached_server_host = 'localhost';
	public $memcached_server_port = '11211';
	public $redis_persist = '1';
	public $redis_server_host = 'localhost';
	public $redis_server_port = '6379';
	public $redis_server_auth = '';
	public $redis_server_db = '0';
	public $proxy_enable = '0';
	public $proxy_host = '';
	public $proxy_port = '';
	public $proxy_user = '';
	public $proxy_pass = '';
	public $mailonline = '1';
	public $massmailoff = '0';
	public $session_memcache_server_host = 'localhost';
	public $session_memcache_server_port = '11211';
	public $session_memcached_server_host = 'localhost';
	public $session_memcached_server_port = '11211';
	public $frontediting = '1';
	public $asset_id = '1';
avatar PhilETaylor
PhilETaylor - comment - 3 Jan 2017

remove the / in

public $cookie_path = '/';

avatar PhilETaylor
PhilETaylor - comment - 3 Jan 2017

and remove the . in the

public $cookie_domain = '.';

avatar PhilETaylor
PhilETaylor - comment - 3 Jan 2017
avatar alex7r
alex7r - comment - 3 Jan 2017

Ok, this fixes the problem.
But according to the tips it should work with "." and "/" configurations, shouldn't it?

avatar PhilETaylor
PhilETaylor - comment - 3 Jan 2017

But according to the tips

What tips? The web is full of "so called experts" and bad advice.

Best practice is never to set these unless you:

  1. Know what you are doing
  2. Know why you are doing it
  3. Know exactly what it means
  4. Know exactly what it will break.
avatar PhilETaylor
PhilETaylor - comment - 3 Jan 2017

"Precede" meaning https://en.oxforddictionaries.com/definition/precede

Therefore a valid value, a domain with a preceding period would be

.example.com

Not simply putting a period like you did.

avatar alex7r
alex7r - comment - 3 Jan 2017

OK, my bad. Didn't pay attention to it.

But I believe this tip can be improved, maybe with example.com, or by passing domain from JURI to JText.

avatar alex7r alex7r - change - 3 Jan 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-01-03 17:37:40
Closed_By alex7r
avatar alex7r alex7r - close - 3 Jan 2017

Add a Comment

Login with GitHub to post a comment