Hi, I'm migrating from midgard 1.5 + php4 + mysql 3.23 to midgard 1.7 + php4 + mysql 4.0.
When specify explicitely the database handler it works perfect. I was hopping to find another solution preventing me to do such a major change in all pages. Thank you very much. JY -----Original Message----- From: Piotras [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 31, 2005 14:29 To: [email protected] Subject: **SPAM**::Re: [midgard-user] HELP : different behaviour between midgard 1.5 and 1.7 "Rialhon, Jean Yves" <[EMAIL PROTECTED]> wrote: > if ($resultat = mysql_query($requete)) return $resultat; > else erreur("Erreur dans la demande : $requete<BR>".mysql_error()); > } common_function contains display func : You should use connection handler in mysql_query. http://php.net/manual/en/function.mysql-query.php > Warning: mysql_query(): A link to the server could not be > established in /usr/lib/apache2/modules/midgard-root-nommp.php(41) : > eval()'d code on line 159 > > > this error occurs since i moved from midgard 1.5 to 1.7. > never met such issue on 1.5. Did you update php4 and MySQL too? Piotras --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
