Problems on connecting MySQL with PHP just after starting WAMP services
Posted by: auttranadhie (---.Red-79-151-8.staticIP.rima-tde.net)
Date: December 07, 2008 01:42PM

Dear all,

Since a few days ago I have noticed that when connecting to MySQL databases I have receiving error returns saying connections are not possible. Following I am detailing features:

1. Error only happens after starting WAMP services and when I open a PHP after that. Then, as tyoing F5 for updating page everything works properly.

2. I should say that connection function is allocated in other PHP file, in order not to repeat the same lines, and it is called by a include(); sentence.

Has anybody any suggestion?

Thanks in advance and regards,

--
Alberto Uttranadhie
auttranadhie@yahoo.com

Options: ReplyQuote
Re: Problems on connecting MySQL with PHP just after starting WAMP services
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: December 07, 2008 06:21PM

possibly just ur browser. Clear the history and set browesr to get new page everytime

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Problems on connecting MySQL with PHP just after starting WAMP services
Posted by: auttranadhie (---.Red-79-151-8.staticIP.rima-tde.net)
Date: December 07, 2008 07:12PM

Hi, Steven,

I have just tried your solution before posting my question, and even I tested with another browsers and other computers, but the problem still occurs.

Could it be with any configuration item in INI files or so?

Thanks again and regards,

--
Alberto Uttranadhie
auttranadhie@yahoo.com

Options: ReplyQuote
Re: Problems on connecting MySQL with PHP just after starting WAMP services
Posted by: yfastud (Moderator)
Date: December 07, 2008 09:43PM


Options: ReplyQuote
Re: Problems on connecting MySQL with PHP just after starting WAMP services
Posted by: auttranadhie (---.hispasat.es)
Date: December 09, 2008 09:35AM

Hi all again,

Could my problem be with the use of "session_start();" function?

I mean, when opening my page there is an "include()" command to a PHP file containing "session_start();" and it crashes at the first time but not after reloading page by F5 typing or so.

Should I define "session_start();" in any other (or a correct/better) way?

As usual, thanks in advance a regards,

--
Alberto Uttranadhie
auttranadhie@yahoo.com

Options: ReplyQuote


Sorry, only registered users may post in this forum.