RE: Possible OT: ADONewConnection Error
Thanks I haven't tried that. What am I looking for in the php.ini? -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 7:32 AM To: marvc; [EMAIL PROTECTED] Subject: RE: Possible OT: ADONewConnection Error [snip] ADONewConnection: Unable to load database driver '' Fatal error: Call to a member function on a non-object in /wwwroot/htdocs/webdev/nubiint/includes/pnAPI.php on line 486 I get this error when trying to configure multisites in my postnuke site. I thought it was an ODBC issue but I've installed both MyODBC iODBC and still get the error. Anyone have any ideas on what else could be causing this? [/snip] Check the php.ini to make sure that the driver is not commented out. HTH! Jay -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
FW: Possible OT: ADONewConnection Error
-Original Message- From: marvc [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 10:18 AM To: 'Jay Blanchard' Subject: RE: Possible OT: ADONewConnection Error Here's what I found in my php.ini.dist file: ;; ; Dynamic Extensions ; ;; ; ; If you wish to have an extension loaded automatically, use the following ; syntax: ; ; extension=modulename.extension ; ; For example, on Windows: ; ; extension=msql.dll ; ; ... or under UNIX: ; ; extension=msql.so ; ; Note that it should be the name of the module only; no directory information ; needs to go here. Specify the location of the extension with the ; extension_dir directive above. ;Windows Extensions ;Note that MySQL and ODBC support is now built in, so no dll is needed for it. ; ;extension=php_bz2.dll ;extension=php_cpdf.dll ;extension=php_crack.dll ;extension=php_curl.dll ;extension=php_db.dll ;extension=php_dba.dll ;extension=php_dbase.dll ;extension=php_dbx.dll ;extension=php_domxml.dll ;extension=php_exif.dll ;extension=php_fbsql.dll ;extension=php_fdf.dll ;extension=php_filepro.dll ;extension=php_gd.dll ;extension=php_gd2.dll ;extension=php_gettext.dll ;extension=php_hyperwave.dll ;extension=php_iconv.dll ;extension=php_ifx.dll ;extension=php_iisfunc.dll ;extension=php_imap.dll ;extension=php_interbase.dll ;extension=php_java.dll ;extension=php_ldap.dll ;extension=php_mbstring.dll ;extension=php_mcrypt.dll ;extension=php_mhash.dll ;extension=php_mime_magic.dll ;extension=php_ming.dll ;extension=php_mssql.dll ;extension=php_msql.dll ;extension=php_oci8.dll ;extension=php_openssl.dll ;extension=php_oracle.dll ;extension=php_pdf.dll ;extension=php_pgsql.dll ;extension=php_printer.dll ;extension=php_shmop.dll ;extension=php_snmp.dll ;extension=php_sockets.dll ;extension=php_sybase_ct.dll ;extension=php_w32api.dll ;extension=php_xmlrpc.dll ;extension=php_xslt.dll ;extension=php_yaz.dll ;extension=php_zip.dll I don't see anything on ADO. Should I add it am I looking in the wrong place? If I am to add it what do I add? Thanks -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 9:38 AM To: marvc Cc: [EMAIL PROTECTED] Subject: RE: Possible OT: ADONewConnection Error [snip] I haven't tried that. What am I looking for in the php.ini? Check the php.ini to make sure that the driver is not commented out. [/snip] Look in your php.ini for extensions and .dll. If the first character of the line is ; it is commented out. Look for dealing with ADO HTH! Jay -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
RE: Possible OT: ADONewConnection Error
I also see this: [ODBC] ;odbc.default_db= Not yet implemented ;odbc.default_user = Not yet implemented ;odbc.default_pw= Not yet implemented ; Allow or prevent persistent links. odbc.allow_persistent = On ; Check that a connection is still valid before reuse. odbc.check_persistent = On ; Maximum number of persistent links. -1 means no limit. odbc.max_persistent = -1 ; Maximum number of links (persistent + non-persistent). -1 means no limit. odbc.max_links = -1 ; Handling of LONG fields. Returns number of bytes to variables. 0 means ; passthru. odbc.defaultlrl = 4096 ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation ; of uodbc.defaultlrl and uodbc.defaultbinmode odbc.defaultbinmode = 1 But I'm not sure if it has anything to do with what you mentioned. -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 9:38 AM To: marvc Cc: [EMAIL PROTECTED] Subject: RE: Possible OT: ADONewConnection Error [snip] I haven't tried that. What am I looking for in the php.ini? Check the php.ini to make sure that the driver is not commented out. [/snip] Look in your php.ini for extensions and .dll. If the first character of the line is ; it is commented out. Look for dealing with ADO HTH! Jay -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
RE: Possible OT: ADONewConnection Error
I take it no one is familiar with particular error? Didn't get anything on google. -Original Message- From: marvc [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 9:00 PM To: [EMAIL PROTECTED] Subject: Possible OT: ADONewConnection Error Anyone here familiar with the following error: ADONewConnection: Unable to load database driver '' Fatal error: Call to a member function on a non-object in /wwwroot/htdocs/webdev/nubiint/includes/pnAPI.php on line 486 I get this error when trying to configure multisites in my postnuke site. I thought it was an ODBC issue but I've installed both MyODBC iODBC and still get the error. Anyone have any ideas on what else could be causing this? Any responses are appreciated. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Possible OT: ADONewConnection Error
Anyone here familiar with the following error: ADONewConnection: Unable to load database driver '' Fatal error: Call to a member function on a non-object in /wwwroot/htdocs/webdev/nubiint/includes/pnAPI.php on line 486 I get this error when trying to configure multisites in my postnuke site. I thought it was an ODBC issue but I've installed both MyODBC iODBC and still get the error. Anyone have any ideas on what else could be causing this? Any responses are appreciated. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Error configuring myodbc ver 3.51
New list member and mysql newbie with first time post. I'm running into a problem getting MyODBC ver3.51 configured on my RH7.3 server running mysql 4.0.12. Anyone happen to be familiar with this error when configuring MyODBC: Could not find 'libmysqlclient' from '/usr/local/mysql/lib/mysql' or '/usr/local/mysql'. Try another location. I attempted to configure myodbc with the following: $./configure --prefix=/usr/local --with-iodbc=/usr/local --with-mysql-dirs=/usr/local/mysql/lib/mysql --with-mysql-includes=/usr/local/mysql/include/mysql --without-debug --enable-thread-safe I tried to change --with-mysql-dirs to --with-mysql-libs and got this error: Could not find the mysql include file So I changed --with-mysql-includes=/usr/local/mysql/include/mysql to --with-mysql-includes=/usr/local/mysql/include and got this error: Unable to find iodbc headers in /usr/local/include I changed --with-iodbc=/usr/local to --with-iodbc=DIR That returned the same error so I tried to change it to: --with-iodbc-includes=INCDIR and got this error: Unable to find iodbc headers in INCDIR So I try to remove the iodbc option and still get that error. I'm tapped as these are all steps outlined in the install document. Can anyone else here assist with this? Any responses are appreciated. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]