Ideas.. I've seen people kill in the name of them... and die defending them. We are told to remember the idea, not the man. Because a man can fail. He can be caught, he can be killed and forgotten. But several years later... his idea can still change the world.
This blog is back to live
Submitted by linuxawy on Sat, 25/12/2010 - 8:46pm
This blog has been down for few days, I've been so busy that I didn't try to fix it till today.
First I was extremely concerned about security as I had a security update not installed in drupal, but fortunately this wasn't the case. When I checked the apache error log I found this:
PHP Fatal error: Call to undefined function taxonomy_node_get_terms() in /*******/sites/all/modules/tagadelic/tagadelic.module on line 172
Strange, I didn't change anything in the modules lately, not even upgrading tagadelic, and taxonomy is a drupal core module so what the hell has happened?
After some diggin, I found that I'm not alone in this issue. As it appears from the comments to this guy's problem. I figured out mine.
I followed the steps of that very old issue, yeah it was reported 2005 but who knows. So that's what i did:
$ mysql DB_NAME -u USER_NAME -p
Enter password:
mysql> SELECT * FROM system where name = 'taxonomy'\G
*************************** 1. row ***************************
filename: modules/taxonomy/taxonomy.module
name: taxonomy
type: module
status: 1
throttle: 1
bootstrap: 0
schema_version: 0
weight: 0
info: a:10:{s:4:"name";s:8:"Taxonomy";s:11:"description";s:38:"Enables the categorization of content.";s:7:"package";s:15:"Core - optional";s:7:"version";s:4:"6.20";s:4:"core";s:3:"6.x";s:7:"project";s:6:"drupal";s:9:"datestamp";s:10:"1292447788";s:12:"dependencies";a:0:{}s:10:"dependents";a:0:{}s:3:"php";s:5:"4.3.5";}
owner: Enables the categorization of content.
1 row in set (0.00 sec)
Aha, taxonomy's throttle is enabled. Well this shouldn't bring down the website, maximum that could happen is to bring down tegadelic but let's try to fix it anyway
mysql> UPDATE system SET throttle = 0 WHERE name = 'taxonomy';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0
mysql> SELECT * FROM system where name = 'taxonomy'\G
*************************** 1. row ***************************
filename: modules/taxonomy/taxonomy.module
name: taxonomy
type: module
status: 1
throttle: 0
bootstrap: 0
schema_version: 0
weight: 0
info: a:10:{s:4:"name";s:8:"Taxonomy";s:11:"description";s:38:"Enables the categorization of content.";s:7:"package";s:15:"Core - optional";s:7:"version";s:4:"6.20";s:4:"core";s:3:"6.x";s:7:"project";s:6:"drupal";s:9:"datestamp";s:10:"1292447788";s:12:"dependencies";a:0:{}s:10:"dependents";a:0:{}s:3:"php";s:5:"4.3.5";}
owner: Enables the categorization of content.
1 row in set (0.00 sec)
and voila, things are working fine.. of course first thing to do is to update my un-updated module :)




![[FSF Associate Member] width=160](http://www.linuxawy.org/files/FSF-member.png)















شكرا على هذه المعلومات
شكرا على هذه المعلومات القيمة!
Post new comment