An Occasional Error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
JakeJ
Forum Regular
Posts: 675
Joined: Thu Dec 10, 2009 6:27 pm

An Occasional Error

Post by JakeJ »

index.php in my web root will display a user and password box in a form if the user is not already logged in.

SOMETIMES. Rarely, but once in a while, when a user visits the page, the page will display but there will be a pop up telling me I need a user name and password to connect to mydomain.com:80.

There is nothing at all in my programming which would cause this. I don't have any hidden code. The user authentication on the form is MySQL based, not apache based.

Anyone seen this before? How do I get around it? It's an intermittent problem but it will annoy our clients when we go live.

**Other helpful information: There is no javascript on the page and the rest of it is php and html. It starts a session but that is properly placed before any output. It's hosted on a 64 bit Ubuntu VPS. Also, I don't have an .htaccess file.
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: An Occasional Error

Post by Eran »

You should probably contact your hosting provider regarding this
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: An Occasional Error

Post by Eran »

I recently stumbled across this article and remembered this post. Might be relevant - http://www.mysqlperformanceblog.com/200 ... tallation/
Post Reply