#31063 [NEW]: dreamweaver canot connect to mysql due to php "mysql_connect()" error
| From: | belpoub at yahoo dot ca | Date: | Sun, 12 Dec 2004 00:28:48 +0000 |
| Subject: | #31063 [NEW]: dreamweaver canot connect to mysql due to php "mysql_connect()" error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-70050@lists.php.net to get a copy of this message | ||
From: belpoub at yahoo dot ca
Operating system: win XP
PHP version: 5CVS-2004-12-12 (dev)
PHP Bug Type: Scripting Engine problem
Bug description: dreamweaver canot connect to mysql due to php "mysql_connect()" error
Description:
------------
Macromedia Dreamweaver 6 and 7 and 7.1 cannot connect to mysql due to a
php 5 error.
Going back to php4 solve the problem.
** Here line from error log in the Apache server:
[Sat Dec 11 18:16:57 2004] [error] PHP Fatal error: Call to undefined
function mysql_connect() in c:\\program files\\apache
group\\Apache\\htdocs\\php-test\\_mmserverscripts\\mysql.php on line 49
** here the code from the php page dramweaver creates to connect to the
database:
function Open()
{
if ($this->connectionId = mysql_connect($this->hostname,
$this->username, $this->password))
{
$this->isOpen = ($this->database == "") ? true :
mysql_select_db($this->database, $this->connectionId);
}
--
Edit bug report at http://bugs.php.net/?id=31063&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31063&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31063&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31063&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31063&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31063&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31063&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31063&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31063&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31063&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31063&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31063&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31063&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31063&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31063&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31063&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31063&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31063&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31063&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31063&r=mysqlcfg