| Author |
Message |
sixf00t4 Regular


Joined: Nov 05, 2006 Posts: 51
|
Posted:
Fri Feb 02, 2007 8:37 am |
|
| binhaus wrote: | in my case i have 3 domain parked in on host.. the one .com is main one and other like .net .info .org is parked..
|
I'm in the same boat. see my post over at
I hard coded my sites in posting.php |
|
|
|
 |
spasticdonkey Client

Joined: Dec 02, 2006 Posts: 109 Location: Texas, USA
|
Posted:
Thu Feb 22, 2007 1:54 pm |
|
well have tried the fixes and for some reason, some mozilla users (not all) are still having the issue. They have deleted their cookies and still can't post or pm. Read somewhere else that you should have domain set like
not
Is this true? |
|
|
|
 |
Susann Spouse Contemplates Divorce

Joined: Dec 19, 2004 Posts: 2094 Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Thu Feb 22, 2007 4:56 pm |
|
"Read somewhere else that you should have domain set like .mysite.com"
Iīve read this too long time ago but if I remember correctly this was about other (cookie) issues with a stand alone phpBB forum. At that time the version 2.0.21 wasnīt released. However, I īve never used this with dot before and I donīt have any issues. |
|
|
|
 |
Gremmie Moderator

Joined: Apr 06, 2006 Posts: 2346 Location: Iowa, USA
|
Posted:
Thu Mar 01, 2007 11:10 am |
|
I upgraded to .22 a few weeks ago and now I have users complaining about this, although personally I (and a few others) have not seen the problem (and I use Firefox).
I will try changing my cookie name to match my site name, but why in the world would that make a difference?
Currently I have
domain: mysite.com
name: phpbbmysql (or whatever the default is, I can't remember)
path: /
session length: 3600 (the default I believe) |
|
|
|
 |
Gremmie Moderator

Joined: Apr 06, 2006 Posts: 2346 Location: Iowa, USA
|
Posted:
Thu Mar 01, 2007 12:34 pm |
|
This is probably old news to some of you, but this phpBB knowledge base entry helped me understand what phpBB is trying to accomplish:
|
|
|
|
 |
ia_bulywif New Member


Joined: Jun 10, 2007 Posts: 7
|
Posted:
Sat Jun 23, 2007 3:14 pm |
|
Thank you very much for the info it worked for me as well... |
|
|
|
 |
imago3d New Member


Joined: Jun 16, 2007 Posts: 1
|
Posted:
Tue Jul 31, 2007 11:31 am |
|
| Raven wrote: | I may be onto something here (or not). In posting.php, I decided to find out exactly what was happening to cause that error. In posting.php, I added debug code to:
| Code: | // session id check introduced v2.0.22
if ($sid == '' || $sid != $userdata['session_id'])
{
$error_msg .= (!empty($error_msg)) ? '<br />' . $lang['Session_invalid'] : $lang['Session_invalid'];
} |
so that it looked like this:
| Code: | // session id check introduced v2.0.22
if ($sid == '' || $sid != $userdata['session_id'])
{
$error_msg .= (!empty($error_msg)) ? '<br />' . $lang['Session_invalid']." x - sid=$sid -- userdata_sid = ".$userdata['session_id'] : $lang['Session_invalid']." {else} - sid=$sid -- userdata_sid = ".$userdata['session_id'];
} |
|
Changing that in posting.php worked for me. Thanks for the fix! |
|
|
|
 |
fpg-merlin New Member


Joined: Sep 06, 2007 Posts: 10 Location: England
|
Posted:
Thu Sep 06, 2007 3:51 pm |
|
OK guys I'm very new to all this..
and I'm struggling..
ok I understand what I need to change but where I do that I have no idea.
I'm using Nuke8.1
I'm assuming I go in to the control admin pannel. go to Preferences. then to general. and adjust the top 2 forms
Site Name: FairPlayGaming
Site URL: fairplaygaming.org.uk
as I use a splash screen will I have to add the sub directory to get to the nuke root
fairplaygaming.org.uk/site
BTW I have also amended the script as Raven posted above..
Still no joy
Thanks for your time |
|
|
|
 |
fpg-merlin New Member


Joined: Sep 06, 2007 Posts: 10 Location: England
|
Posted:
Thu Sep 06, 2007 3:58 pm |
|
I've also just notice this on private messages
Warning: main(includes/bbcode.php) [function.main]: failed to open stream: No such file or directory in /home/sites/fairplaygaming.org.uk/public_html/site/modules/Private_Messages/index.php on line 68
 |
|
|
|
 |
evaders99 Moderator

Joined: Apr 30, 2004 Posts: 2749
|
Posted:
Thu Sep 06, 2007 4:09 pm |
|
You'll need to go to your Forums Admin Panel to change the cookie settings there.
Looks like you're also missing hte includes/bbcode.php file
Then, I haven't used phpNuke 8.1. It is another untested, buggy release. I hope you didn't pay money for the no-support that FB offers. |
|
|
|
 |
fpg-merlin New Member


Joined: Sep 06, 2007 Posts: 10 Location: England
|
Posted:
Thu Sep 06, 2007 4:18 pm |
|
Thanks.
I changed the cookies there no joy
No I have the includes/bbcode.php
should they be in site/forums/includes/bbcode.php or site/includes/bbcode.php
I see 2 includes folders
yep paid for it Ģ12 and nice intro to Nuke with 2 days experance lol.
What I did notice was the forums admin pannel didn't have configeration page. Is that normal for Nuke? |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 7236 Location: Arizona
|
Posted:
Fri Sep 07, 2007 6:51 am |
|
If you are only two days into it, I would strongly recommend you dump that garbage and pick up RavenNuke from this site here. You cannot get better support! |
|
|
|
 |
fpg-merlin New Member


Joined: Sep 06, 2007 Posts: 10 Location: England
|
Posted:
Fri Sep 07, 2007 9:10 am |
|
we can all post now it kicked in this morning after checking the cookies last night.
So thanks for that the only problem we have is a missing file I think.
We have a lot of errors showing in the private messages
| Quote: |
Warning: main(includes/bbcode.php) [function.main]: failed to open stream: No such file or directory in ***path removed***/site/html/modules/Private_Messages/index.php on line 68
Warning: main(includes/bbcode.php) [function.main]: failed to open stream: No such file or directory in ***path removed***/site/html/modules/Private_Messages/index.php on line 68
Warning: main(includes/bbcode.php) [function.main]: failed to open stream: No such file or directory in ***path removed***/site/html/modules/Private_Messages/index.php on line 68
Warning: main() [function.include]: Failed opening 'includes/bbcode.php' for inclusion (include_path='.:/usr/share/pear') in ***path removed***/site/html/modules/Private_Messages/index.php on line 68
Warning: main(includes/functions_post.php) [function.main]: failed to open stream: No such file or directory in ***path removed***/site/html/modules/Private_Messages/index.php on line 69
|
|
|
|
|
 |
fpg-merlin New Member


Joined: Sep 06, 2007 Posts: 10 Location: England
|
Posted:
Sun Sep 23, 2007 4:14 am |
|
My web site is not in my public_html as I constucted it whilst my old site used that folder, I just costucted it in a sub folder and use a spach screen to rediect to the new site.
have set on my config:
server cookie: fairplaygaming
name: fairplaygaming.org.uk
although my path is: /fpg/html/index.php
I'm asuming that because my site is not at the server root(public_html) and is 2 folders back, this is what is causing the problem.
To that end would it cause any problems with RN, if I was to move the site forward to public_html |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 7236 Location: Arizona
|
Posted:
Sun Sep 23, 2007 7:03 am |
|
If you move the site forward, you simply need to change the Site URL within Preferences and the Domain Name within the Forums configuration to match your new path.
Just remember that in Preferences the URL must have the "http://" in front, but in Forums configuration, leave OFF the "http://".
In addition, if you are using the .staccess file (CGIAuth) for NukeSentinel protection of your admin.php file, you will need to also fix the absolute path to that file in .htaccess. |
|
|
|
 |
thunda New Member


Joined: Jan 18, 2007 Posts: 1
|
Posted:
Thu Oct 04, 2007 6:07 am |
|
thanks man it helped... it was the cookie name domain...
<3 =) |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 7236 Location: Arizona
|
Posted:
Thu Oct 04, 2007 6:45 am |
|
thunda, and, thank YOU for using the search FIRST! There is a wealth of information here, yes, albeit, sometimes quite overwhelming.
Welcome to RavenPHPScripts. |
|
|
|
 |
mba1983 New Member


Joined: Nov 22, 2007 Posts: 5
|
Posted:
Thu Nov 22, 2007 8:08 am |
|
I have scoured the web looking for the answer to this problem and have found nothing that helps me. Here is my situation
About 10% of my users have reported getting this error when trying to update there profile. I have tried every fix mentioned in including the editing out
| Code: | // session id check
if ($sid == '' || $sid != $userdata['session_id'])
{
message_die(GENERAL_ERROR, 'Invalid_session');
} |
but only found this code in login.php listed one time unlike the "There are 9 occurences in 6 files:" as reported in the link above.
I have checked and changed my cookie settings here is a screeny to double check
I also changed
| Code: | $ip_check_s = substr($userdata['session_ip'], 0, 6);
$ip_check_u = substr($user_ip, 0, 6); |
to
| Code: | $ip_check_s = substr($userdata['session_ip'], 0, 0);
$ip_check_u = substr($user_ip, 0, 0); |
I am using:
RavenNuke v2.10.01
PHPBB 2.0.22
site is
Only about 10% of my users are having this problem and it only seems to happen when they are trying to change there forums profile, they are able to post in the forums. I did read above that changing the cookies didnt help one person until in the morning. I changed they last night but have not had any of my 10% on this morning to tell me if the problem is still there. I will update you guys as soon as one of them comes around but it being Turkeyday it might be tomorrow before I can update you guys.
Thanks for the help |
|
|
 |
 |
tiggy New Member


Joined: Sep 18, 2005 Posts: 5
|
Posted:
Thu Nov 22, 2007 1:58 pm |
|
Hi guys,
I had the same problem and I think there is some kinda check on the cookie settings especialy on the "Cookie domain" setting ...
I changed this setting to everything and it didn't work until I changed it to the real domain the site in on.
Hope this helps you guys ... |
|
|
|
 |
mba1983 New Member


Joined: Nov 22, 2007 Posts: 5
|
Posted:
Fri Nov 23, 2007 8:52 am |
|
The Problem is still there for my users.
| Quote: | | I changed this setting to everything and it didn't work until I changed it to the real domain the site in on. |
I have it set to my domain name just with out the are you saying that I need that to? |
|
|
 |
 |
tiggy New Member


Joined: Sep 18, 2005 Posts: 5
|
Posted:
Fri Nov 23, 2007 10:17 am |
|
My domain is ; so I did set the cookie domain to example.be (just an example btw :p)
Hope this answers your question  |
|
|
|
 |
evaders99 Moderator

Joined: Apr 30, 2004 Posts: 2749
|
Posted:
Fri Nov 23, 2007 10:37 pm |
|
Can you link us to your site so we can try please? |
|
|
|
 |
tiggy New Member


Joined: Sep 18, 2005 Posts: 5
|
Posted:
Sat Nov 24, 2007 12:44 am |
|
site is in development ... running locally ... |
|
|
|
 |
mba1983 New Member


Joined: Nov 22, 2007 Posts: 5
|
Posted:
Sat Nov 24, 2007 9:21 am |
|
The site im still having problems with is but as I mentioned above it is only about 10% of my users having this problem.
Thanks for looking |
|
|
 |
 |
Susann Spouse Contemplates Divorce

Joined: Dec 19, 2004 Posts: 2094 Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Sat Nov 24, 2007 9:36 am |
|
The 10 % of your users with this problem need to clear cookies and cache and possible they should try it with an other browser too. |
|
|
|
 |
|
|
|
|