Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 07:41:21 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155551 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: WebisteBaker 2.8.2 on Windows 2008 with FastCGI  (Read 449 times)
scheltel

Offline Offline

Posts: 19


« on: August 11, 2011, 11:03:24 AM »

Hi,

I'm trying to install WebsiteBaker 2.8.2 on a Windows 2008 Webserver with PHP (5.3.6.0) FastCGI. According the information in the Install form the prerequisites are met (see attachment). And when the Install form is submitted a config.php file is created. But after that a blank screen (/install/save.php) is shown.

When I try to access the site on the server I'm getting the following error message:
Quote
PHP Fatal error:  Call to undefined function mysql_connect() in [basefolder websites]\[site name]\framework\class.database.php on line 61

Any ideas what can be wrong?
Logged
badknight
Security Team

Offline Offline

Posts: 246



WWW
« Reply #1 on: August 11, 2011, 11:08:51 AM »

Hi,

I'm trying to install WebsiteBaker 2.8.2 on a Windows 2008 Webserver with PHP (5.3.6.0) FastCGI. According the information in the Install form the prerequisites are met (see attachment). And when the Install form is submitted a config.php file is created. But after that a blank screen (/install/save.php) is shown.

When I try to access the site on the server I'm getting the following error message:
Quote
PHP Fatal error:  Call to undefined function mysql_connect() in [basefolder websites]\[site name]\framework\class.database.php on line 61

Any ideas what can be wrong?

look at the config.php is there something inside or is it empty?
Logged

Ich würde gern die Welt verändern, doch Gott gibt mir den Quellcode nicht...
BlackBird
AddOn Development
*
Offline Offline

Posts: 2069



WWW
« Reply #2 on: August 11, 2011, 11:09:08 AM »

Apache webserver or IIS?
Logged

Alle großen Veränderungen beginnen im Kleinen
scheltel

Offline Offline

Posts: 19


« Reply #3 on: August 11, 2011, 11:14:12 AM »

Code:
<?php

define
('DB_TYPE''mysql');
define('DB_HOST''localhost');
define('DB_USERNAME''test');
define('DB_PASSWORD''test');
define('DB_NAME''wb_test');
define('TABLE_PREFIX''');

define('WB_PATH'dirname(__FILE__));
define('WB_URL''http://[site name]');
define('ADMIN_PATH'WB_PATH.'/admin');
define('ADMIN_URL''http://[site name]/admin');

require_once(
WB_PATH.'/framework/initialize.php');

?>


I think this config.php looks fine.
Logged
scheltel

Offline Offline

Posts: 19


« Reply #4 on: August 11, 2011, 11:15:15 AM »

Apache webserver or IIS?

It's a Windows 2008 Web Server with FastCGI PHP.
Logged
DarkViper
Development Team
*****
Offline Offline

Posts: 1253


« Reply #5 on: August 11, 2011, 11:15:36 AM »

It seems , thus whether the php-mysql client module is not installed.
That's way the function mysql_connect() can not be found.
Logged

Anleitungen lesen und selber nachdenken ist anstrengend...  Da lass ich doch lieber andere für mich denken...

In 1984:  Nineteen Eighty-Four is a unrealistic utopia!!
In 2012:  Nineteen Eighty-Four is a little piece only of our reality!!
BlackBird
AddOn Development
*
Offline Offline

Posts: 2069



WWW
« Reply #6 on: August 11, 2011, 11:23:55 AM »

Windows 2008 comes with IIS (Internet Information Services). But you can also install Apache on W2K8. So that's no answer. Wink

IIS is not supported by WB.
Logged

Alle großen Veränderungen beginnen im Kleinen
scheltel

Offline Offline

Posts: 19


« Reply #7 on: August 11, 2011, 11:33:29 AM »

It seems , thus whether the php-mysql client module is not installed.
That's way the function mysql_connect() can not be found.

The php-mysql client was not installed indeed. Thank you!
Logged
scheltel

Offline Offline

Posts: 19


« Reply #8 on: August 11, 2011, 11:34:27 AM »

Windows 2008 comes with IIS (Internet Information Services). But you can also install Apache on W2K8. So that's no answer. Wink

IIS is not supported by WB.

I want to try to install it on IIS 7 with FastCGI.
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!