in reply to Re^12: DBI Problem
in thread DBI Problem
Tried $dbh->trace(2);
Sat Sep 30 18:42:26 2017 manage_users.cgi: call after 2nd execute: 'DBI::db=HASH(0x21ec980)' dsn: 'dbi:mysql:database=jalamior_assoc_mgr;host=localhost' at /home/jalamior/www/httpsdocs/cgi-bin/lib/perl/manageusers.pm line 684.
-> DESTROY for DBD::mysql::st (DBI::st=HASH(0x1f09930)~INNER)
<- DESTROY= undef at manage_users.cgi line 245
-> DESTROY for DBD::mysql::st (DBI::st=HASH(0x21ecca0)~INNER)
--> dbd_st_finish
>- dbd_st_free_result_sets
<- dbd_st_free_result_sets RC -1
<- dbd_st_free_result_sets
<-- dbd_st_finish
<- DESTROY= undef at manage_users.cgi line 245
! -> DESTROY for DBD::mysql::st (DBI::st=HASH(0x1f09520)~INNER)
Freeing 1 parameters, bind 0 fbind 0
! <- DESTROY= undef during global destruction
>> DESTROY DBI::db=HASH(0x21ec870) clearing 1 CachedKids
! -> DESTROY for DBD::mysql::db (DBI::db=HASH(0x21ec870)~INNER)
imp_dbh->pmysql: 227bfe0
! <- DESTROY= undef during global destruction
Sat Sep 30 18:42:26 2017 manage_users.cgi: (in cleanup) Can't connect to data source '' because I can't work out what driver to use (it doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is not set) at /usr/local/lib/perl5/site_perl/5.8.8/CGI/Session/Driver/DBI.pm line 26
DESTROY= undef at manage_users.cgi line 245
manageusers::OpenConnection(); #This is called for update member info Line 245---> if (!UpdateUserData($sid,$password,$email,$secret)) { ## manageusers::CloseConnection(); CreateUserFeedbackForm("Update of Member informatio +n failed. Please contact the office."); return; } else { # manageusers::CloseConnection(); CreateUserFeedbackForm("Update of Member informatio +n succeeded."); #Need to email back to office. return; } return;
So is the destroy undefined the problem to chase?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^14: DBI Problem
by huck (Prior) on Oct 01, 2017 at 01:39 UTC | |
by tultalk (Monk) on Oct 01, 2017 at 17:19 UTC | |
by tultalk (Monk) on Oct 01, 2017 at 02:28 UTC |