PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  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
p17blo
Regular
Regular


Joined: Jul 27, 2007
Posts: 77

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

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: 2401
Location: Iowa, USA

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

Does this sub-directory contain non-Nuke code that checks for cookies?
View user's profile Send private message
p17blo
Regular
Regular


Joined: Jul 27, 2007
Posts: 77

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

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

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


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

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

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().
View user's profile Send private message
p17blo
Regular
Regular


Joined: Jul 27, 2007
Posts: 77

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

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


Joined: Apr 30, 2004
Posts: 2852

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

You can check the phpBB Forums Configuration to make sure they are not using the same cookie name
View user's profile Send private message Visit poster's website
p17blo
Regular
Regular


Joined: Jul 27, 2007
Posts: 77

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

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


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

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

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


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

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

Also read the link on setcookie(). You can set a path for which that cookie is valid to help avoid conflicts.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum