Recent Topics

1 May 22, 2011 23:19    

My b2evolution Version: 3.3.3

On version 3.3.3, at URL blogs-it.cgaux.org/admin.php, on a blog that was working perfectly for some time, we get the message "Either you have not enabled cookies or this login window has expired."

Other contributors have suggested changing, in /conf/_advanced.php

$instance_name = 'b2evo'; to
$instance_name = 'somethingelse';

where "somethingelse" is a unique, random, blank_free name.

It didn't work. And, of course, we tried all the usual stuff of deleting all cookies and starting over, etc. Different browsers, yada yada...

Again, this just started happening suddenly.

I turned on debugging for just the login module, and here it is. Any suggestions? Should I upgrade to 4.0.5 and try again?


Debug info
Timers
Category	Time	%	Count
_main.inc	0.051	100.00%	1
_main.inc:requires	0.006	11.76%	1
sql_queries	0.005	9.80%	13
Hit::get_remote_host	0.000	0.00%	1
abstractsettings_AbstractSettings_get	0.001	1.96%	1
abstractsettings_GeneralSettings_get	0.001	1.96%	13
plugin_init	0.001	1.96%	1
total	0.051	100.00%	1
Database queries: 13.
Memory usage: 4.7 MB
Memory peak usage: 4.8 MB
Debug messages
note | hit | locale | login | memory | params | plugins | session | settings | timer | 

vars
note:
redirect_to: /admin.php
hit:
detect_referer(): self referer (://blogs-it.cgaux.org)
IP: 206.124.241.7
UserAgent: Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Referer: 'http://blogs-it.cgaux.org/htsrv/login.php'; type=self
Remote Host:
Recording the hit.
Agent name: firefox
Agent platform: win
locale:
default_locale from conf: en-US
default_locale from DB: en-US
default_locale from HTTP_ACCEPT: en-US
Set DB connection charset: latin1
Loading file: /home/blogsitc/public_html/locales/en_US/_global.php
Warning: evo_charset not set to translate "No user"
Warning: evo_charset not set to translate "%d blogs owned by this user"
Warning: evo_charset not set to translate "%d posts last edited by this user"
Warning: evo_charset not set to translate "%d posts assigned to this user"
Warning: evo_charset not set to translate "%d links created by this user"
Warning: evo_charset not set to translate "%d links last edited by this user"
Warning: evo_charset not set to translate "%d user settings on collections"
Warning: evo_charset not set to translate "%d sessions opened by this user"
Warning: evo_charset not set to translate "%d user permissions on blogs"
Warning: evo_charset not set to translate "%d subscriptions"
Warning: evo_charset not set to translate "%d posts created by this user"
Warning: evo_charset not set to translate "Either you have not enabled cookies or this 

login window has expired."
$evo_charset follows $io_charset (iso-8859-1).
evo_charset: iso-8859-1
io_charset: iso-8859-1
login:
login: 'admin'
pass: not empty
User is trying to log in.
Hashed password available.
Empty salt_sess!
Session ID does not match.
memory:
Len of serialized $cache_imgsize: 2
Len of serialized $cache_File: 2
params:
init $global_param_list
memorize_param: locale string default=
param(-): cookiemxyzpltksession as string
param(-): login_action typed to array, new value=Array
param(-): pwd_salt as string
param(-): pwd_hashed as string
param(-): action as string
param(-): mode as string
param(-): login as string
param(-): redirect_to as string
param(-): tempskin as string
memorize_param: tempskin string default=
plugins:
Loading plugin events.
Trigger event SessionLoaded
No registered plugins.
Trigger event CachePageContent (first true)
No registered plugins.
Trigger event LoginAttemptNeedsRawPassword (first true)
No registered plugins.
Trigger event LoginAttempt
No registered plugins.
Trigger event AfterLoginAnonymousUser
No registered plugins.
Trigger event LoginAttemptNeedsRawPassword (first true)
No registered plugins.
Trigger event DisplayLoginFormFieldset
No registered plugins.
Trigger event AppendHitLog (first true)
No registered plugins.
session:
cookie_domain=.blogs-it.cgaux.org
cookie_path=/
No session cookie received.
ID (generated): 14908
Cookie sent.
Session data[core.pwd_salt] updated. Expire in: 86400s.
Session data saved!
settings:
GeneralSettings::get( db_version// ): '9960'
GeneralSettings::get( time_difference// ): [DEFAULT]: '0'
GeneralSettings::get( default_locale// ): 'en-US'
GeneralSettings::get( js_passwd_hashing// ): '1'
GeneralSettings::get( js_passwd_hashing// ): '1'
GeneralSettings::get( newusers_canregister// ): '0'
AbstractSettings::get( creds// ): array ( 0 => array ( '' => array ( 0 => array ( 0 => 6, 

1 => 'http://evocore.net/', 2 => array ( 0 => array ( 0 => 3, 1 => 'PHP framework', ), 1 

=> array ( 0 => 5, 1 => 'framework', ), 2 => array ( 0 => 6, 1 => 'evoCore', ), ), ), 1 

=> array ( 0 => 100, 1 => 'http://b2evolution.net/', 2 => array ( 0 => array ( 0 => 8, 1 

=> 'free blog', ), 1 => array ( 0 => 10, 1 => 'free blog tool', ), 2 => array ( 0 => 14, 

1 => 'open source blog', ), 3 => array ( 0 => 17, 1 => 'multiblog', ), 4 => array ( 0 => 

19, 1 => 'multi-blog', ), 5 => array ( 0 => 25, 1 => 'blogging tool', ), 6 => array ( 0 

=> 42, 1 => 'blog software', ), 7 => array ( 0 => 45, 1 => 'blogsoft', ), 8 => array ( 0 

=> 47, 1 => 'b2', ), 9 => array ( 0 => 64, 1 => 'blog software', ), 10 => array ( 0 => 

72, 1 => 'multiple blogs', ), 11 => array ( 0 => 74, 1 => 'free blog software', ), 12 => 

array ( 0 => 78, 1 => 'blogging software', ), 13 => array ( 0 => 84, 1 => 'blog engine', 

), 14 => array ( 0 => 88, 1 => 'blog soft', ), 15 => array ( 0 => 97, 1 => 'blog tool', 

), 16 => array ( 0 => 100, 1 => 'blogtool', ), ), ), ), ), 1 => array ( 'en-UK' => array 

( 0 => 'http://b2evolution.net/web-hosting/europe/uk-recommended-hosts-php-mysql-best-

choices.php', 1 => array ( 0 => array ( 0 => 5, 1 => 'UK host', ), 1 => array ( 0 => 10, 

1 => 'web hosting UK', ), 2 => array ( 0 => 14, 1 => 'web host UK', ), 3 => array ( 0 => 

19, 1 => 'webhosting UK', ), 4 => array ( 0 => 30, 1 => 'UK hosting', ), 5 => array ( 0 

=> 33, 1 => 'host uk', ), 6 => array ( 0 => 62, 1 => 'UK hosts', ), 7 => array ( 0 => 64, 

1 => 'hosting', ), 8 => array ( 0 => 66, 1 => 'web hosting', ), 9 => array ( 0 => 72, 1 

=> 'hosting UK', ), 10 => array ( 0 => 82, 1 => 'hosts UK', ), 11 => array ( 0 => 98, 1 

=> 'UK web hosting', ), 12 => array ( 0 => 100, 1 => 'UK webhost', ), ), ), 'en-GB' => 

array ( 0 => array ( 0 => 6, 1 => 'http://b2evolution.net/web-hosting/vps-hosting-

virtual-private-servers.php', 2 => array ( 0 => array ( 0 => 2, 1 => 'vps', ), 1 => array 

( 0 => 3, 1 => 'VPS', ), 2 => array ( 0 => 4, 1 => 'VPS hosting', ), 3 => array ( 0 => 5, 

1 => 'vps hosting', ), ), ), 1 => array ( 0 => 100, 1 => 'http://b2evolution.net/web-

hosting/europe/uk-recommended-hosts-php-mysql-best-choices.php', 2 => array ( 0 => array 

( 0 => 10, 1 => 'web hosting UK', ), 1 => array ( 0 => 14, 1 => 'web host UK', ), 2 => 

array ( 0 => 19, 1 => 'webhosting UK', ), 3 => array ( 0 => 30, 1 => 'UK hosting', ), 4 

=> array ( 0 => 33, 1 => 'host uk', ), 5 => array ( 0 => 44, 1 => 'UK host', ), 6 => 

array ( 0 => 62, 1 => 'UK hosts', ), 7 => array ( 0 => 64, 1 => 'hosting', ), 8 => array 

( 0 => 66, 1 => 'web hosting', ), 9 => array ( 0 => 72, 1 => 'hosting UK', ), 10 => array 

( 0 => 82, 1 => 'hosts UK', ), 11 => array ( 0 => 98, 1 => 'UK web hosting', ), 12 => 

array ( 0 => 100, 1 => 'UK webhost', ), ), ), ), 'fr' => array ( 0 => array ( 0 => 78, 1 

=> 'http://b2evolution.net/web-hosting/europe/hebergement-web-france-fr.php', 2 => array 

( 0 => array ( 0 => 14, 1 => 'hébergement', ), 1 => array ( 0 => 19, 1 => 'hébergement 

web', ), 2 => array ( 0 => 30, 1 => 'hébergeurs', ), 3 => array ( 0 => 41, 1 => 

'hébergeur', ), 4 => array ( 0 => 45, 1 => 'hébergeur web', ), 5 => array ( 0 => 60, 1 => 

'hebergeur', ), 6 => array ( 0 => 72, 1 => 'hebergement', ), 7 => array ( 0 => 78, 1 => 

'serveur web', ), ), ), 1 => array ( 0 => 91, 1 => 'http://b2evolution.net/web-

hosting/budget-web-hosting-low-cost-lamp.php', 2 => array ( 0 => array ( 0 => 82, 1 => 

'cheap hosting', ), 1 => array ( 0 => 84, 1 => 'budget hosting', ), 2 => array ( 0 => 86, 

1 => 'value hosting', ), 3 => array ( 0 => 88, 1 => 'affordable hosting', ), 4 => array ( 

0 => 89, 1 => 'popular hosting', ), 5 => array ( 0 => 91, 1 => 'low cost hosting', ), ), 

), 2 => array ( 0 => 97, 1 => 'http://b2evolution.net/about/linux-dedicated-servers-web-

hosting.php', 2 => array ( 0 => array ( 0 => 94, 1 => 'dedicated servers', ), 1 => array 

( 0 => 95, 1 => 'dedicated server', ), 2 => array ( 0 => 97, 1 => 'dedicated hosting', ), 

), ), 3 => array ( 0 => 100, 1 => 'http://b2evolution.net/web-hosting/ssh-hosting-

secure-shell-access.php', 2 => array ( 0 => array ( 0 => 98, 1 => 'SSH web hosting', ), 1 

=> array ( 0 => 99, 1 => 'secure shell', ), 2 => array ( 0 => 100, 1 => 'SSH hosting', ), 

), ), ), '' => array ( 0 => array ( 0 => 6, 1 => 'http://b2evolution.net/web-

hosting/vps-hosting-virtual-private-servers.php', 2 => array ( 0 => array ( 0 => 2, 1 => 

'vps', ), 1 => array ( 0 => 3, 1 => 'VPS', ), 2 => array ( 0 => 4, 1 => 'VPS hosting', ), 

3 => array ( 0 => 6, 1 => 'vps hosting', ), ), ), 1 => array ( 0 => 10, 1 => 

'http://b2evolution.net/web-hosting/green-hosting-renewable-energy-power.php', 2 => array 

( 0 => array ( 0 => 8, 1 => 'green hosting', ), 1 => array ( 0 => 10, 1 => 'green web 

hosting', ), ), ), 2 => array ( 0 => 12, 1 => 'http://b2evolution.net/web-hosting/best-

reseller-hosting-top-providers.php', 2 => array ( 0 => array ( 0 => 12, 1 => 'reseller 

hosting', ), ), ), 3 => array ( 0 => 13, 1 => 'http://b2evolution.net/web-

hosting/blog/news/web-hosting-test-sites', 2 => array ( 0 => array ( 0 => 13, 1 => 'web 

hosting sites', ), ), ), 4 => array ( 0 => 18, 1 => 'http://b2evolution.net/web-

hosting/top-recommended-webhosting-plans.php', 2 => array ( 0 => array ( 0 => 14, 1 => 

'webhosting', ), 1 => array ( 0 => 16, 1 => 'b2evolution hosting', ), 2 => array ( 0 => 

17, 1 => 'hosting companies', ), 3 => array ( 0 => 18, 1 => 'recommended hosting', ), ), 

), 5 => array ( 0 => 73, 1 => 'http://b2evolution.net/web-hosting/top-quality-best-

webhosting.php', 2 => array ( 0 => array ( 0 => 19, 1 => 'web hosting reviews', ), 1 => 

array ( 0 => 20, 1 => 'webhosting reviews', ), 2 => array ( 0 => 21, 1 => 'hosting 

reviews', ), 3 => array ( 0 => 22, 1 => 'b2evo hosting', ), 4 => array ( 0 => 27, 1 => 

'blog hosting', ), 5 => array ( 0 => 28, 1 => 'web hosting top 10', ), 6 => array ( 0 => 

29, 1 => 'top 10 hosting', ), 7 => array ( 0 => 30, 1 => 'top hosting', ), 8 => array ( 0 

=> 32, 1 => 'hosting', ), 9 => array ( 0 => 34, 1 => 'hosts', ), 10 => array ( 0 => 35, 1 

=> 'top hosts', ), 11 => array ( 0 => 36, 1 => 'web host', ), 12 => array ( 0 => 37, 1 => 

'best hosts', ), 13 => array ( 0 => 39, 1 => 'best hosting', ), 14 => array ( 0 => 42, 1 

=> 'PHP hosting', ), 15 => array ( 0 => 43, 1 => 'MySQL hosting', ), 16 => array ( 0 => 

44, 1 => 'webhosts', ), 17 => array ( 0 => 45, 1 => 'LAMP hosting', ), 18 => array ( 0 => 

62, 1 => 'web hosting', ), 19 => array ( 0 => 64, 1 => 'webhost', ), 20 => array ( 0 => 

66, 1 => 'webhosting', ), 21 => array ( 0 => 70, 1 => 'web hosts', ), 22 => array ( 0 => 

72, 1 => 'webhosting', ), 23 => array ( 0 => 73, 1 => 'hosting', ), ), ), 6 => array ( 0 

=> 91, 1 => 'http://b2evolution.net/web-hosting/budget-web-hosting-low-cost-lamp.php', 2 

=> array ( 0 => array ( 0 => 74, 1 => 'low cost webhosting', ), 1 => array ( 0 => 76, 1 

=> 'low cost web hosting', ), 2 => array ( 0 => 78, 1 => 'hosting', ), 3 => array ( 0 => 

79, 1 => 'best cheap web hosting', ), 4 => array ( 0 => 84, 1 => 'cheap hosting', ), 5 => 

array ( 0 => 84, 1 => 'budget hosting', ), 6 => array ( 0 => 87, 1 => 'cheap web 

hosting', ), 7 => array ( 0 => 88, 1 => 'cheap webhosting', ), 8 => array ( 0 => 89, 1 => 

'affordable hosting', ), 9 => array ( 0 => 90, 1 => 'low cost hosting', ), 10 => array ( 

0 => 91, 1 => 'cheaper hosting', ), ), ), 7 => array ( 0 => 98, 1 => 

'http://b2evolution.net/about/linux-dedicated-servers-web-hosting.php', 2 => array ( 0 => 

array ( 0 => 93, 1 => 'dedicated servers', ), 1 => array ( 0 => 95, 1 => 'dedicated 

server', ), 2 => array ( 0 => 96, 1 => 'managed server', ), 3 => array ( 0 => 98, 1 => 

'dedicated hosting', ), ), ), 8 => array ( 0 => 100, 1 => 'http://b2evolution.net/web-

hosting/ssh-hosting-secure-shell-access.php', 2 => array ( 0 => array ( 0 => 99, 1 => 

'SSH web hosting', ), 1 => array ( 0 => 100, 1 => 'SSH hosting', ), ), ), ), ), 2 => 

array ( 'fr' => array ( 0 => array ( 0 => 36, 1 => 'http://fplanque.net/', 2 => array ( 0 

=> array ( 0 => 3, 1 => 'FP', ), 1 => array ( 0 => 9, 1 => 'Francois', ), 2 => array ( 0 

=> 17, 1 => 'fp', ), 3 => array ( 0 => 19, 1 => 'F P', ), 4 => array ( 0 => 28, 1 => 

'Francois', ), 5 => array ( 0 => 36, 1 => 'François', ), ), ), 1 => array ( 0 => 90, 1 => 

'http://b2evolution.net/about/monetize-blog-money.php', 2 => array ( 0 => array ( 0 => 

41, 1 => 'pub blog', ), 1 => array ( 0 => 45, 1 => 'pub', ), 2 => array ( 0 => 72, 1 => 

'adsense', ), 3 => array ( 0 => 78, 1 => 'pub', ), 4 => array ( 0 => 90, 1 => 'blog pub', 

), ), ), 2 => array ( 0 => 100, 1 => 'http://b2evolution.net/dev/authors.html', 2 => 

array ( 0 => array ( 0 => 94, 1 => 'authors', ), 1 => array ( 0 => 98, 1 => 'evoTeam', ), 

2 => array ( 0 => 100, 1 => 'team', ), ), ), ), '' => array ( 0 => array ( 0 => 27, 1 => 

'http://fplanque.com/', 2 => array ( 0 => array ( 0 => 7, 1 => 'François', ), 1 => array 

( 0 => 11, 1 => 'FP', ), 2 => array ( 0 => 13, 1 => '', ), 3 => array ( 0 => 15, 1 => 

'F.P.', ), 4 => array ( 0 => 20, 1 => '', ), 5 => array ( 0 => 22, 1 => 'fp', ), 6 => 

array ( 0 => 27, 1 => 'Francois', ), ), ), 1 => array ( 0 => 33, 1 => '', ), 2 => array ( 

0 => 90, 1 => 'http://b2evolution.net/about/monetize-blog-money.php', 2 => array ( 0 => 

array ( 0 => 35, 1 => '', ), 1 => array ( 0 => 39, 1 => 'advertising', ), 2 => array ( 0 

=> 45, 1 => 'blog ads', ), 3 => array ( 0 => 52, 1 => 'monetizing', ), 4 => array ( 0 => 

62, 1 => 'monetize', ), 5 => array ( 0 => 64, 1 => 'monetize blog', ), 6 => array ( 0 => 

79, 1 => '', ), 7 => array ( 0 => 90, 1 => 'adsense', ), ), ), 3 => array ( 0 => 100, 1 

=> 'http://b2evolution.net/dev/authors.html', 2 => array ( 0 => array ( 0 => 94, 1 => 

'authors', ), 1 => array ( 0 => 98, 1 => 'evoTeam', ), 2 => array ( 0 => 100, 1 => 

'team', ), ), ), ), ), )
GeneralSettings::get( log_public_hits// ): '1'
GeneralSettings::get( log_public_hits// ): '1'
GeneralSettings::get( evonet_last_version_checked// ): 'http://blogs-it.cgaux.org/ 

mxyzpltk b2evolution 3.3.3 2009-12-15'
GeneralSettings::get( evonet_last_update// ): '1306075408'
GeneralSettings::get( evonet_last_attempt// ): '1306075408'
GeneralSettings::get( auto_prune_stats_mode// ): 'page'
GeneralSettings::get( auto_prune_stats_done// ): '2011-05-22 00:02:32'
timer:
Starting timer total
Starting timer _main.inc
Starting timer sql_queries
Starting timer abstractsettings_GeneralSettings_get
Starting timer Hit::get_remote_host
Starting timer plugin_init
Starting timer _main.inc:requires
Starting timer abstractsettings_AbstractSettings_get
vars:
Getting ReqURI from REQUEST_URI
$ReqHost: http://blogs-it.cgaux.org
$ReqURI: /htsrv/login.php
$ReqPath: /htsrv/login.php
Hash key: 30
DB

DB Username: blogsitc_admin
DB Database: blogsitc_blogs
DB Host: localhost
DB tables prefix: evo_
DB connection charset: 

DB queries: 13
Query #1: we do this in DEBUG mode only
SELECT VERSION()
Rows: 1 – Time: 0.0001s (2.50%)
Query #2: we do this in DEBUG mode only
SET sql_mode = "TRADITIONAL"
Rows: 0 – Time: 0.0001s (1.40%)
Query #3:
SELECT set_name, set_value
FROM evo_settings
Rows: 43 – Time: 0.0002s (4.96%)
Query #4:
SELECT loc_locale, loc_charset, loc_datefmt, loc_timefmt, loc_startofweek, loc_name, 

loc_messages, loc_priority, loc_enabled
FROM evo_locales
ORDER BY loc_priority
Rows: 1 – Time: 0.0002s (4.30%)
Query #5:
SET NAMES latin1
Rows: 0 – Time: 0.0001s (1.22%)
Query #6:
INSERT INTO evo_sessions( sess_key, sess_lastseen, sess_ipaddress )
VALUES ( 'M7PnVQF09bURtYLYxgjbqSZNZNCtXWzp', '2011-05-22 16:25:03', '206.124.241.7' )
Rows: 1 – Time: 0.0002s (4.10%)
Query #7: Loading plugin events
SELECT pevt_plug_ID, pevt_event
FROM evo_pluginevents INNER JOIN evo_plugins ON pevt_plug_ID = plug_ID
WHERE pevt_enabled > 0
  AND plug_status = 'enabled'
ORDER BY plug_priority, plug_classname
Rows: 15 – Time: 0.0004s (7.62%)
Query #8: Get User login
SELECT *
FROM evo_users
WHERE user_login = 'admin'
Rows: 1 – Time: 0.0004s (8.70%)
Query #9:
SELECT cach_name, cach_cache
FROM evo_global__cache
Rows: 7 – Time: 0.0003s (6.02%)
Query #10:
SELECT dom_ID
FROM evo_basedomains
WHERE dom_name = 'blogs-it.cgaux.org'
Rows: 1 – Time: 0.0002s (3.68%)
Query #11:
SELECT agnt_ID
FROM evo_useragents
WHERE agnt_signature = 'Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 

Firefox/4.0.1'
  AND agnt_type = 'browser'
Rows: 1 – Time: 0.0015s (29.34%)
Query #12: Record the hit
INSERT INTO evo_hitlog( hit_sess_ID, hit_datetime, hit_uri, hit_referer_type, 

hit_referer, hit_referer_dom_ID, hit_keyphrase_keyp_ID, hit_serprank, hit_blog_ID, 

hit_remote_addr, hit_agnt_ID )
VALUES( '14908',
FROM_UNIXTIME(1306095903), '/htsrv/login.php', 'self', 'http://blogs-

it.cgaux.org/htsrv/login.php', 2, NULL, NULL, NULL, '206.124.241.7', 174 )
Rows: 1 – Time: 0.0005s (9.04%)
Query #13: Session::dbsave()
UPDATE evo_sessions SET sess_hitcount = sess_hitcount + 1, sess_lastseen = '2011-05-22 

16:25:03', sess_data = 'a:1:{s:13:\"core.pwd_salt\";a:2:{i:0;i:1306182303;i:1;s:64:

\"Qf5ZIDodCvlujxH7f4TKLsuRl8ZJyzl7TulmDwkQFMKJpgYfUaZ1ZI7gCmxOvj5D\";}}', sess_ipaddress 

= '206.124.241.7', sess_key = 'M7PnVQF09bURtYLYxgjbqSZNZNCtXWzp'
WHERE sess_ID = 14908
Rows: 1 – Time: 0.0002s (3.26%)
Total rows: 73

3 May 23, 2011 05:57

It looks like B2Evolution can't save a cookie in FIVE of my browsers (IE9, FF4, Safari 5, Opera, and Chrome), and in several of my associates' browsers scattered around the U.S.

I'll see if I can extract the critical nuggets out of the thread you gave me, tomorrow. I already did the instance name; didn't work, so it appears that the timeout setting is the other nugget in there.

4 May 23, 2011 07:56

It could be because of the hyphen in subdomain name, but that's just a guess.

5 May 23, 2011 18:13

OK. I tried the timeout hack and it made no difference.

Looking at the code, it appears that the variable $pwd_salt_sess being NULL is the reason for the failure, but I have not been able to track down why.

I did look at the REGEX that sets $cookie_path, and it appears that it will not fail on "blogs-it.cgaux.org", i.e., on the hyphen. But haven't yet been able to run down any other code that could fail.

Currently baffled.


Form is loading...