Hello friends!
I have an installation of wordpress 2.1.2 with "Connections" theme installed. Due to a typical requirement of my site, not everybody can register at my blog site. Only special members who register separately (I have created a user authentication system in PHP using cookies.) have that access.
Now when I log in and access the blog an error message is displayed:
No posts found matching your criteria
I found in the troublehsooting section that removing cookies and browser cache solves the problem. It did solve the problem but I need to have the cookies in place. Why does the wordpress blog interfere with the cookies? Plz help!:(
The structure of my site:
Root
- blog/wordpress files
- members/login.php
The login.php sets the cookie in the following way:
setcookie('xsreality_username', $username, 0, '/','',false);
setcookie('xsreality_pass', md5($password), 0, '/','',false);
I have tried hard but cant understand whats going wrong with it?