Hello,

I've create some panels with same root, one argument (uid) and finally a word, like : (site)/profils/players/%/home where "%" is the argument. At each time I add one argument uid in context tab. Each panels contain some block containing views... Each times I check the menu option for the panel.

In my code i add some link to go to this panels like "/profils/players/<? php echo $user->uid; ?>/home", no problem : the link is like I want, with good uid.

My problem is after this step : the link go to a page who display something like "You are not authorized to access this page."

Firstly I think my problem was like this issue : http://drupal.org/node/311192 but it was'nt because if I change the place of the argument it works, see :

  • /profils/players/1/home : KO
  • /profils/1/players/home : OK

So I've a solution to continue my webdev but it doesn't respond to customer's specification.

Finally I think it's because it's like an overriding of "node/%" and Drupal don't understand my link... But I'm not sure...

My questions :

  • Where's my error in all of this ?
  • It's possible to have "profils/players/%/home" like I want or Drupal/Panels doesn't permit it ?

Thanks for the answer !

Comments

shigaepouyen’s picture

Assigned: shigaepouyen » Unassigned
asd123asd5’s picture

Priority: Normal » Critical

actually I'm having the same problem, admin can get through, but no body else. This seems like the same problem as:

http://drupal.org/node/311192

not sure if it is a duplicate or not so I'm leaving this as is but i think this deserves a little more attention then the 'normal' priority.

If I can help, let me know.

shigaepouyen’s picture

Hello !

I create a new issue because I think it's an other situation.

For the moment I use only /profils/1/players/home and I'm waiting for one other solution...

artscoop’s picture

Hi,

I may have found why you get Access Denied errors with panels :
You may have a View that uses the same path as your Panel page.

So, if your panel page uses for example
taxonomy/term/%

Ensure you don't have any view using the same path. (If you have enabled the Taxonomy view, change its path.)
Tell me if it fixes the error.

asd123asd5’s picture

Hi artscoop,

No go unfortunatly, views is enabled, however only one view is enabled, which is a block display with no path.

summit’s picture

Hi,

This comment helped me with it. It is working now!: http://drupal.org/node/386774#comment-1302660
You really have to disable the page display of the taxonomy/term view, otherwise it is not working!

If you like this info please make a link to www.trekking-world.com Best trekkings around the world!

greetings,
Martijn

domesticat’s picture

Status: Active » Closed (fixed)

Closed while closing all Panels support requests with no activity for 6 months. If you still need help, you may re-open this issue at any time.