Go Back   Webmaster Malaysia Forum » Website Design & Development » Website Programming

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 22-09-2003, 10:44 PM
baddai's Avatar
Novice Webmaster
 
Join Date: Sep 2003
Location: Sarawak
Posts: 18
Rep Power: 0
baddai is on a distinguished road
Send a message via Yahoo to baddai
error biler gune forum dalam phpnuke

Aku guna phpnuke.. aku dah setup forum untuk digunakkan.. tapi biler aku cuba post new topic untuk testing.. keluar
'Invalid_session'
dalam kotak Information... apa yang aku taip semua ilang.. cuma ada kotak Information tu yang menunjukkan error.. korang rasa apa masalah ner.. or ade yang aku tak setup agi atau tersetup untuk forum phpnuke nee...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 22-09-2003, 11:21 PM
MHR's Avatar
MHR MHR is offline
Senior Webmaster
 
Join Date: Sep 2001
Location: epox
Posts: 435
Rep Power: 93
MHR is on a distinguished road
Send a message via ICQ to MHR Send a message via Yahoo to MHR
__________________
Munzir + "/^[Hh](a)(z)\1\2[iI]$/"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 22-09-2003, 11:21 PM
Ben-davis's Avatar
Senior Webmaster
 
Join Date: Jan 2002
Location: SoObHanG JhaYa
Posts: 501
Rep Power: 91
Ben-davis is on a distinguished road
Send a message via ICQ to Ben-davis Send a message via Yahoo to Ben-davis
php yang run dalam IIS, support session ke?
__________________
<form name="jump">
<select name="menu" onChange="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" style="border:1px #393F31 solid;color:#393F31;font:10px Verdana;font-weight:bold;" >
<option value="0" style="background: #9CC8FE" selected>*SELECT-LINKS</option>
<option value="http://www.gengturbo.org/" style="background: #FF0000">GENGTURBO</option>
<option value="http://www.phixelgrafix.com/" target="new" style="background: #C6D607">PHIXELGRAFIX</option>
<option value="http://dailydigital.phixelgrafix.com/" style="background: #FCBC45">OLD-BLOG</option>
<option value="http://www.mesrahosting.net/" style="background: #FF99CC">WEBHOSTING</option>
</select>
</form>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 23-09-2003, 08:41 AM
Senior Webmaster
 
Join Date: Oct 2001
Location: Melbourne, AU
Posts: 456
Rep Power: 94
sufyan is on a distinguished road
Quote:
Originally posted by Ben-davis
php yang run dalam IIS, support session ke?
True, I ran PHP (CGI Module) with IIS6 Win 2003 about 3 weeks ago and it doesn't seem to support sessions after the page is redirected. However, on IIS5 Windows 2000, you shouldn't have a problem if you've given the appropriate permission to the session folder specified in php.ini

I'm still playing around to get the sessions to work with IIS6, but if anyone already knows the solution, that would be great. Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 23-09-2003, 08:30 PM
DingDang's Avatar
Normal User
 
Join Date: Jul 2001
Location: eRakan.Net
Posts: 118
Rep Power: 89
DingDang is on a distinguished road
Send a message via ICQ to DingDang Send a message via Yahoo to DingDang
try this : http://www.phpbb.com/kb/article.php?article_id=54

or try this : In Forum Configuration, goto the "Cookies" section and rename the cookie file by adding a "2" (no quotes) to the end, ie;
From: phpbb2mysql
To: phpbb2mysql2

FYI, web server doesn't have anything todo with PHPbb session.

good luck!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 23-09-2003, 10:33 PM
Senior Webmaster
 
Join Date: Oct 2001
Location: Melbourne, AU
Posts: 456
Rep Power: 94
sufyan is on a distinguished road
Quote:
Originally posted by DingDang
FYI, web server doesn't have anything todo with PHPbb session.
Actually, the web server has something (a lot actually) to do with sessions (in general). Without these sessions working with the web server, you won't get a session however your try. You can try and modify a script a million times, but it still won't work if the web server isn't accepting the session correctly. Apparently, in IIS6, it doesn't seem to accept PHP sessions correctly. If baddai is using an Apache web server, then it should be no problem, but if he's running of an IIS6 web server, he's going to run into problems.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 23-09-2003, 10:38 PM
Senior Webmaster
 
Join Date: Oct 2001
Location: Melbourne, AU
Posts: 456
Rep Power: 94
sufyan is on a distinguished road
The above post was a bit off topic...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 24-09-2003, 10:55 AM
DingDang's Avatar
Normal User
 
Join Date: Jul 2001
Location: eRakan.Net
Posts: 118
Rep Power: 89
DingDang is on a distinguished road
Send a message via ICQ to DingDang Send a message via Yahoo to DingDang
i am using IIS5 (at home), IIS6 (at office) and OmniHttpd (on my notebook) without any problem whatsoever regarding PHPnuke and PHPbb session . and my "FYI" is for PHPbb session and not for session in general

IMHO, PHPbb session, or any session, was created by the script, and if the script sucks, the output is sucks. don't blame the webserver

here, at http://www.phpbb.com/kb/article.php?article_id=54 , no explaination whatsoever regarding the webserver. and bare in mind that this is the official PHPbb article.

[out of topic] what do you mean by "still won't work if the web server isn't accepting the session correctly"? how do you differentiate between "accepting the session correctly" and "not accepting the session correctly"? unable to write to cookies? unable to manipulate the url? the ip? i just need some understanding here.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 24-09-2003, 11:45 AM
Senior Webmaster
 
Join Date: Oct 2001
Location: Melbourne, AU
Posts: 456
Rep Power: 94
sufyan is on a distinguished road
Relax... I said my post was a bit off topic... I was replying to Ben-davis post about IIS sessions. Please don't misinterpret what I was saying. Your post about fixing 'PHPBB' session was excellent.

What I was trying to convey was that there are issues with PHP sessions on IIS6 - please note, when I say IIS6, I am refering to IIS6 on Server editions of Windows, such as Windows 2003. This session problem will not effect the standard desktop edition of Windows running IIS6 such as WinXP Pro.

The problem is like this.
For example, in your php.ini, the session folder is set to, lets say, C:\PHP\sessiondata. In the destop edition of windows, php shouldn't have any problems writing to this 'sessiondata' folder because in these destop edition windows, it does not require special permission to write to certain folders.

However, in the server edition of windows, only user groups that have write permission to the 'sessiondata' folder will be able to write to that folder. In Windows server edition, an internet guest user has its own group called IUSR_[MachineName]. By default, this user group does not have permission to read or write to the 'sessiondata' folder. Without this permission, it will not be able to write and therefore the server does not accept/recognize the session.

However, if you use Apache with Windows 2003, you don't get this problem, because Apache doesn't use Window's permission - IUSR_* for internet guests.

However, with baddai's original questions, I think your post would have solved his 'Invalid Session' problem. I read the article and it's excellent.

Sorry if I caused any misunderstandings. No hard feelings
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 25-09-2003, 12:44 AM
DingDang's Avatar
Normal User
 
Join Date: Jul 2001
Location: eRakan.Net
Posts: 118
Rep Power: 89
DingDang is on a distinguished road
Send a message via ICQ to DingDang Send a message via Yahoo to DingDang
now that really clear out the situation. i am using PHP with windows 2000 advanced server - and play around with PHPnuke with it without any problem... i don't have windows 2003 atm, so i can't test it out.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 25-09-2003, 11:04 AM
white_neck's Avatar
Senior Webmaster
 
Join Date: Jan 2003
Location: dreamland
Posts: 240
Rep Power: 73
white_neck is on a distinguished road
Send a message via Yahoo to white_neck
btul dingdang... aku test run kat windows 2000 mmg takder prob lem sbb dier iis5... tp kater sufyan pun btul gak... iis6 tak support session... solution yg dingdang kasi pasal cookies tu bleh pakai gak...

kalau susah sgt run jer kat apache... kan senang...
__________________
^_^ <== stay happy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 25-09-2003, 12:08 PM
DingDang's Avatar
Normal User
 
Join Date: Jul 2001
Location: eRakan.Net
Posts: 118
Rep Power: 89
DingDang is on a distinguished road
Send a message via ICQ to DingDang Send a message via Yahoo to DingDang
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 25-09-2003, 12:09 PM
baddai's Avatar
Novice Webmaster
 
Join Date: Sep 2003
Location: Sarawak
Posts: 18
Rep Power: 0
baddai is on a distinguished road
Send a message via Yahoo to baddai
TQ bebanyak kat semua... byk gak aku belajar..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internal Server Error - ASP error ladyheart2612 Website Programming 0 21-07-2005 09:22 AM
nak display xml gune html bleh ke? bloodymary Website Design 9 24-11-2003 02:42 PM
PHPNUke cybersix Website Programming 16 30-08-2003 01:18 AM
korang suker tak gune PSP? ikan-todac Graphic Design 7 14-02-2003 01:55 AM
camne nak publish web gune php silverX Website Programming 7 20-11-2002 12:06 PM



All times are GMT +8. The time now is 12:15 PM. Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.


WebmasterMalaysia.com is Proudly Hosted by Exabytes Semi Dedicated Server.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58