Forum Moderators: coopster

Message Too Old, No Replies

PHP, MySQL or the browser...

what might this be?

         

madcat

1:44 pm on Mar 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi:

Here is the scenario:

I installed FoxServ (foxserv.net) so that I'd be able to develop on my local windows xp machine...it contains the latest versions of PHP, MySQL and Apache.

I want to use Wordpress (wordpress.org) as my content management system...it's a blogging software.

I've installed Wordpress and there was no problem creating the database tables- everything seemed to check out...

Except for the fact that I was unable to login with the username and password I was assigned. The page simply refreshes everytime I try the username/pass combo and doesn't take me into the admin control. I've checked that cookies were enabled and cleared to the best of my knowledge. I am able to make entries in the MySQL tables too...

Is this a browser thing? If both MySQL, PHP, Apache, cookies and Wordpress check out, than what might be stopping me from logging in?

Is this a browser thing? Or a programming thing? It might be too difficult to answer but I suppose maybe someone will have an idea for browser tweakig.

Thanks for any help!

ergophobe

11:53 pm on Mar 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Impossible to say based on the information given, but I know what I would check first.

Delete all cookies or at least all cookies by localhost. Then try to log in. I've had it where two php apps on the same domain mess up each other's sessions. If that's the case, you might want to rename the session.

Also, let me guess. Your machine is not set with E_ALL error reporting (which it should be if it's your development platform). The reason I guess that is because if it were, you would have warnings and notices littered all over your page when you try to use WordPress. Looks nice, but the underlying code needs lots of work

Tom

nir0

12:04 am on Mar 31, 2004 (gmt 0)

10+ Year Member



Try using sessions instead of cookies