Home arrow Forum session_destroy() issue
  Welcome, Guest. Please login or register.
Did you miss your activation email?
May 16, 2008, 10:17:51 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  session_destroy() issue
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: session_destroy() issue  (Read 1833 times)
comeon
Joomla Newbie
*

Karma: +0/-1
Offline Offline

Posts: 3


View Profile
session_destroy() issue
« on: August 12, 2007, 05:25:38 PM »

I'm getting errors in the SMF error log every time someone logs in but aren't seen by the user. There are no issues with using the site but it does clog up the error log. The error is:

Code:
2: session_destroy(): Trying to destroy uninitialized session
File: /home/content/a/b/c/abcxxxxxxx/html/cms/cg_forum/Sources/Subs-Auth.php
Line: 174

On my production site I have:
  • Joomla 1.0.12
  • SMF 1.1.13
  • Joomla-SMF Bridge 2.0.2
  • Community Builder 1.1
  • PHP 4.3.11
  • MySQL 4.1.22-max-log

On my test site I have:
  • Joomla 1.0.13
  • SMF 1.1.13
  • Joomla-SMF Bridge 2.0.2.1
  • Community Builder 1.1
  • PHP 4.3.11
  • MySQL 4.1.22-max-log

I get the errors on both installs and if I unbridge the forum the errors aren't generated so I don't think SMF or CB is causing the errors. Also, disabling Use database driven sessions has no affect. Any idea on what may be causing these errors?

Many thanks for the help and a great product.  Smiley
« Last Edit: August 12, 2007, 05:46:46 PM by comeon » Logged
keltic
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Re: session_destroy() issue
« Reply #1 on: August 13, 2007, 03:17:07 PM »

I'm also getting the same error when using the bridge:

Code:
2: session_destroy() [<a href='function.session-destroy'>function.session-destroy</a>]: Trying to destroy uninitialized session
File: /home/hhhh/public_html/smf/Sources/Subs-Auth.php
Line: 174

In standalone forum mode this error does not excist.

I'd also noticed the that url causing this error is:

Code:
/smf/index.php?option=com_smf&amp;Itemid=6&amp;action=logout&amp;sesc=443f6fcb96a7cea987dba9be5a65c2f3

Shouldn't this be a joomla url instead of SMF?

I'm using:

Joomla 1.1.13
SMF 1.1.3
JSMF 2.0.2.1
CB 1.1.0

PHP: 4.4.7
MySQL: 4.1.22-standard-log
Caching: Disabled
GZIP: Enabled

Some help would be appreciated Smiley

Thanks,

Keltic
« Last Edit: August 15, 2007, 01:12:54 PM by keltic » Logged
tomaja
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: session_destroy() issue
« Reply #2 on: August 15, 2007, 06:55:52 AM »

Same problem on my JSMF 2.0.2.1 (SMF 1.1.3, Joomla 1.0.13). Without JSMF, on clean SMF there   are no errors.
Logged
crazyahmet
Joomla Newbie
*

Karma: +3/-0
Offline Offline

Posts: 7


View Profile
Re: session_destroy() issue
« Reply #3 on: August 26, 2007, 06:05:05 AM »

does anyone has an idea why this error come ?? or has someone a solution ??
Logged

Fabrizio
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: session_destroy() issue
« Reply #4 on: September 11, 2007, 10:44:59 PM »

i solved comment line 174 out Grin


i think this is not a great solution but works...



 
Logged
Fabrizio
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: session_destroy() issue
« Reply #5 on: September 11, 2007, 10:48:44 PM »

ps: however the error log says: "Trying to destroy uninitialized session" so why we have to destroy it?

nb: i'm not a php programmer  Wink
Logged
samm
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: session_destroy() issue
« Reply #6 on: September 19, 2007, 05:34:59 PM »

i solved comment line 174 out Grin


i think this is not a great solution but works...
 

what did you do  Huh
Logged
Luc Jansen
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Re: session_destroy() issue
« Reply #7 on: October 19, 2007, 07:46:33 AM »

Also having this issue. I'm using Joomla 1.0.13, SMF 1.1.4 (fresh install), and the latest version of JSMF 2.0.2.1.

Is there a solution?
Logged
fortistr
Joomla Newbie
*

Karma: +0/-1
Offline Offline

Posts: 15


View Profile
Re: session_destroy() issue
« Reply #8 on: March 06, 2008, 07:08:03 PM »

sama problem here

joomla 1.0.14
smf 1.1.4
jsmf 2.0.2.1
Logged
thegto
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: session_destroy() issue
« Reply #9 on: March 25, 2008, 02:10:00 PM »

the problem exact the same as Keltic when member/admin logout

My
joomla 1.0.13
smf 1.1.4
jsmf 2.0.2.1

btw, will this error cause serious problem to anything ?
Logged
Yuriy
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
Re: session_destroy() issue
« Reply #10 on: March 26, 2008, 05:21:15 AM »

I have the same issue too, I assume it happens on user login via bridge.

joomla 1.0.12 (UTF-8)
smf 1.1.4
jsmf 2.0.2.1
CB 1.1
Logged
prljavibluzer
Joomla Newbie
*

Karma: +0/-2
Offline Offline

Posts: 2


View Profile
Re: session_destroy() issue
« Reply #11 on: April 19, 2008, 03:16:48 PM »

Did somebody think of solution for this problem(commenting that line is lame) or open source community just sucks?
Logged
Superdaantje
Joomla Guru
*****

Karma: +176/-15
Offline Offline

Posts: 309


Aka Livebox


View Profile WWW
Re: session_destroy() issue
« Reply #12 on: April 19, 2008, 04:00:28 PM »

Did somebody think of solution for this problem(commenting that line is lame) or open source community just sucks?

So as you had could read this project as stopped a year ago. There is no developer any more, there for every one has to help each other or migrate to an system that has still the support Wink Like Mambo with SMF or Joomla with PHPbb
Logged

For Joomla! and Mambo Bridge Support visited Joomlabridge.org
Also with an download section and updates for the Bridges.
.
* Team Member off the Mambo-Foundation
* Beta tester for Simple Machines

.
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal.
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use