Displaying 9 results from an estimated 9 matches for "fetchrow_hashref".
2005 Feb 27
0
Astcc installation
...108]
DBD::mysql::st execute failed: Table 'astcc.brands' doesn't exist at
/srv/www/cgi-bin/astcc-admin/astcc-admin.cgi line 163., referer:
http://vpbx.elmit.com/cgi-bin/astcc-admin/astcc-admin.cgi?mode=Brands
[Sun Feb 27 10:45:51 2005] [error] [client 192.168.250.108]
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at
/srv/www/cgi-bin/astcc-admin/astcc-admin.cgi line 164., referer:
http://vpbx.elmit.com/cgi-bin/astcc-admin/astcc-admin.cgi?mode=Brands
[Sun Feb 27 10:45:53 2005] [error] [client 192.168.250.108]
DBD::mysql::st execute failed: Table 'astcc.trunks' does...
2016 May 01
2
Changing Password Schemes
...= $dbh->prepare('SELECT localpart, domain, plain_pass FROM mailuser where crypt_pass IS NULL OR crypt_pass=""');
my $updatesth = $dbh->prepare('UPDATE mailuser SET crypt_pass=? where localpart=? and domain=?');
$selectsth->execute;
while (my $row = $selectsth->fetchrow_hashref) {
open my $urand, '<', '/dev/urandom';
read $urand, my $salt, 12;
close $urand;
$salt = encode_base64($salt);
$salt =~ s/\+/\./g;
$salt =~ s/[^0-9a-z\.\/]//ig; #this shouldn't be needed
my $cryptpw = '{SHA512-CRYPT}' . crypt $row->{plai...
2010 Jan 11
1
MeetMe Conferencing - Announce your own join/leave to yourself and other conference members
...39;conference_call');
$v{dbh} = <sanitized>
($v{q},$v{r}) = undef;
$v{q} = "SELECT members FROM <sanitized> WHERE confno = '".$v{conf}."'";
$AGI->verbose($v{q});
$v{q} = $v{dbh}->prepare($v{q});
if (!$v{q}->execute) {
exit;
}
$v{r} = $v{q}->fetchrow_hashref();
$v{q}->finish();
$v{dbh}->disconnect;
if ($v{r}{members} > 1) {
$AGI->stream_file("/var/spool/asterisk/meetme/meetme-username-".$v{conf}."-".$v{r}{members});
}
while (!$v{loop}) {
exit if (!$AGI->channel_status($v{chan}));
$v{rc} = $AGI->wait_for_digit...
2004 Jul 02
0
DISA and AGI: authenticate by caller ID? (resolved)
...$callerid =~ m/(\d{10})/; # cut off the name
part of CID, numbers only
$callerid = $1;
$query = "SELECT active FROM cids WHERE cid='$callerid'";
$sth = $dbh->prepare($query);
$sth->execute();
$active = $sth->fetchrow_hashref();
if ($active->{"active"})
{
$AGI->set_context('ldincoming');
$AGI->set_extension('1011');
$AGI->set_priority(1);
exit;
}
}
# if we got here, there was no match found [a...
2004 Jun 22
0
Perl Script for pulling information from a mysql database
...me=$mysql_host";
$dbh = DBI->connect($dsn, $mysql_user, $mysql_pass) || die "Can''t
connect to database: " . DBI->errstr;
sub SelectSQL {
my($sql) = @_;
my @MATCHES, $hash;
$sth = $dbh->prepare("$sql");
$sth->execute();
while ($hash = $sth->fetchrow_hashref) {
push @MATCHES, $hash;
}
return @MATCHES;
}
sub SelectSingleSQL {
my($sql) = @_;
my($gotit, $return, $hash);
$sth = $dbh->prepare("$sql");
$sth->execute();
while ($hash = $sth->fetchrow_array) {
unless ($gotit) {
$return = $hash;...
2016 May 01
3
Changing Password Schemes
...main, plain_pass FROM
>> mailuser where crypt_pass IS NULL OR crypt_pass=""');
>> my $updatesth = $dbh->prepare('UPDATE mailuser SET crypt_pass=? where
>> localpart=? and domain=?');
>> $selectsth->execute;
>> while (my $row = $selectsth->fetchrow_hashref) {
>> open my $urand, '<', '/dev/urandom';
>> read $urand, my $salt, 12;
>> close $urand;
>> $salt = encode_base64($salt);
>> $salt =~ s/\+/\./g;
>> $salt =~ s/[^0-9a-z\.\/]//ig; #this shouldn't be needed
>>...
2004 Aug 06
0
ices: PQueue module error
....8.3/PQueue.pm line 136.
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.3/PQueue.pm line 149.
DBD::mysql::st execute failed: You have an error in your SQL syntax near ''
at line 3 at /usr/lib/perl5/site_perl/5.8.3/PQueue.pm line 153.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at
/usr/lib/perl5/site_perl/5.8.3/PQueue.pm line 154.
by
DEBUG: perl [ices_get_next] returned 1 values, last []
DEBUG: Done interpreting [ices_get_next]
Playlist file name is empty, shutting down.
DEBUG: Interpreting [ices_shutdown]
Perl playlist manager shutting...
2016 Apr 30
2
Changing Password Schemes
This looks good, except it is truncated, it should be something like
95chars long, Is your hash column set to 128 or up around there or
larger?
Quoting Carl A Jeptha <cajeptha at gmail.com>:
> Sorry for double reply, but this what a password looks like in the
> "hashed" password column:
> {SHA512-CRYPT}$6$wEn1UFuiMzl9OSjd$Vh/PZ95WDID1GwI2
>
> ------------
2004 Jul 02
24
TC Hashing Filters
Hey all,
I had asked a question a little while ago about CPU usage being
outrageous while using tc and a cbq qdisc. Ed was very kind and offered
a few suggestions. One of these was to look at hashing. So after
pounding away at it for about a week, I have a general understanding of
how it works and have tried to implement it. Unfortunately, and quite
obviously since I''m posting here, it