#142 Session expired... enable cookies.

15 years 2 months ago #87898 by sazern
Replied by sazern on topic Re:#142 Session expired... enable cookies.
We turned on Debugging and it didnt work anyways.
and we removed all the blank characters on the template.

How can we check if the server can send out cookies?

Please Log in to join the conversation.

15 years 2 months ago #87899 by beat
sazern wrote:

We turned on Debugging and it didnt work anyways.


Please be precise, can't do anything with that statement. What do you exactly mean ?

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

15 years 2 months ago #87900 by sazern
Replied by sazern on topic Re:#142 Session expired... enable cookies.
Here you go.
[code:1]Profile Information
Application afterLoad: 0.000 seconds, 0.26 MB
Application afterInitialise: 0.073 seconds, 4.05 MB
Application afterRoute: 0.080 seconds, 4.36 MB
Application afterDispatch: 0.125 seconds, 5.85 MB
Application afterRender: 0.730 seconds, 10.01 MB
Memory Usage
10533724
15 queries logged

1.
SELECT *
FROM jos_session
WHERE session_id = '17d219ccb81fb904c023bdf4e44dd23d'
2.
DELETE
FROM jos_session
WHERE ( time < '1233914188' )
3.
SELECT *
FROM jos_session
WHERE session_id = '17d219ccb81fb904c023bdf4e44dd23d'
4.
UPDATE `jos_session`
SET `time`='1233915088',`userid`='0',`usertype`='',`username`='',`gid`='0',`guest`='1',`client_id`='0',`data`='__default|a:8:{s:15:\"session.counter\";i:35;s:19:\"session.timer.start\";i:1233912962;s:18:\"session.timer.last\";i:1233914843;s:17:\"session.timer.now\";i:1233914845;s:22:\"session.client.browser\";s:84:\"Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.8.1) Gecko/20061010 Firefox/2.0\";s:8:\"registry\";O:9:\"JRegistry\":3:{s:17:\"_defaultNameSpace\";s:7:\"session\";s:9:\"_registry\";a:1:{s:7:\"session\";a:1:{s:4:\"data\";O:8:\"stdClass\":0:{}}}s:7:\"_errors\";a:0:{}}s:4:\"user\";O:5:\"JUser\":19:{s:2:\"id\";i:0;s:4:\"name\";N;s:8:\"username\";N;s:5:\"email\";N;s:8:\"password\";N;s:14:\"password_clear\";s:0:\"\";s:8:\"usertype\";N;s:5:\"block\";N;s:9:\"sendEmail\";i:0;s:3:\"gid\";i:0;s:12:\"registerDate\";N;s:13:\"lastvisitDate\";N;s:10:\"activation\";N;s:6:\"params\";N;s:3:\"aid\";i:0;s:5:\"guest\";i:1;s:7:\"_params\";O:10:\"JParameter\":7:{s:4:\"_raw\";s:0:\"\";s:4:\"_xml\";N;s:9:\"_elements\";a:0:{}s:12:\"_elementPath\";a:1:{i:0;s:59:\"/home/sweet/Publikt/libraries/joomla/html/parameter/element\";}s:17:\"_defaultNameSpace\";s:8:\"_default\";s:9:\"_registry\";a:1:{s:8:\"_default\";a:1:{s:4:\"data\";O:8:\"stdClass\":0:{}}}s:7:\"_errors\";a:0:{}}s:9:\"_errorMsg\";N;s:7:\"_errors\";a:0:{}}s:13:\"session.token\";s:32:\"1bf1cfffb32f5b867a2549b1c30a3a0b\";}'
WHERE session_id='17d219ccb81fb904c023bdf4e44dd23d'
5.
SELECT *
FROM jos_components
WHERE parent = 0
6.
SELECT folder AS type, element AS name, params
FROM jos_plugins
WHERE published >= 1
AND access <= 0
ORDER BY ordering
7.
SELECT m.*, c.`option` AS component
FROM jos_menu AS m
LEFT JOIN jos_components AS c
ON m.componentid = c.id
WHERE m.published = 1
ORDER BY m.sublevel, m.parent, m.ordering
8.
SELECT template
FROM jos_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 1)
ORDER BY menuid DESC
LIMIT 0, 1
9.
SELECT a.id, a.title, a.title_alias, a.introtext, a.fulltext, a.sectionid, a.state, a.catid, a.created, a.created_by, a.created_by_alias, a.modified, a.modified_by, a.checked_out, a.checked_out_time, a.publish_up, a.publish_down, a.images, a.attribs, a.urls, a.metakey, a.metadesc, a.access, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END AS slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END AS catslug, CHAR_LENGTH( a.`fulltext` ) AS readmore, u.name AS author, u.usertype, g.name AS groups, cc.title AS category, s.title AS section, s.ordering AS s_ordering, cc.ordering AS cc_ordering, a.ordering AS a_ordering, f.ordering AS f_ordering
FROM jos_content AS a
INNER JOIN jos_content_frontpage AS f
ON f.content_id = a.id
LEFT JOIN jos_categories AS cc
ON cc.id = a.catid
LEFT JOIN jos_sections AS s
ON s.id = a.sectionid
LEFT JOIN jos_users AS u
ON u.id = a.created_by
LEFT JOIN jos_groups AS g
ON a.access = g.id
WHERE 1
AND a.access <= 0
AND a.state = 1
AND (( cc.published = 1
AND s.published = 1 ) OR ( a.catid = 0
AND a.sectionid = 0 ) )
AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2009-02-06 10:11:28' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2009-02-06 10:11:28' )
ORDER BY f.ordering
LIMIT 0, 9
10.
SELECT a.id, a.title, a.title_alias, a.introtext, a.fulltext, a.sectionid, a.state, a.catid, a.created, a.created_by, a.created_by_alias, a.modified, a.modified_by, a.checked_out, a.checked_out_time, a.publish_up, a.publish_down, a.images, a.attribs, a.urls, a.metakey, a.metadesc, a.access, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END AS slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END AS catslug, CHAR_LENGTH( a.`fulltext` ) AS readmore, u.name AS author, u.usertype, g.name AS groups, cc.title AS category, s.title AS section, s.ordering AS s_ordering, cc.ordering AS cc_ordering, a.ordering AS a_ordering, f.ordering AS f_ordering
FROM jos_content AS a
INNER JOIN jos_content_frontpage AS f
ON f.content_id = a.id
LEFT JOIN jos_categories AS cc
ON cc.id = a.catid
LEFT JOIN jos_sections AS s
ON s.id = a.sectionid
LEFT JOIN jos_users AS u
ON u.id = a.created_by
LEFT JOIN jos_groups AS g
ON a.access = g.id
WHERE 1
AND a.access <= 0
AND a.state = 1
AND (( cc.published = 1
AND s.published = 1 ) OR ( a.catid = 0
AND a.sectionid = 0 ) )
AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2009-02-06 10:11:28' )
AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2009-02-06 10:11:28' )
ORDER BY f.ordering
11.
SELECT id, title, module, position, content, showtitle, control, params
FROM jos_modules AS m
LEFT JOIN jos_modules_menu AS mm
ON mm.moduleid = m.id
WHERE m.published = 1
AND m.access <= 0
AND m.client_id = 0
AND ( mm.menuid = 1 OR mm.menuid = 0 )
ORDER BY position, ordering
12.
SELECT id, title, CASE WHEN CHAR_LENGTH(alias) THEN CONCAT_WS(':', id, alias) ELSE id END AS slug
FROM jos_polls
WHERE id = 1
AND published = 1
13.
SELECT id, text
FROM jos_poll_data
WHERE pollid = 1
AND text <> ""
ORDER BY id
14.
SELECT id, folder, element, published, type, params, CONCAT_WS('/',folder,element) AS lookup, name

FROM jos_comprofiler_plugin

WHERE published = 1
AND access <= 0
AND type = 'user'

ORDER BY ordering
15.
SELECT DISTINCT a.username, a.userid, u.name

FROM jos_session AS a, jos_users AS u

WHERE (a.userid = u.id)
AND (a.guest = 0)
AND (a.client_id = 0)

ORDER BY a.username ASC

0 legacy queries logged

Language Files Loaded

* /home/sweet/Publikt/language/en-GB/en-GB.ini 1
* /home/sweet/Publikt/language/en-GB/en-GB.plg_system_debug.ini 1
* /home/sweet/Publikt/language/en-GB/en-GB.com_content.ini 1
* /home/sweet/Publikt/language/en-GB/en-GB.tpl_rhuk_milkyway.ini 1
* /home/sweet/Publikt/language/en-GB/en-GB.mod_shoutcast.ini
* /home/sweet/Publikt/language/en-GB/en-GB.mod_poll.ini 1
* /home/sweet/Publikt/language/en-GB/en-GB.mod_mainmenu.ini 1
* /home/sweet/Publikt/language/en-GB/en-GB.mod_cblogin.ini
* /home/sweet/Publikt/language/en-GB/en-GB.mod_login.ini 1
* /home/sweet/Publikt/language/en-GB/en-GB.mod_comprofileronline.ini

Untranslated Strings Diagnostic

None

Untranslated Strings Designer[/code:1]

We tried to change template aswell. didnt give us any results

Please Log in to join the conversation.

15 years 2 months ago #87902 by beat
Sorry still don't understand. Maybe i need more coffee :D

Means you didn't get anything else than the above ? :ohmy:

The site should continue to work in debug mode, no errors displayed (check also HTML page source in browser). The text above this post should simply display below or to the right of your normal page. ;)

+ from the debug messages pasted I can tell you were not on the registration page or registration save page. That's the 2 you need to test... :)

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

15 years 2 months ago #87904 by sazern
Replied by sazern on topic Re:#142 Session expired... enable cookies.
Im not really sure if im catching you, im pretty new to this. I dont think you need more coffee its prob me :P
The site works fine. But Retreiving password and registration gets the session cookie error.

This is the debugg message from the registration page.
Im not really sure but i think you should see it too if you go into the site.
[code:1]
Profile Information
Application afterLoad: 0.000 seconds, 0.26 MB
Application afterInitialise: 0.073 seconds, 4.06 MB
Application afterRoute: 0.080 seconds, 4.36 MB
Application afterDispatch: 0.216 seconds, 11.73 MB
Application afterRender: 0.769 seconds, 12.52 MB
Memory Usage
13166128
19 queries logged

1.
SELECT *
FROM jos_session
WHERE session_id = '17d219ccb81fb904c023bdf4e44dd23d'
2.
DELETE
FROM jos_session
WHERE ( time < '1233917539' )
3.
SELECT *
FROM jos_session
WHERE session_id = '17d219ccb81fb904c023bdf4e44dd23d'
4.
UPDATE `jos_session`
SET `time`='1233918439',`userid`='0',`usertype`='',`username`='',`gid`='0',`guest`='1',`client_id`='0',`data`='__default|a:8:{s:15:\"session.counter\";i:12;s:19:\"session.timer.start\";i:1233918261;s:18:\"session.timer.last\";i:1233918429;s:17:\"session.timer.now\";i:1233918430;s:22:\"session.client.browser\";s:84:\"Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.8.1) Gecko/20061010 Firefox/2.0\";s:8:\"registry\";O:9:\"JRegistry\":3:{s:17:\"_defaultNameSpace\";s:7:\"session\";s:9:\"_registry\";a:1:{s:7:\"session\";a:1:{s:4:\"data\";O:8:\"stdClass\":0:{}}}s:7:\"_errors\";a:0:{}}s:4:\"user\";O:5:\"JUser\":19:{s:2:\"id\";i:0;s:4:\"name\";N;s:8:\"username\";N;s:5:\"email\";N;s:8:\"password\";N;s:14:\"password_clear\";s:0:\"\";s:8:\"usertype\";N;s:5:\"block\";N;s:9:\"sendEmail\";i:0;s:3:\"gid\";i:0;s:12:\"registerDate\";N;s:13:\"lastvisitDate\";N;s:10:\"activation\";N;s:6:\"params\";N;s:3:\"aid\";i:0;s:5:\"guest\";i:1;s:7:\"_params\";O:10:\"JParameter\":7:{s:4:\"_raw\";s:0:\"\";s:4:\"_xml\";N;s:9:\"_elements\";a:0:{}s:12:\"_elementPath\";a:1:{i:0;s:59:\"/home/sweet/Publikt/libraries/joomla/html/parameter/element\";}s:17:\"_defaultNameSpace\";s:8:\"_default\";s:9:\"_registry\";a:1:{s:8:\"_default\";a:1:{s:4:\"data\";O:8:\"stdClass\":0:{}}}s:7:\"_errors\";a:0:{}}s:9:\"_errorMsg\";N;s:7:\"_errors\";a:0:{}}s:13:\"session.token\";s:32:\"4d8f3a55487ca2695a36bcba5103fb11\";}'
WHERE session_id='17d219ccb81fb904c023bdf4e44dd23d'
5.
SELECT *
FROM jos_components
WHERE parent = 0
6.
SELECT folder AS type, element AS name, params
FROM jos_plugins
WHERE published >= 1
AND access <= 0
ORDER BY ordering
7.
SELECT m.*, c.`option` AS component
FROM jos_menu AS m
LEFT JOIN jos_components AS c
ON m.componentid = c.id
WHERE m.published = 1
ORDER BY m.sublevel, m.parent, m.ordering
8.
SELECT template
FROM jos_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 0)
ORDER BY menuid DESC
LIMIT 0, 1
9.
SELECT id, folder, element, published, type, params, CONCAT_WS('/',folder,element) AS lookup, name

FROM jos_comprofiler_plugin

WHERE published = 1
AND access <= 0
AND type = 'user'

ORDER BY ordering
10.
SELECT *
FROM jos_comprofiler_tabs t

WHERE t.enabled = 1

ORDER BY t.ordering_register, t.position, t.ordering
11.
SELECT f.*, t.ordering_register AS tab_ordering_register, t.position AS tab_position, t.ordering AS tab_ordering
FROM jos_comprofiler_fields f

INNER JOIN jos_comprofiler_tabs AS t
ON (f.tabid = t.tabid)

WHERE f.published = 1
AND f.registration = 1
AND t.enabled = 1

ORDER BY t.ordering_register, t.position, t.ordering, f.ordering
12.
SELECT id, folder, element, published, type, params, CONCAT_WS('/',folder,element) AS lookup, name

FROM jos_comprofiler_plugin

WHERE published = 1
AND access <= 0
AND type = 'templates'

ORDER BY ordering
13.
SELECT id, title, module, position, content, showtitle, control, params
FROM jos_modules AS m
LEFT JOIN jos_modules_menu AS mm
ON mm.moduleid = m.id
WHERE m.published = 1
AND m.access <= 0
AND m.client_id = 0
AND ( mm.menuid = 0 OR mm.menuid = 0 )
ORDER BY position, ordering
14.
SELECT parent, menutype, ordering
FROM jos_menu
WHERE id = 0
LIMIT 1
15.
SELECT count(*)
FROM jos_menu AS m

WHERE menutype='mainmenu'
AND published='1'
AND access <= '0'
AND parent=0
AND ordering < 0
16.
SELECT id, title, CASE WHEN CHAR_LENGTH(alias) THEN CONCAT_WS(':', id, alias) ELSE id END AS slug
FROM jos_polls
WHERE id = 1
AND published = 1
17.
SELECT id, text
FROM jos_poll_data
WHERE pollid = 1
AND text <> ""
ORDER BY id
18.
SELECT DISTINCT a.username, a.userid, u.name

FROM jos_session AS a, jos_users AS u

WHERE (a.userid = u.id)
AND (a.guest = 0)
AND (a.client_id = 0)

ORDER BY a.username ASC
19.
SELECT id
FROM jos_menu
WHERE link = 'index.php?option=com_comprofiler'
AND published=1
AND access = 0

0 legacy queries logged

Language Files Loaded

* /home/sweet/Publikt/language/en-GB/en-GB.ini 1
* /home/sweet/Publikt/language/en-GB/en-GB.plg_system_debug.ini 1
* /home/sweet/Publikt/language/en-GB/en-GB.com_comprofiler.ini
* /home/sweet/Publikt/language/en-GB/en-GB.com_user.ini 1
* /home/sweet/Publikt/language/en-GB/en-GB.tpl_ja_purity.ini 1
* /home/sweet/Publikt/language/en-GB/en-GB.mod_shoutcast.ini
* /home/sweet/Publikt/language/en-GB/en-GB.mod_poll.ini 1
* /home/sweet/Publikt/language/en-GB/en-GB.mod_mainmenu.ini 1
* /home/sweet/Publikt/language/en-GB/en-GB.mod_cblogin.ini
* /home/sweet/Publikt/language/en-GB/en-GB.mod_login.ini 1
* /home/sweet/Publikt/language/en-GB/en-GB.mod_comprofileronline.ini

Untranslated Strings Diagnostic

None

Untranslated Strings Designer

None[/code:1]

Please Log in to join the conversation.

15 years 2 months ago #88346 by shezzski
Replied by shezzski on topic Re:#142 Session expired... enable cookies.
I have this same problem,I am using the following

CB 1.2 Stable
PHP 5.2.5
Joomla 1.5.9
apache 2.2.6

Now I am using this in an intranet so testing from your guys is not possible. My server has php v4.4.5 and apache 1.3.33 running on port 80 and the above on port 82.

I am unable to register new users accessing on port 82, users can login fine, but I can register on port 80, but being php4, when people login, things dont look like they should.

so reading "sazern" post's I cant narrow this to a php version issue or a port issue......

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.314 seconds

Facebook Twitter LinkedIn