jotate Posted September 24, 2007 Share Posted September 24, 2007 Trying to get a php based open source app working. Troubleshooting why I couldn't get anything to output to the screen on the default page, I've narrowed the crash down to this piece of code: define ('DB_ENGINE', SQL_MYSQL); $sql = CreateObject ( 'PHP.sql', DB_ENGINE, array( 'host' => DB_HOST, 'user' => DB_USER, 'password' => DB_PASSWORD, 'database' => DB_NAME, ) ); I'm kind of new to the level of PHP work used for this application, so I'm kind of left just diving into it. I can't tell where this object is used later. It's obviously setting up what I'd guess is the connection object. I did some searching on the CreateObject() function and found little to nothing that wasn't in languages not supported by my browser. If anyone could give me some tips or context to this little bit that might help me identify what's breaking in this, I'd greatly appreciate it. Quote Link to comment Share on other sites More sharing options...
fenway Posted September 24, 2007 Share Posted September 24, 2007 Have you tried using a standard connection string line frist? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.