nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

CDatabase::Connect() error

This is a discussion on CDatabase::Connect() error within the Databases servers forums, part of the Mastering Servers category; Hi All, I have downloaded a free script (PHP) expense report Software from Expense Report Software - Printable Expense Reports ...


Go Back   nixCraft Linux Forum > Mastering Servers > Databases servers

Linux answers from nixCraft.


Databases servers Discussions of databases of all types - especially MySQL.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 31-01-2009, 11:14 AM
Junior Member
User
 
Join Date: Nov 2008
OS: Debian
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mickynixcraft is on a distinguished road
Default CDatabase::Connect() error

Hi All,

I have downloaded a free script (PHP) expense report Software from Expense Report Software - Printable Expense Reports and deployed it on my WebSERVER but I am getting an error : CDatabase::Connect() error

My WebSERVER setup is detailed Below:
Currently I have deployed site in ( XP )C:\intepub\www with IIS+PHP 4.0 and using MySQL 5.0 Running in VmWARE (RHEL4+APACHE2.0+PHP 5.0+MySQL 5.0) insatalled in same Machine! (This is why have done beacuse first i tried the script in my VmWARE (LAMP) but i was getting there a single blank Page rather a Login screen and after bit google i got that i should try PHP 4.0 so i tried IIS+PHP 4.0).

I have edited site.xml as
<database type="mysql">
<server>10.1.1.3</server>
<login>error</login>
<password>butterfly</password>
<default>expensereport</default>
</database>

and I have allowed all GRANT in VMWARE MySQL for "error". and in my XP machine (10.1.1.5) I have configured ODBC Drivers for MySQL. and this working propely and shows "Sucess: Connect was made!"
My XP Host Address = 10.1.1.5
My VmWARE Address = 10.1.1.3
All other sites i have deployed are working fine! and connectivity is proper.

NOW I am only Getting this error when i try to access http://10.1.1.5

CDatabase::Connect() error


Please HELP!!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Cannot connect to Internet mvibin CentOS / RHEL / Fedora 7 10-02-2009 04:28 PM
fedora 7 connect dsl-502T anthony pereira Getting started tutorials 4 22-12-2007 02:10 PM
Connect mysql in c raj Databases servers 1 10-08-2007 08:10 PM
Invalid ICMP type 3 code 3 error to a broadcast -samba error raj Linux software 0 09-07-2006 04:38 AM
example for string connect to a command. ryan Shell scripting 2 22-02-2005 01:05 PM


All times are GMT +5.5. The time now is 02:57 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38