hi all,
after installing login_destination on 6.2 no menu item comes up for the settings page.
When I enter the path manually (../admin/user/login_destination) I get an access denied page, even though I am logged in as admin.
Any ideas?

kind regards, Peter.

CommentFileSizeAuthor
#30 login_destination_v62.zip9.42 KBjng12

Comments

peterzoe’s picture

problem solved: I had logintobaggon installed/activated which caused the menu link to not show up. i figure there might be problems with the auth when this module is also installed.
cheers, peter.

andrés chandía’s picture

For me is not accesible at all, i've tryied installing logintoboggon and enabling, to desable it later but nothing, always acces denied if i go directly to the page. what can i do, this module worked perfectly on 5.7, but not in 6.2.

Anonymous’s picture

this module worked perfectly on 5.7, but not in 6.2.

It's because of the Drupal 6.2 minor menu system API Changes, imho.

Drupal 6.2 minor menu system API Changes
Converting 6.0, 6.1 modules to 6.2

greekman’s picture

Did someone made a fix for this ? I can't use this module,only because I have updated site to Drupal 6.2.
I did looked on the link above about API changes,but I can't get it fixed.

jng12’s picture

Title: settings page not accessible » got it working for 6.2!
Component: Code » Miscellaneous

Because I needed this for work, I chopped, edited and scoured the net to get this to work in drupal 6.2

I hope this works for you guys. It does for me - so far.

it's not pretty but it works. :)

p.s. be sure to TURN OFF your login_destination module BEFORE activing this one or you'll get conflict errors.

EDIT: Check Comment #30 for latest version.

peterzoe’s picture

Title: settings page not accessible » got it working for 6.2!
Component: User interface » Miscellaneous
Category: support » bug

hi jaysonng,

thanks, works for me with 6.2 also.

regards, Peter.

paulito75’s picture

Thank you jaysonng !!!!

Works great on my 6.2 install.

Cheers !!

Anonymous’s picture

Title: got it working for 6.2! » settings page not accessible
Component: Miscellaneous » Code
encho’s picture

Works here as well! Thanks

jng12’s picture

No Problem! Put it to good use! :D

decibel.places’s picture

the v6 module works on one 6.2 site, but not another

tried disabling the login toboggan module on second site, didn't cause a problem on the first site..

no sign of login_destination, not even in admin/settings page...

Here's all the installed modules, don't see where there might be a conflict.

Site configuration

Actions
Manage the actions defined for your site.
Administration Menu
Adjust settings for the dropdown Administration Menu.
Administration theme
Settings for how your administrative pages should look.
Apply for role administration
Administer which roles users can apply for.
Avatar Selection
Allows the user to upload and delete avatars.
Blog API
Configure the content types available to external blogging clients.
CSS injector
Add CSS to the page output based on configurable rules.
Clean URLs
Enable or disable clean URLs for your site.
Conditions
Configure conditions other modules use to trigger actions.
Date and time
Settings for how Drupal displays date and time, as well as the system's default timezone.
Devel settings
Helper functions, pages, and blocks to assist Drupal developers. The devel blocks can be managed via the !block page.
Error reporting
Control how Drupal deals with errors including 403/404 errors as well as PHP error reporting.
Events
Set up how your site handles events.
External links
Alter the display of external links on the site.
FCKeditor
Configure the rich editor.
File system
Tell Drupal where to store uploaded files and how they are accessed.
File uploads
Control how files may be attached to content.
Friend Managment
Manage the Friend module
IMCE
Control how your image/file browser works.
Image
Image module settings.
Image attach
Enable image attach for content
Image gallery
Configure appearance of image galleries.
Image import
Change settings for the Image Import module.
Image toolkit
Choose which image toolkit to use if you have installed optional toolkits.
Img
Display images in posts
Img comments
Display images in comments
Input formats
Configure how content input by users is filtered, including allowed HTML tags. Also allows enabling of module-provided filters.
Languages
Configure languages for content and the user interface.
Logging and alerts
Settings for logging and alerts modules. Various modules can route Drupal's system events to different destination, such as syslog, database, email, ...etc.
Messenger
Messenger configuration
Nice Menus
Configure Nice Menus.
Performance
Enable or disable page caching for anonymous users and set CSS and JS bandwidth optimization options.
PicLens
Configure Piclens support on your website.
Poormanscron
A module which runs Drupal cron jobs without the cron application.
Search settings
Configure relevance settings for search and other indexing options
Site documentation
Set how Site Documentation works
Site information
Change basic site information, such as the site name, slogan, e-mail address, mission, front page and more.
Site maintenance
Take the site off-line for maintenance or bring it back online.
Webform
Global configuration of webform functionality.

Anonymous’s picture

Will we ever see a D6 compatible release?

jng12’s picture

Netsperience,

does it work on your second site without any other modules installed?

decibel.places’s picture

I disabled all contributed and optional core modules except Login Destination v6

The admin for Login Destination was available on the Administer page

I set it and re-enabled the modules

I no longer saw the admin link, but the redirect (to the front page = "node") still works

http://hcshc.netsperience.org/

jng12’s picture

hmmm... sorry. not sure what to tell you. I have it running on a couple of dev sites i have. :O

decibel.places’s picture

bottom line - it works - even without admin with the other modules enabled

thanks

PS We should mention that for Drupal 5.x sites you could use the Workflow-ng module (not available in v 6 yet)

(yes, I understand this is an issue with Login Destination v 6 page and it works fine in v 5)

http://drupal.org/project/workflow_ng

rvarkonyi’s picture

Hi guys!

I tried everything that I saw in this forum, but unfortunately nothing works for me. I tried on 2 sites, both running 6.2, one of them is a fresh installation with only core modules. I even tried disabling the optional drupal modules and had a look in the module's source as well and tried to change the access arguments, but nothing changes (I'm not a module expert though).

Any ideas?

Thanks!

cr

jng12’s picture

crooke,

did you try the module version up in #5 with the fresh install?

-jng

jng12’s picture

oh! ok. I misunderstood your earlier comment. I will look into it and see if I could find the culprit.

-jng

jng12’s picture

hi netsperience,

are you able to access the admin directly by typing in the url?

?q=admin/user/login_destination

jng12’s picture

netsperience,

also, if you have the time, can you pinpoint which module conflicts with loginDestination so I can take a look at the code of that module and see why it's disabling the admin link.

thanks,
jng

decibel.places’s picture

jng,

admin is accessible with ?q=admin/user/login_destination as well as clean url admin/user/login_destination (and it is also in navigation menu)

BUT ONLY for super user/1

I tried with an admin account but got "access denied" on both urls and could not find the Login Destination permissions either in the master list or in the role-specific list, tried looking for permissions with user/1 account too.

So, I can admin loginDestination with user/1 account. The module redirects properly for other user accounts, don't expect to need much admin anyway...

Hmmm - check which module conflicts - ok, do I get a gold star if I am successful?

decibel.places’s picture

jng,

I disabled all contrib and optional core modules and still did not see loginDestination admin or permissions with the admin account

the admin is there with the super account user/1 even on admin/by-module page

so I guess there is no way to tell which module if any is conflicting

admin access to loginDestination resides with user/1 alone

(using the login_destination_v6 version)

oh yes, using lightly modified Ability theme (like Salamander)

when I reactivated the modules, I got a validation error using the user/1 account I had to switch to the admin account to activate the modules

I also had problems with the Role Control module (seems likely to be related problem) documented here http://drupal.org/node/261127

(where a post led me to this thread)

jng12’s picture

hi netsperience!

Try the new version I patched up. it seemed like the later problems you were experiencing was mainly about access problems. the previous version didn't have any!

I added permissions that you can set in the permissions page to allow ADMIN role to access the page.

hope this works for you!

-jng

as always, turn off the older version BEFORE installing this one.

EDIT: Check #30 for latest version

rvarkonyi’s picture

Hi jng12,

this version works great! Thank ever so much for fixing it!

cr

decibel.places’s picture

Great!

Now loginDestination admin is available to other users besides user/1 with the permissions

Thank You!

jng12’s picture

peterzoe,

does this solve your problem? were you logged in as admin but not user/1 ?

rvarkonyi’s picture

jng12,

I can confirm it's working for me as not user/1 but admin.

Thanks again

jng12’s picture

thanks crooke!

I haven't tried PHP snippet mode though. can anyone confirm that it works?

jng12’s picture

StatusFileSize
new9.42 KB

little update.

I have a little quirk with the last version I uploaded.

here's a new one with description and the menu item moved under 'Site Configuration' as opposed to 'user management' before.

-jayson

Anonymous’s picture

Title: got it working for 6.2! » settings page not accessible
Component: Miscellaneous » Code

'Site Configuration' is the wrong place, imho.

jng12’s picture

hi bennysoft!

do you think it should have been back at admin/user (user management)?

I thought of putting it in site configuration because this setting affects the whole site. not one particular user.

the problem was every time i use login destination, the first place I go look for it is in site config.

what do you other guys think?

-jayson

Anonymous’s picture

Jayson, my opinion is that the module provides a login destination for registered users only. Therefore I see the user management as the right place.

decibel.places’s picture

well, when I first started using loginDestination I was surprised the admin was under users but I got used to it

it does make sense

and since this is not an "official" release it seems best to keep the admin consistent with the "official" version

have you been coordinating with the module maintainer ARDAS at all?

thermador’s picture

just tested this version (6.2), seems to be working great for me, although I'm only using a simple URL redirect... thanks! :-D

jng12’s picture

Hi netsperience I've sent him a message but haven't gotten a reply. maybe i should just try again. :D

Anonymous’s picture

This module is untouched since September 2007. It seems that the module searches for a new maintainer or it should be moved to Abandoned Modules, imho.

ardas’s picture

Status: Active » Fixed

Fixed in 6.x-2.0

Anonymous’s picture

Status: Fixed » Closed (fixed)

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