Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BBtoNuke
Author Message
sixf00t4
Regular
Regular



Joined: Nov 05, 2006
Posts: 96

PostPosted: Fri Feb 02, 2007 8:37 am Reply with quote

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 Only registered users can see links on this board! Get registered or login!

I hard coded my sites in posting.php
 
View user's profile Send private message Visit poster's website AIM Address
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Thu Feb 22, 2007 1:54 pm Reply with quote

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

Code:
.mysite.com

not
Code:
mysite.com


Is this true?
 
View user's profile Send private message Visit poster's website
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Thu Feb 22, 2007 4:56 pm Reply with quote

"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.
 
View user's profile Send private message
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Thu Mar 01, 2007 11:10 am Reply with quote

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? Confused

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)

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
Gremmie







PostPosted: Thu Mar 01, 2007 12:34 pm Reply with quote

This is probably old news to some of you, but this phpBB knowledge base entry helped me understand what phpBB is trying to accomplish:

http://www.phpbb.com/kb/article.php?article_id=54
 
ia_bulywif
New Member
New Member



Joined: Jun 10, 2007
Posts: 7

PostPosted: Sat Jun 23, 2007 3:14 pm Reply with quote

Thank you very much for the info it worked for me as well...
 
View user's profile Send private message
imago3d
New Member
New Member



Joined: Jun 16, 2007
Posts: 1

PostPosted: Tue Jul 31, 2007 11:31 am Reply with quote

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!
 
View user's profile Send private message
fpg-merlin
New Member
New Member



Joined: Sep 06, 2007
Posts: 15
Location: England

PostPosted: Thu Sep 06, 2007 3:51 pm Reply with quote

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 Sad

Thanks for your time
 
View user's profile Send private message Visit poster's website
fpg-merlin







PostPosted: Thu Sep 06, 2007 3:58 pm Reply with quote

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

HitsFan
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Thu Sep 06, 2007 4:09 pm Reply with quote

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.

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
fpg-merlin







PostPosted: Thu Sep 06, 2007 4:18 pm Reply with quote

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: 9457
Location: Arizona

PostPosted: Fri Sep 07, 2007 6:51 am Reply with quote

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!

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
fpg-merlin







PostPosted: Fri Sep 07, 2007 9:10 am Reply with quote

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







PostPosted: Sun Sep 23, 2007 4:14 am Reply with quote

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







PostPosted: Sun Sep 23, 2007 7:03 am Reply with quote

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
New Member



Joined: Jan 18, 2007
Posts: 1

PostPosted: Thu Oct 04, 2007 6:07 am Reply with quote

thanks man it helped... it was the cookie name domain...

<3 =)
 
View user's profile Send private message
montego







PostPosted: Thu Oct 04, 2007 6:45 am Reply with quote

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
New Member



Joined: Nov 22, 2007
Posts: 5

PostPosted: Thu Nov 22, 2007 8:08 am Reply with quote

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 Only registered users can see links on this board! Get registered or login! 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

Image
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 registered users can see links on this board! Get registered or login!

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
 
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number
tiggy
New Member
New Member



Joined: Sep 18, 2005
Posts: 8

PostPosted: Thu Nov 22, 2007 1:58 pm Reply with quote

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 ...
 
View user's profile Send private message
mba1983







PostPosted: Fri Nov 23, 2007 8:52 am Reply with quote

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 http:// are you saying that I need that to?
 
tiggy







PostPosted: Fri Nov 23, 2007 10:17 am Reply with quote

My domain is www.example.be ; so I did set the cookie domain to example.be (just an example btw :p)

Hope this answers your question Smile
 
evaders99







PostPosted: Fri Nov 23, 2007 10:37 pm Reply with quote

Can you link us to your site so we can try please?
 
tiggy







PostPosted: Sat Nov 24, 2007 12:44 am Reply with quote

site is in development ... running locally ...
 
mba1983







PostPosted: Sat Nov 24, 2007 9:21 am Reply with quote

The site im still having problems with is Only registered users can see links on this board! Get registered or login! but as I mentioned above it is only about 10% of my users having this problem.

Thanks for looking
 
Susann







PostPosted: Sat Nov 24, 2007 9:36 am Reply with quote

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.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BBtoNuke

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©