We get an error: Field is part of a circular dependency. This is not supported and you will not be able to switch it on.
Field SQL storage is part of a circular dependency. This is not supported and you will not be able to switch it on.
This was from a php script to pull in data from the database. Is this an issue with our Drupal version or with the code?
I am trying to backport this module to drupal 6. But My tokens are not getting stored in custom db table {facebook_rules_user_tokens},
because _fboauth_actions() callback($actions['connect']['callback'] = 'facebook_rules_fboauth_action_connect') is not getting called.
Any suggestions?
In drupal set, I have a setup so that new users must be approved by an admin (so should go into state: blocked). However, all my users are being created as active.
Does anyone know why this might be happening?
/**
* This php snippet displays content of a specified type, with teasers
*
* To change the type of content listed, change the $content_type.
*
* Works with drupal 4.6
*/
$content_type = 'right_column_image';
$result1 = pager_query(db_rewrite_sql("SELECT n.nid, n.created FROM {node} n WHERE n.type = '$content_type' AND n.status = 1 AND n.title LIKE 'Events%' ORDER BY n.created ASC"));
while ($node = db_fetch_object($result1)) {
$output .= node_view(node_load(array('nid' =>$node->nid)), 1); }
print $output;
I'm working on a newspaper site where I have people that subscribe and, after ten days, only subscribers should be able view articles. As of right now, even though the articles SAY subscriber only, they can still be viewed by anyone. Does anyone know what I need to do to make it so only the subscribers are able to view these articles?