PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
sixf00t4
Regular
Regular


Joined: Nov 05, 2006
Posts: 53

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

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 to the forums!


I hard coded my sites in posting.php
View user's profile Send private message Visit poster's website AIM Address
spasticdonkey
Client


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

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

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
Susann
Spouse Contemplates Divorce


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

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

"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 Visit poster's website
Gremmie
Moderator


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

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

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)
View user's profile Send private message
Gremmie
Moderator


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

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

This is probably old news to some of you, but this phpBB knowledge base entry helped me understand what phpBB is trying to accomplish:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
ia_bulywif
New Member
New Member


Joined: Jun 10, 2007
Posts: 7

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

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 Back to top

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: 10
Location: England

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

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


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

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

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
View user's profile Send private message Visit poster's website
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2758

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

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


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

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

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?
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7264
Location: Arizona

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

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


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

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

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


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

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

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
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7264
Location: Arizona

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

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.
View user's profile Send private message Visit poster's website
thunda
New Member
New Member


Joined: Jan 18, 2007
Posts: 1

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

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

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


Joined: Aug 29, 2004
Posts: 7264
Location: Arizona

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

thunda, and, thank YOU for using the search FIRST! There is a wealth of information here, yes, albeit, sometimes quite overwhelming.

Welcome to RavenPHPScripts.
View user's profile Send private message Visit poster's website
mba1983
New Member
New Member


Joined: Nov 22, 2007
Posts: 5

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

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 to the forums!
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 to the forums!


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: 5

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

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


Joined: Nov 22, 2007
Posts: 5

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

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
Only registered users can see links on this board!
Get registered or login to the forums!
are you saying that I need that to?
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: 5

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

My domain is
Only registered users can see links on this board!
Get registered or login to the forums!
; so I did set the cookie domain to example.be (just an example btw :p)

Hope this answers your question Smile
View user's profile Send private message
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2758

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

Can you link us to your site so we can try please?
View user's profile Send private message Visit poster's website
tiggy
New Member
New Member


Joined: Sep 18, 2005
Posts: 5

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

site is in development ... running locally ...
View user's profile Send private message
mba1983
New Member
New Member


Joined: Nov 22, 2007
Posts: 5

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

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

Thanks for looking
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number
Susann
Spouse Contemplates Divorce


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

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

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.
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic