Janus:
Thanks!  Please send me your changes to db.inc and db_conn.inc.

I've updated several files to us the DB abstraction layer in the last few weeks,
but am not working on it now.
There are still a few files that make direct mysql_* calls, notably
inc/uotd.inc
inc/forum_banishment_vote.inc
user/server_status.php
... and quite a few in ops/.

-- David

On 06-Jan-2014 12:33 PM, Janus wrote:
Hey guys,

I'm going to be looking into this. Has the current status changed since 
November?
David, attached is the patch for (1) for ops/create_forums.php

I've rewritten db.inc and db_conn.inc to check for mysqli and use it if 
available or
use old-style mysql if not, but there are several places (not just ops) that 
use the
old stuff still so I don't want to commit anything on (2) before (1) and other
related code is done - and I don't want to double code this if someone else is
working on it too.

Regards,

Janus Kristensen



On 22-11-2013 19:59, David Anderson wrote:
Steffen:
We definitely plan on shifting to mysqli; I've been putting this off.
This has 2 parts:

1) Changing the PHP to use the DB interface defined in db_conn.inc and 
boinc_db.inc
   (this is mostly done, except for the ops/ code)
2) Change db_conn.inc to use mysqli.

There should both be straightforward; if anyone wants to help, please send 
patches.

-- David


On 22-Nov-2013 5:41 AM, "Steffen Möller" wrote:
Dear David,

You may be well aware of the warnings that traditional mysql interface to PHP
brings. I had performed
the transition to mysqli for some code of mine before and feel somewhat 
confident
about it. If you
say that that you are not moving away from PHP to something else, then it may be
worth the effort.
Tell me so.

Best,

Steffen

[Mon Nov 18 18:26:26.474142 2013] [:error] [pid 24782] [client
193.175.228.63:65500] PHP Deprecated:  mysql_pconnect(): The mysql extension is
deprecated and will be removed in the future: use mysqli or PDO instead in
/var/lib/boinc-server-autodock-vina/boincautodockvina/html/inc/db.inc on line 49
[Mon Nov 18 18:26:26.477486 2013] [:error] [pid 24782] [client
193.175.228.63:65500] PHP Deprecated:  mysql_pconnect(): The mysql extension is
deprecated and will be removed in the future: use mysqli or PDO instead in
/var/lib/boinc-server-autodock-vina/boincautodockvina/html/inc/db_conn.inc on
line 31
[Mon Nov 18 18:26:28.023869 2013] [:error] [pid 24779] [client
193.175.228.63:65498] PHP Deprecated:  mysql_pconnect(): The mysql extension is
deprecated and will be removed in the future: use mysqli or PDO instead in
/var/lib/boinc-server-autodock-vina/boincautodockvina/html/inc/db.inc on line 
49,
referer: http://twin1a.dermacloud.uni-luebeck.de/boincautodockvina_ops/
[Mon Nov 18 18:26:28.025029 2013] [:error] [pid 24779] [client
193.175.228.63:65498] PHP Deprecated:  mysql_pconnect(): The mysql extension is
deprecated and will be removed in the future: use mysqli or PDO instead in
/var/lib/boinc-server-autodock-vina/boincautodockvina/html/inc/db_conn.inc on
line 31, referer: http://twin1a.dermacloud.uni-luebeck.de/boincautodockvina_ops/
[Mon Nov 18 18:26:29.273016 2013] [:error] [pid 24779] [client
193.175.228.63:65498] PHP Deprecated:  mysql_pconnect(): The mysql extension is
deprecated and will be removed in the future: use mysqli or PDO instead in
/var/lib/boinc-server-autodock-vina/boincautodockvina/html/inc/db.inc on line 
49,
referer:
http://twin1a.dermacloud.uni-luebeck.de/boincautodockvina_ops/db_form.php?table=workunit

[Mon Nov 18 18:26:29.275195 2013] [:error] [pid 24779] [client
193.175.228.63:65498] PHP Deprecated:  mysql_pconnect(): The mysql extension is
deprecated and will be removed in the future: use mysqli or PDO instead in
/var/lib/boinc-server-autodock-vina/boincautodockvina/html/inc/db_conn.inc on
line 31, referer: http://twin1a.dermacloud.uni-luebeck.de/

_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to