My test site has Drupal 6.2 installed, with Multiping v 6.x-1.x-dev.

Enabled Multiping, went to Site Configuration > Ping Services, and upon attempting to make any adds or changes, was given the "Access Denied" screen.

Am logged in as user 1.

Troubleshooting: I've disabled all contributed modules except Multiping, but still no affect.

I'm assuming it's user error, but just in case...any suggestions?

Comments

Skyr’s picture

Can reproduce the problem; didn't occur with Drupal 6.1...

Edit: http://drupal.org/node/109584 says: "Inheritance for access callbacks was supported the same way as with page callbacks before Drupal 6.2. Since Drupal 6.2 however, access callbacks are only inherited for default local tasks, and not inherited otherwise (neither the callback nor the arguments)." Aha...

Skyr’s picture

Status: Active » Fixed

Added "access arguments" to all menu entries; removed user_access checks from procedures, since privileges are checked by menu/hook system (hopefully this is correct, haven't tested form posts yet). Looks good with Drupal 6.2, I commited my changes to cvs.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

mcncyo’s picture

Status: Closed (fixed) » Needs review

i just install that latest version off the website and I am getting this error.

Skyr’s picture

I'm afraid the versioning system is playing tricks on me. The patch is in the CVS repository, see http://drupal.org/cvs?commit=110202
Please try using a cvs checkout.

mrfelton’s picture

I'm having the same issue with Drupal 6.3. I tried installing from CVS (using the HEAD tag) but am now unable to activate the module. In the modules list, it just says "This version is incompatible with the 6.3 version of Drupal core."

mrfelton’s picture

Category: support » bug
Priority: Minor » Critical

changing the category and status as it is currently impossible to run this module on 6.3. I am using latest cvs and still get the same error as in my last post ("This version is incompatible with the 6.3 version of Drupal core.")

Skyr’s picture

Status: Needs review » Closed (fixed)

I can't reproduce that. I just upgraded my test site to 6.3 - multiping is still working. I successfully disabled and re-enabled the module - I didn't see any error messages.

I mark this issue as closed as it is a different issue (if it persists) than the one described in the topic. If you still have trouble, please open a new issue and describe (as exactly as possible) what the state of your system is (pristine install / upgrade from ..., etc.) an what you tried to do.

mrfelton’s picture

I'm still getting this. What I have done.

Installed Multiping-6.x.1.x-dev
Enabled the module
Accessed the modules admin page
Click on any of the options to edit the settings - I get presented with an access denied message
Assign full permissions on that module to every user
Try again - same problem (I'm loged in the the User #1 tho anyway so that shouldn't make any difference)

Uninstall Multiping-6.x.1.x-dev
Download latest Multiping from CVS
Can not enable the module - "This version is incompatible with the 6.3 version of Drupal core."

Disable all other modules
Still can not enable the module

What else can I try?!

Skyr’s picture

Thanks for your detailed post. I found the part in the core which triggers the incompatibility message; it compares the core string from the module's info file with the DRUPAL_CORE_COMPATIBILITY constant (which is 6.x for Drupal 6.3). I strongly suspect some cvs fsckup (my fault, not yours), since I have the proper version string in my local copy. I'm investigating that...