Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

- SQL state S1C00 in SQLTransact error - help?: msg#00062

db.unixodbc.devel

Subject: - SQL state S1C00 in SQLTransact error - help?


Hi folks,

I'm trying to set up a Solaris box to run phpBB forums software using
freetds and unixODBC to connect to an MSSql db.

All elements were installed without fanfare and only default settings.

I've managed to get the dsn working and can connect to the database for
just about everything however, at the point where I try to register a
user the following error is spat.

Warning: SQL error: [unixODBC]Option not supported, SQL state S1C00 in
SQLTransact in /WWW/FORUMS/db/mssql-odbc.php on line 195

Can anyone shed any light on this error message? We've done some tests
and the driver can handle basic transactions which on the face of it
seems to be all that's being requested here.

Environment
phpBB
freetds-0.61
unixODBC-2.2.5
php-4.3.0

the php code where the error occurs is:

if( $transaction == END_TRANSACTION &&
$this->in_transaction )
{
$this->in_transaction = FALSE;

if ( !odbc_commit($this->db_connect_id)
)
{
print("<br>QUERY:".$query);
print("<br>ERR:
".odbc_errormsg($this->db_connect_id));
print("<br>ERR NUMBER:
".odbc_error($this->db_connect_id));


odbc_rollback($this->db_connect_id);

odbc_autocommit($this->db_connect_id, true);
return false;
}
odbc_autocommit($this->db_connect_id,
true);
}

odbc_free_result($this->result);

Any help much appreciated.

Cheers

Tref



------------------------------------------------------
Tref Gare
Development Consultant
Areeba
Level 19/114 William St, Melbourne VIC 3000
email: trefg@xxxxxxxxxxxxx
phone: +61 3 9642 5553
fax: +61 3 9642 1335
website: http://www.areeba.com.au
--------------------------------------------




------------------------------------------------------
"This email is intended only for the use of the individual or entity named
above and contains information that is confidential. No confidentiality is
waived or lost by any mis-transmission. If you received this correspondence in
error, please notify the sender and immediately delete it from your system. You
must not disclose, copy or rely on any part of this correspondence if you are
not the intended recipient. Any communication directed to clients via this
message is subject to our Agreement and relevant Project Schedule. Any
information that is transmitted via email which may offend may have been sent
without knowledge or the consent of Areeba."
------------------------------------------------------





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation