 | |  |
 |

jaygary
User
Oct 3, 2002, 11:39 AM
Post #1 of 15
(5575 views)
Shortcut
|
|
Need help with goforum.cgi and IkonBoard
|
Can't Post
|
|
> The most secure setup would be to have a separate user with as > little access as possible but the ability to post new threads. Login > as that user yourself first to make sure you can post new threads > before doing it with the script. I've done that, create a "comments" user, then logged-in and posted, not problem. I then entered "comment" as "forum-user" and "forum-pass" but it is still hanging up at line 377. Still I get Error message: "Unable to get session ID out of cookies!" In other words, dying at line 416, when it tries to login-in on this session ID issue. Oh, I am using Ikonboard, as you can tell from where it is hanging up. What do I do to overcome this? I've reviewed my "user defined" choices such as forum_url, etc. several times. Thanks for any help edit by dave - moved thread and changed title.
(This post was edited by Dave on Oct 15, 2002, 9:54 AM)
|
|
|  |
 |

Dave
Staff
/ Moderator

Oct 3, 2002, 11:57 AM
Post #2 of 15
(5570 views)
Shortcut
|
|
Re: [jaygary] Problems with "Discuss this Article" add-on
[In reply to]
|
Can't Post
|
|
Are you able to login to the forum yourself with the username and password you created? Is their an option in Ikonboard whether or not to use cookies or does it always use cookies? Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

Dave
Staff
/ Moderator

Oct 4, 2002, 9:10 PM
Post #4 of 15
(5555 views)
Shortcut
|
|
Re: [jaygary] Problems with "Discuss this Article" add-on
[In reply to]
|
Can't Post
|
|
If you set debug = 1 in the script it shows you the output from the forum when it tries to create a new thread. Does turning debug on show any relevant errors the forum may be producing? Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

jaygary
User
Oct 11, 2002, 9:14 AM
Post #5 of 15
(5515 views)
Shortcut
|
|
Re: [Dave] Problems with "Discuss this Article" add-on
[In reply to]
|
Can't Post
|
|
Dave, finally got this working. I had a friend who knows perl look at the script. He changed it in two small places. Says Ikonboard likely updated this script after the goforum.cgi was written. Email me at jgary@wnrf.org if you are using Ikonboard and having similar problems and I can email you my corrected script.
|
|
|  |
 |

jaygary
User
Oct 11, 2002, 12:02 PM
Post #7 of 15
(5505 views)
Shortcut
|
|
Re: [Dave] Problems with "Discuss this Article" add-on
[In reply to]
|
Can't Post
|
|
Ok, attached is the goforum.cgi file, corrected for Ikonboard 3.1. I don't which lines my friend changed, but I imagine it had to do with login-in, lines 377 and following. On this changed file, you still have to set the $Bin and forum_url and create a "comments" user in Ikonboard, with a comments password.
|
|
Attachments:
|
goforum.cgi
(26.5 KB)
|
|
|  |
 |

jmueller0823
User
Oct 11, 2002, 9:21 PM
Post #8 of 15
(5493 views)
Shortcut
|
Re: [jaygary] Problems with "Discuss this Article" add-on
[In reply to]
|
Can't Post
|
|
JayGary I copied-in your new goforum file. I'm using Ikonboard 3.1.1 Still getting error: "Unable to get session ID out of cookies! " "at /goforum.cgi line 378. " ** Using a good username & password Ideas? Jim g r o w t h t r a c dot c o m Life Changing Resources for Your Marriage
(This post was edited by jmueller0823 on Oct 11, 2002, 9:25 PM)
|
|
|  |
 |

Dave
Staff
/ Moderator

Oct 11, 2002, 9:28 PM
Post #9 of 15
(5490 views)
Shortcut
|
|
Re: [jmueller0823] Problems with "Discuss this Article" add-on
[In reply to]
|
Can't Post
|
|
I just sent you a PM. It seems like ikonboard uses different cookies depending on your setup. If you could respond to my PM we can just confirm that and I can update the code to work with all the different cookie names that might be used. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

jaygary
User
Oct 11, 2002, 9:58 PM
Post #10 of 15
(5487 views)
Shortcut
|
|
Re: [jmueller0823] Problems with "Discuss this Article" add-on
[In reply to]
|
Can't Post
|
|
In the Admin/CP of Ikonboard, did you set your Options/Settings, Board Options, Cookie Settings to something unique? I did. If it is left blank, the goforum.cgi program doesn't hand things over.
|
|
|  |
 |

jmueller0823
User
Oct 12, 2002, 6:51 AM
Post #11 of 15
(5481 views)
Shortcut
|
|
Re: [jaygary] Problems with "Discuss this Article" add-on
[In reply to]
|
Can't Post
|
|
Yes -- I did name my cookies. In fact, I believe Ikonboard instructs you to do so in the configs. Jim g r o w t h t r a c dot c o m Life Changing Resources for Your Marriage
|
|
|  |
 |

jmueller0823
User
Oct 14, 2002, 11:37 AM
Post #12 of 15
(5455 views)
Shortcut
|
|
Re: [jmueller0823] Problems with "Discuss this Article" add-on
[In reply to]
|
Can't Post
|
|
Anyone? Jim g r o w t h t r a c dot c o m Life Changing Resources for Your Marriage
|
|
|  |
 | |  |
 |

jaygary
User
Oct 18, 2002, 8:08 PM
Post #14 of 15
(5426 views)
Shortcut
|
|
Re: [jmueller0823] Problems with "Discuss this Article" add-on
[In reply to]
|
Can't Post
|
|
I think I've got it fixed. It appears that the BSessionID is named something different on every site, so line 379 of goforum.cgi may have to be changed for some or all of the sites you put this on. The change isn't hard, so I'm feeling kinda bad that it took me a week to troubleshoot it. This is what to do to the old script. 1) When you set the program to report errors on the debug mode, look for something named xxxBSessionID=[long string of characters], where the xxx is two or three characters, For instance, I got was: wiBSessionID=f2afa05278abeaabba994d54beeca0c3; 2) I find the script on the server and edit line 379. It looks like this: if ($cookie !~ /lmBSessionID=([^;]+)/is) { die("Unable to get session ID out of cookies! $cookie"); } I just change the BSessionID to match, so it looks like this: if ($cookie !~ /wiBSessionID=([^;]+)/is) { die("Unable to get session ID out of cookies! $cookie"); }
|
|
|  |
 |

dimi
User
Oct 24, 2002, 4:16 PM
Post #15 of 15
(5390 views)
Shortcut
|
|
Does this work with Ikonboard 2.1.9
[In reply to]
|
Can't Post
|
|
Because i keep getting the following error Unable to get session ID out of cookies! at /www/mysite/cgi-bin/articles/exec/goforum.cgi line 398.
|
|
|  |
|