http://www.freshfm.com.au/drupal/?q=node/6

First off, link in the heading doesn't pick up the node id, it just links to http://www.freshfm.com.au/drupal/?q=emailpage&nid=

Secondly, and more importantly, the correct "email this page" link in the footer of articles doesn't pick up the node at all.
http://www.freshfm.com.au/drupal/?q=emailpage&nid=6
"Page not found"

This is because, most probably, I have all of my tables prefixed with "drupal_" instead of just the plain installation.

Comments

Anonymous’s picture

Uwe Hermann’s picture

Anonymous’s picture

I still get a "page not found" - http://unite.enzyme.org.nz/emailpage&nid=23

I downloaded the latest emailthispage and deleted all the blank spaces at the end.

ron-1’s picture

Try adding the following hook to emailpage.module. This fixed the problem for me..

<code>
function emailpage_menu($may_cache) {
  global $user;
  $items = array();

  $items[] = array('path' => 'emailpage', 'title' => t('Email Page'),
      'callback' => 'emailpage_page', 'access' => user_access('access content'),
      'type' => MENU_CALLBACK);

  return $items;
}

Compactman’s picture

Assigned: Unassigned » Compactman

This is still a problem even after using the attatched code.

darren oh’s picture

Version: » 4.7.x-1.x-dev
Status: Active » Closed (fixed)

Fixed in CVS commit #45506.