The link to update the user when no character has been selected builds the path from the public html directory like so: http://example.com/user/1/edit.

Since I have my installation in a sub directory (http://example.com/drupal/) it returns a 404 error. The user can still navigate by going through his/her profile, so it's not a show stopper.

Some minor spelling/grammatical issues

On Eve API settings page:

* Enter the Alliance Executers or Corperations CEO API Key.

Should be: "Enter the Alliance Executor's or Corporation CEO's API Key."

* If you are experience troubles, or updating the module, you can disable the cron related to EVE API.

Should be "If you experience problems, or are updating the module, you can disable the cron related to EVE API."

As I said on the Eve-O forum, these are very trivial things. Most people won't notice.

Comments

0mni’s picture

Assigned: Unassigned » 0mni
Status: Active » Needs review

This patch will fix the problem, I also disabled the message while the user is viewing admin pages. I found that annoying while viewing admin pages :)

I have also fixed the gramatical errors.

diff --git a/eve_api.module b/eve_api.module
index 9bf7422..31c4830 100644
--- a/eve_api.module
+++ b/eve_api.module
@@ -806,12 +806,12 @@
 /**
  * Implements hook_boot().
  */
-function eve_api_boot() {
+function eve_api_init() {
   if ($GLOBALS['user']->uid == 0) {
     return;
   }
 
-  if ($GLOBALS['user']->characterID == 0 && variable_get('eve_api_nag_user', TRUE)) {
-    drupal_set_message(t('Your account is not associated with an EVE Character, you must select a <a href="@url">Main Character</a>.', array('@url' => '/user/' . $GLOBALS['user']->uid . '/edit')), 'error', FALSE);
+  if ($GLOBALS['user']->characterID == 0 && variable_get('eve_api_nag_user', TRUE) && !path_is_admin(current_path())) {
+    drupal_set_message(t('Your account is not associated with an EVE Character, you must select a <a href="@url">Main Character</a>.', array('@url' => url('user/' . $GLOBALS['user']->uid . '/edit'))), 'error', FALSE);
   }
 }
Sugar TMA’s picture

Thanks. I'll give it a try when I get home from work later. :o)

Sugar TMA’s picture

Works a treat, thanks!

0mni’s picture

Status: Needs review » Fixed
0mni’s picture

Status: Fixed » Closed (fixed)
Roylepython01’s picture

The patch file associated with that fix is already applied so there isnt any changes which can be made!which applies to

sites/all/modules/eve_api/eve_api.module

The problem is this error exists using the very latest version of the module!

is there a newer fix for this issue?