Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Bug Reports - Other Issues
Author Message
p17blo
Regular
Regular



Joined: Jul 27, 2007
Posts: 77

PostPosted: Fri Aug 24, 2007 2:09 am Reply with quote

Hi,

I am having cookie conflicts that are causing a pre-existing part of my site not to function, but only if the visitor has hit the RN pages first.

If the visitor goes directly to an existing subdirectory no problem
If the visitor goes to my Index page containing RN and then on to the sub-directory I end up with a blank page
If the visitor cleans cookies out and the hits refresh, no problem at all.

This has only become a problem when I moved my RN site online so:

Apart from within the forum are there any other places that a cookie is set (I am guessing yes) and if so what control do I have over them and is there any suggestions about what should be changed to avoid a conflict

Paul
 
View user's profile Send private message
Gremmie
Former Moderator in Good Standing



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

PostPosted: Fri Aug 24, 2007 7:01 am Reply with quote

Does this sub-directory contain non-Nuke code that checks for cookies?

_________________
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
p17blo







PostPosted: Fri Aug 24, 2007 9:07 am Reply with quote

Yes, the sub-directory contains non-Nuke code that does check for cookies.

Paul
 
Gremmie







PostPosted: Fri Aug 24, 2007 9:35 am Reply with quote

I'm no cookie expert, so take this with a grain of salt. You aren't running phpBB in that subdirectory are you? You can change the name of your forums cookie in the Admin Panel / Forums. But if you haven't hit your forums that cookie probably isn't causing problems. It sounds more like you'll want to modify the code in the subdirectory to use a different cookie name, or set the path for which the cookies it needs are valid. See the php.net page for setcookie().
 
p17blo







PostPosted: Fri Aug 24, 2007 10:03 am Reply with quote

Well I am actually running PHPBB in ANOTHER sub directory but that is fine. The problem is nothing that is integrated or ported into Nuke

The script in that folder is ZENDed so I can't modify anything about it Sad

Paul
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Fri Aug 24, 2007 12:28 pm Reply with quote

You can check the phpBB Forums Configuration to make sure they are not using the same cookie name

_________________
- 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
p17blo







PostPosted: Fri Aug 24, 2007 12:50 pm Reply with quote

evaders99 wrote:
You can check the phpBB Forums Configuration to make sure they are not using the same cookie name

The PHPBB isn't a problem, it works fine. It is another script in another sub-directory

Paul
 
montego
Site Admin



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

PostPosted: Sat Aug 25, 2007 12:04 am Reply with quote

Well, it looks like the non-phpBB side of nuke is using "admin", "user" and "lang" for cookie names. So, check the cookie code in your other scripts to see what names it is using. You may just be stuck with having to change code for one or the other so that they will work together. That is just the nature of the "web game" when you have disparate systems trying to co-habitate nicely and they do not always do... just like in the human realm...

_________________
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
Gremmie







PostPosted: Sat Aug 25, 2007 12:29 pm Reply with quote

Also read the link on setcookie(). You can set a path for which that cookie is valid to help avoid conflicts.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Bug Reports - Other Issues

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 ©