RE: **SPAM**::Re: [midgard-user] HELP : different behaviour between midgard 1.5 and 1.7
"Rialhon, Jean Yves" <[email protected]> Wed, 31 Aug 2005 15:25:53 +0200
| Newsgroups | gmane.comp.web.midgard.user |
|---|---|
| Message-ID | <DC4DF541C390BB48BC143053944421A00273197A@excbebr202> |
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:pp-VVDi8QVAvoBWk0Htik3J/[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: user-unsubscribe-b5ZhpPVuLA+tlBvVaVFjCkB+6BGkLq7r@public.gmane.org For additional commands, e-mail: [email protected]