Iframe Trojan / Virus of Alcobro.net

Submitted by Anonymous (not verified) on Fri, 03/30/2012 - 19:34

Hello! We have a big security problem. Website of a friend is infected with iframe code from alcobro.net. Every .php, .html, .htm, .js file has an iframe code at the end of file. Norton can find infected files but cannot repair it. They are more than 1000 files. Too much to clean manually. I need help to clean these files because there is no clean backup. And I must be sure that .swf files are not infected.

Fatal error: Call to undefined function taxonomy_field_insert() in i18n_taxonomy.module on line 362

Submitted by Anonymous (not verified) on Wed, 02/22/2012 - 10:20

Hi, My Drupal 7 site giving this error:

Fatal error: Call to undefined function taxonomy_field_insert() in /is/htdocs/www/public_html/sites/all/modules/i18n/i18n_taxonomy/i18n_taxonomy.module on line 362

Any idea how2 fix it? It appears when I try to add a new node/ story content.

Delete all spam node entries of a spesific user on a Drupal site with PHP

Submitted by Anonymous (not verified) on Thu, 02/02/2012 - 16:00

Case: We have one or more spammer-user who added hunderts/thousands of nodes automagicly or manually. It takes very long time to delete them using Drupal admin interface. We need a fast & effective solution.

The solution
1. Find 'uid' of spammer
2. Create a block with input-filter PHP and run following code

<?php
$r
= db_query("select * from {node} where uid='123456789'");
while(
$arr = db_fetch_array($r) ){
    echo
$counter++. " ". print_r($arr,1)." <hr />";
            echo
node_delete( $arr[nid] );
}
?>

#1045 Cannot log in to the MySQL server (PhpMyAdmin 2.4.8)

Submitted by Anonymous (not verified) on Mon, 12/05/2011 - 14:43

I have just installed new phpMyAdmin (version 3.4.8). There is no password for mysql root user. But I coudnt login and got this error:

#1045 Cannot log in to the MySQL server

Reason is: Missing blowfish string and config file.

The solution:

- change config.sample.inc.php to config.inc.php
- put some text for $cfg['blowfish_secret'] on line 17.

change

$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

to

$cfg['blowfish_secret'] = 'sdghwkglsdkhuRandomTEXToituwetu45z'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */