Logic
Bobby Billionaire
- Feb 8, 2012
- 748
- 207
I set up IIS with MySQL 5.5 community server, MySQL Net Connector 6.5.4, and PHP 5 on my PC (Windows 7). I'm not opening a Hotel, just developing a theme for someone. Anyways, whenever I fill out the RevCMS configuration file, it is throwing an error when I load "localhost." Here's the error..
Line 48 is..
Which I know is what connects the CMS with the database. I've put the correct information in my configuration, and still throwing off that error. I'm not sure if I have to do anything specific since I'm using my home computer, but below is my config file.
I know my MySQL is working right because I can setup a connection & databases in Navicat.
Thanks for the help!
Fatal error: Call to undefined function mysql_connect() in C:\inetpub\wwwroot\app\class.engine.php on line 48
Line 48 is..
Code:
$this->connection = $this->mysql[$type]($_CONFIG['mysql']['hostname'], $_CONFIG['mysql']['username'], $_CONFIG['mysql']['password']);
Which I know is what connects the CMS with the database. I've put the correct information in my configuration, and still throwing off that error. I'm not sure if I have to do anything specific since I'm using my home computer, but below is my config file.
You must be registered for see links
I know my MySQL is working right because I can setup a connection & databases in Navicat.
Thanks for the help!