Skip to main content

Tech Tips

Why can't A Drupal user edit a node they created?

Why can't a Drupal user edit a node they created?

Symptoms: An authorized Drupal user loses "edit" access to nodes they've created, even if they have appropriate node (or other module) access permissions. Or, user cannot edit a node that should be editable by them, based on access control or node access settings. No errors or warnings are presented to the user. Nothing in the Drupal watchdog log.

Possible Cause: The user does not have permission to use the input filter currently assigned to the node. (An administrator or other privileged user may have changed the input filter settings, or, input filter permissions may have been changed to exclude the node author since the node was created. As a result, the user never had, or no longer has permission to use the input filter associated with the node.)

This excerpt from Drupal node.module node_access() function tells the tale:

Location, gmap, and gmap_location module interactions

If you want nodes to appear on a google map provided by the gmap_location module, you need to set up your system correctly.

from gmap_location function gmap_location_node_page() :

  $result=db_query("SELECT oid, longitude, latitude FROM {location} WHERE (longitude!=0 OR latitude !=0) AND type='node'");

So, the only nodes that will appear in a gmap_location-provided map are those where the type is 'node' and the longitude or latitude are non-zero in the location table. Ok, how do we get a lat/long value in that table?

Drupal 4.7 Site and Database Backups

How do I keep my Drupal 4.7 site(s) backed up?

There are several modules to help you:

  • backup.module Creates an on-demand tarball backup of your database and site files, and downloads them to your browser.
  • Database Administration module Allows interactive backup of database tables (among other things.)

Tech Tips

Posted in

Find and fix Windows DLL errors

Having DLL problems in Windows XP or Vista? Check our DLL error repair guide.

Welcome to Exodus Development tech tips - a collection of stuff I think might be useful to somebody, somewhere, sometime.

Please see the list of subjects at the end of this article.

Topics covered: Drupal, Apache, MySQL, Windows, Windows XP, etc.

Syndicate content