Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have last D7 and just have installed Panels and CTools, because Panels and views required CTools.
Then I have finish created a front page with flexible layout, but when I should edit this layout and add content or change settings I got this error below:
An AJAX HTTP error occurred.
HTTP Result Code: 403
Debugging information follows.
Path: /MMFS/panels/ajax/editor/layout/new/settings/center
StatusText: Forbidden
ResponseText:
Access denied | MMFS - Miss & Mister France Sourds
@import url("/MMFS/modules/system/system.base.css?m27xkn");
@import url("/MMFS/modules/system/system.menus.css?m27xkn");
@import url("/MMFS/modules/system/system.messages.css?m27xkn");
@import url("/MMFS/modules/system/system.theme.css?m27xkn");
@import url("/MMFS/modules/aggregator/aggregator.css?m27xkn");
@import url("/MMFS/modules/comment/comment.css?m27xkn");
@import url("/MMFS/modules/field/theme/field.css?m27xkn");
@import url("/MMFS/sites/all/modules/google_analytics_reports/google_analytics_reports/google_analytics_reports.css?m27xkn");
@import url("/MMFS/modules/node/node.css?m27xkn");
@import url("/MMFS/modules/poll/poll.css?m27xkn");
@import url("/MMFS/modules/search/search.css?m27xkn");
@import url("/MMFS/modules/user/user.css?m27xkn");
@import url("/MMFS/sites/all/modules/views/css/views.css?m27xkn");
@import url("/MMFS/sites/all/modules/ctools/css/ctools.css?m27xkn");
@import url("/MMFS/sites/all/modules/panels/css/panels.css?m27xkn");
@import url("/MMFS/modules/toolbar/toolbar.css?m27xkn");
@import url("/MMFS/modules/shortcut/shortcut.css?m27xkn");
@import url("/MMFS/themes/seven/reset.css?m27xkn");
@import url("/MMFS/themes/seven/style.css?m27xkn");
Skip to main content
Home
Hello admin
Log out
Administrative toolbarDashboard (View and customize your dashboard.)
Content (Administer content and comments.)
Structure (Administer blocks, content types, menus, etc.)
Appearance (Select and configure your themes.)
People (Manage user accounts, roles, and permissions.)
Modules (Extend site functionality.)
Configuration (Administer settings.)
Reports (View reports, updates, and errors.)
Advanced help
Help (Reference for usage, configuration, and modules.)
Hide shortcuts
Add content
Find content
Edit shortcuts
You are hereHome Access denied
Add to Default shortcuts
You are not authorized to access this page.
Comment | File | Size | Author |
---|---|---|---|
#15 | 1524668-watchdog.patch | 1.18 KB | swentel |
#10 | Screen Shot 2012-04-23 at 18.02.42.png | 394.28 KB | truls1502 |
Comments
Comment #1
truls1502Comment #2
Devin Carlson CreditAttribution: Devin Carlson commentedI'm also getting this error while using the layout designer and Panelizer.
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedPlease don't abuse tags.
The text says: "Do NOT use tags for adding random keywords or duplicating any other fields"
Comment #4
merlinofchaos CreditAttribution: merlinofchaos commentedThis is most likely a Panels issue. This is very probably related to not being a top level domain, i.e, the site is at http://www.example.com/drupal -- and somehwere in the AJAX a URL is being mistranslated.
Comment #5
swentel CreditAttribution: swentel commentedThe only difference that I see is the URL:
panels/ajax/editor/layout/new/settings/center
vs mine (with all latest version)
panels/ajax/editor/layout/builder-new/settings/center
Edit: even If I remove the 'builder-' part, it still keeps working fine here.
Edit: that builder- is since a long time, so really no idea, really tempated to mark 'Can't reproduce'
Comment #6
swentel CreditAttribution: swentel commentedrelated to #1514030: AJAX HTTP error when trying to add content to a region ?
Comment #7
ewcy CreditAttribution: ewcy commentedSame issue happening.
In fact my situation is a fresh install of Drupal 7.12 running on Mac OS X Lion (with Mac's internal apache and php, and a self installed MySQL).
with these modules installed:
advanced_help-7.x-1.0.tar.gz
ctools-7.x-1.0.tar.gz
panels-7.x-3.2.tar.gz
views-7.x-3.3.tar.gz
The following error happen whenever I try to use the 'builders' layout trying to add more region (those "add to left" links in the builder)
Error is as follows:
An AJAX HTTP error occurred.
HTTP Result Code: 403
Debugging information follows.
Path: /~ewcy/drupal/panels/ajax/editor/layout/new/add/main
StatusText: Forbidden
ResponseText:
Access denied | Mah Site
@import url("http://localhost/~ewcy/drupal/modules/system/system.base.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/modules/system/system.menus.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/modules/system/system.messages.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/modules/system/system.theme.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/misc/ui/jquery.ui.core.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/misc/ui/jquery.ui.theme.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/modules/overlay/overlay-parent.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/modules/contextual/contextual.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/modules/comment/comment.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/modules/field/theme/field.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/modules/node/node.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/modules/search/search.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/modules/user/user.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/sites/all/modules/views/css/views.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/sites/all/modules/ctools/css/ctools.css?m2...");
@import url("http://localhost/~ewcy/drupal/sites/all/modules/panels/css/panels.css?m2...");
@import url("http://localhost/~ewcy/drupal/modules/shortcut/shortcut.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/modules/toolbar/toolbar.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/themes/bartik/css/layout.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/themes/bartik/css/style.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/themes/bartik/css/colors.css?m2iurl");
@import url("http://localhost/~ewcy/drupal/themes/bartik/css/print.css?m2iurl");
Skip to main content
Options for the administrative overlayIf you have problems accessing administrative pages on this site, disable the overlay on your profile page. Dismiss this message.
Home
Hello admin
Log out
Administrative toolbarDashboard (View and customize your dashboard.)
Content (Administer content and comments.)
Structure (Administer blocks, content types, menus, etc.)
Appearance (Select and configure your themes.)
People (Manage user accounts, roles, and permissions.)
Modules (Extend site functionality.)
Configuration (Administer settings.)
Reports (View reports, updates, and errors.)
Advanced help
Help (Reference for usage, configuration, and modules.)
Hide shortcuts
Add content
Find content
Edit shortcuts
Mah Site
Main menuAbout us
Home
TestingPanel
Secondary menuMy account
Log out
You are hereHome
Configure block
Search form
Search
Navigation
List links
Edit menu
Configure block
Add content
Chaos Tools AJAX Demo
Access denied
You are not authorized to access this page.
Configure block
Powered by Drupal
I'm not sure if it relates to mod_rewrite, so I've attached the mod_rewrite lines from my .htaccess FYI as well:
RewriteEngine on
RewriteBase /~ewcy/drupal
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^ index.php [L]
# Serve gzip compressed CSS files if they exist and the client accepts gzip.
RewriteCond %{HTTP:Accept-encoding} gzip
RewriteCond %{REQUEST_FILENAME}\.gz -s
RewriteRule ^(.*)\.css $1\.css\.gz [QSA]
# Serve gzip compressed JS files if they exist and the client accepts gzip.
RewriteCond %{HTTP:Accept-encoding} gzip
RewriteCond %{REQUEST_FILENAME}\.gz -s
RewriteRule ^(.*)\.js $1\.js\.gz [QSA]
# Serve correct content types, and prevent mod_deflate double gzip.
RewriteRule \.css\.gz$ - [T=text/css,E=no-gzip:1]
RewriteRule \.js\.gz$ - [T=text/javascript,E=no-gzip:1]
# Serve correct encoding type.
Header set Content-Encoding gzip
# Force proxies to cache gzipped & non-gzipped css/js files separately.
Header append Vary Accept-Encoding
I believe this is a problem of Panels.
Comment #8
marktheshark CreditAttribution: marktheshark commentedSame here, cannot any change any content nor layout of a panel page due to 403 errors.
Comment #9
ofridagan CreditAttribution: ofridagan commentedSame here, exactly!
Fresh install.
Comment #10
truls1502Hello,
I have to move this issue, because we have tried on CTools, but it seems the errors messages are from Panels module, not CTools. So it needs to be fixed. I have got new error message, the same error from: #1055766: Undefined index: theme in panels_renderer_standard->render_layout(). Also the message was:
But I have created a new fersh D7.12 and have installed the modules as only CTools, Panels and Views.
To try find the solution to this problem, until now, I still get the errors, so I am trying doing this tutorial to explain where I got the error:
1. Login (http://www.signwo.com/problem/user)
2. Create a new panel. Click "Panel page" on (Administer > Structure > Panels).
3. Set the Administrative title to: Home
4. Click Edit on Machine name and set title: front_page
5. Seth the Path to: front (it should be http://www.signwo.com/problem/front)
6. Check the "Make this your home site page" checkbox.
7. Click 'Continue' at the bottom.
8. Choose the category to: Builders
9. Select: Flexible
10. Click 'Continue' at the bottom.
11. Check the "Disable Drupal blocks/regions"
12. Click 'Continue' at the bottom.
13. Click the "Show Layout designer" button.
14. In the Region menu, select "Region settings", and change the region title to "Left".
15. In the Row menu, select "Add region to right". Title this region "Right".
16. Use the slider bar to set the width to 80 on the left, 20 on the right.
17. Click Finish
18. Click the gear icon to the left (center - if you could not give this a name) pane.
19. Then click "Add content"
20. Under the 'Views' heading, you find and select the "frontpage"
21. Select the display to: Master
22. Click Continue.
23. Click Update and save.
As you saw the bold/strong text, the number 14 is where I am getting this error message below or you can take a look on the screenshot:
So, what can the reason be?
Comment #11
truls1502I got it to works.
Only in Content-tab or in Summary-tab then click "Edit content".
But I am still getting the error when I am trying change the other layout than Flexible, then back to Flexible and updated other layout.
Then I should try click "Show Layout designer" button, there is where I just get the error message. But I still can configure, but only in content-tab, not in layout-tab. Mean there is some wrong coded in layout-tab and when someone trying create a new panel page.
Comment #12
Christoph Haas CreditAttribution: Christoph Haas commentedI can confirm that. In "Panel layout" editing the AJAX error appears. But in "Panel content" it works well.
Comment #13
agagliardo CreditAttribution: agagliardo commentedI too ran into the same error while using Panelizer but found if I put off adding columns, regions, rows etc until after saving under the "Layout" tab I can go back and make edits under "Content" and not get the error.
Comment #14
merlinofchaos CreditAttribution: merlinofchaos commentedMan, this is a weird one. Still keeping an eye on it.
The last comment mentioned Panelizer, though that is a different circumstance than the original report. Hmm.
Comment #15
swentel CreditAttribution: swentel commentedAttached is a patch which will log watchdog messages in case of an access denied. It *probably* happens somewhere in panels_ajax_router() (or at least, let's hope so). If you have an access denied now and then, could you apply this patch and see if you have an entry called 'panels_403' and report the details of the message here ? Thanks!
Comment #16
jboese CreditAttribution: jboese commentedI also receive this error. I've tried to set a panel page's layout from one of the fixed layouts provided by Panels to the Flexible layout. While adding rows/regions/etc. to the flexible layout before saving, the error appears:
An AJAX HTTP error occurred.
HTTP Result Code: 403
Debugging information follows.
Path: /panels/ajax/editor/layout/new/add/main-row
StatusText: error
ResponseText:
Access denied | 96 Key
...etc.
Comment #17
nhck CreditAttribution: nhck commentedAfter the watchdog patch:
Course of action:
Installed modules: http://pastebin.com/VcJatxRh
When I choose "Panel content" instead of "Panel layout" everything works fine. I noticed this difference in the paths:
"Panel layout":
https://example.com/test/panels/ajax/editor/layout/new/add/main
"Panel content":
https://example.com/test/panels/ajax/editor/layout/1/add/main
Comment #18
merlinofchaos CreditAttribution: merlinofchaos commentedAHH!
Okay, I think we've been misunderstanding all along.
I don't think I'd ever realized that the layout designer would be accessible from the "Edit layout" tab, only the "edit content" tab.
Is there anyone getting this error from a point other than actually trying to change the layout? If so, please let me know.
Now that I understand the bug, it's going to be a bit difficult to fix. Luckily, it's also not that big of a deal since you can go change your layout from the edit content tab which is what was always intended.
Comment #19
TommyChrisI have this error also.
If I go through Edit content, the layout designer works, if through Edit layout, it procedures the AJAX error (like above).
Comment #20
cehfisher CreditAttribution: cehfisher commentedI am having the same issue. I have the latest Panels and CTools modules, but get errors when I use the layout designer using the "panel layout" tab. It seems to work when I get the editor through the "panel content" tab. Very odd.
An AJAX HTTP error occurred.
HTTP Result Code: 403
Debugging information follows.
Path: /panels/ajax/editor/layout/new/add/main-row
StatusText: Forbidden
ResponseText:
Access denied
Comment #21
likewhoa CreditAttribution: likewhoa commentednowhere but in the "panel layout" tab, users can get to "panel layout designer" in the "panel content" tab as well. This with -dev modules + core.
Comment #22
damban CreditAttribution: damban commentedUsing Panel only for 2 days, so limited data gathering. However on D7.14 and Panels 7.x-3.2 I have so far nly seen this long error after clicking on the "Show layout designer" button on panel_layout page.
Comment #23
edwu CreditAttribution: edwu commentedsubscribing.
Comment #24
Mile23No need to add a 'subscribing' comment. Click the 'follow' button at the top of the issue page.
I see this error with Drupal 7.14, cTools/Page Manager 7.x-1.0 and Panels 7.x-3.2.
If I look at my variant and click on Summary tab, I see a 'Change Layout' link. This takes me to the Layout tab, so there's no difference between editing on the layout tab and the 'change layout' link as far as I can tell. At least: The error happens either way.
To make the error happen: On the Layout tab, change to Category: Builder. Select Flexible. Continue. Click Show Layout Designer. Choose to add any row or column from any of the Canvas, Column, or Row links. The editor tries to open, but you end up with this:
I noticed that if you turn off caching for CSS you end up with a million lines of this, in addition to the above:
Also, after dismissing this error dialog, I usually end up with a JavaScript dialog in my DOM which I have to dismiss by clicking 'close.'
Comment #25
Summit CreditAttribution: Summit commentedHi,
I come from panelizer. Latest version of panelizer, ctools and panels.
Having this same bug when trying to select the Context / Layout / Content of a teaser of a nodetype which is panelized.
Error:
I am logged in as administrator...so not good...Looking forward to the solution!
Greetings, Martijn
Comment #26
ligongx CreditAttribution: ligongx commentedI got same permission issue trying to edit builders - flexible on Drupal 7.14. The way I got around is to go to Panels Dashboard, create new Custom Layout, then edit layout the way you want. In your panel variant, simply pick the custom layout just created, no need to use the builders.
Comment #27
robcarrHad the same issue using the 'Builders' to change the layout of a Panel (AJAX access-related errors). #26 was the only work around for me.
Comment #28
passengeraleph CreditAttribution: passengeraleph commentedMyself I'm getting the error when I'm trying to add custom content and I can change the layout just fine. The way I bypass it is to create a block outside of panels and add it as a custom block.
Comment #29
passengeraleph CreditAttribution: passengeraleph commentedalso, it's definitely subdomain related. I run the exact same site in a domain and a subdomain for testing purposes and I'm getting the error only in the subdomain.Nevermind I just received it in the main domain as well.
Comment #30
sprhawk CreditAttribution: sprhawk commentedI encountered the same problem too.
I used vagrant/puppet to set up a dev env in VM, with drush installing the initial site.
I found directly access to the css urls succeeded. Then I realized that other problems are raised due to the directory permissions to the drupal/sites/default/files (is ctools/css permissons). Then I modified the scripts in which i executed a sudo chown -R www-data:www-data drupal/sites/default/files, then all problems are resolved !
Comment #31
BenjaminRH CreditAttribution: BenjaminRH commentedI had this problem too, until I realized that you can work around it by selecting the "Show layout designer" from the "Panel content" tab.
Comment #32
ravindersinghsond CreditAttribution: ravindersinghsond commentedHi Sprhawk (#30),
I m new to Drupal and in the process of creating a simple website. I have...........
Drupal 7.15
Panels 7.x-3.3
ctools 7.x-1.2
Danland 7.x-1.0 (theme)
I m also getting same error message when trying to create a custom panel. I am using windows 2003 enterprise edition sp1 and i have given full control permission over "drupal/sites/default/files" also i am logged in to the OS as Administrator. But still getting the same error. Any Suggestions?
Comment #33
wspademan CreditAttribution: wspademan commentedI get this error message in my own custom autocomplete field for a very specific set of input data. Anything matching the following regular expression produces the error message. Nothing else seems to produce an error:
.*/?.([^\.]|\..)
Some examples that produce the error:
Some examples that don't produce an error:
I also notice that the string argument to my autocomplete form function has the following anomalies:
Comment #34
monsoon CreditAttribution: monsoon commentedI have received this error twice, and now while working with Features module. When you go to
Structure > Features >
and click on 'Edit Components'
I have to select Content type: node
and As soon as I check on any of the check boxes of content types available on my website, I get similar error:
An AJAX HTTP error occurred.
HTTP Result Code: 403
Debugging information follows.
Path: /system/ajax
StatusText: Forbidden
ResponseText:
I am logged in as an Administrator, so have all the rights.
Thanks, hoping to find any work around soon. I am encountering this error on two different areas of the website, and it prevents me from doing any work further.
Thanks,
Comment #35
merlinofchaos CreditAttribution: merlinofchaos commented#34: Unfortunately, this issue is specific to panels layout editing only; your problem is with an entirely different module, so posting here won't help you.
Comment #36
deanflory CreditAttribution: deanflory commentedAnyone having lots of AJAX issue might want to try disabling the jQuery_Update module, worked for me. Just spreading the info, unsure if it's related to this issue.
Comment #37
BChandran CreditAttribution: BChandran commentedWow deanflory! That was a good temporary fix. I am getting the AJAX 403 error in a few cases and won't let me change some things in Structure. Disable jQuery_Update module, change things under Structure and no error. Then I enable jQuery_Update module back. Thanks for the suggestion.
Comment #38
deanflory CreditAttribution: deanflory commentedAn alternative that I'm guessing is the next evolution of the jquery update module is a semi-new module called jqmulti, might help utilize multiple versions of jquery simultaneously:
http://drupal.org/project/jqmulti
Comment #38.0
deanflory CreditAttribution: deanflory commentedI added /MMFS/ which I removed before, but need to have it there if there is a baseurl issue.
Comment #39
lsolesen CreditAttribution: lsolesen commentedCould you please try with the latest dev and update the version accordingly. Seems to have a duplicate also #1668324: An AJAX HTTP error occurred. PHP 5.4
Comment #40
lsolesen CreditAttribution: lsolesen commentedComment #41
ryanc CreditAttribution: ryanc commentedA similar issue was solved for me by changing from the built-in PHP web server (-S) with a slightly customised router.php, to the drush rs built-in web server. Which makes me think it may be an .htaccess setup issue for others.
Comment #42
lsolesen CreditAttribution: lsolesen commentedClosing for inactivity. Please reopen with exact steps to reproduce on latest dev, if you still have the issue.
Comment #44
Victor Lourng CreditAttribution: Victor Lourng commentedI still am having this issue on both 7.31 stable (dev environment) and 7.x-dev (clean install.)
Screencast here: http://quick.as/oe1sj5e
Here steps I used to reproduce this on 7.x-dev using a clean default install and sqlite. I only installed + enabled panels and ctools (a dependency) -
Comment #45
Victor Lourng CreditAttribution: Victor Lourng commentedComment #46
macrigor CreditAttribution: macrigor commentedMy solution to this problem was check the modication i did a couple months ago to .htaccess file. I needed clean pagination for my sites at Greysaber.com and boom20.com. I tried the clean pager module but was having a major problems with it. So I set out to make my own taylor made solution with help of the community.
I found a solution modifying the theme_pager_link() function in my template.php file. See the solution provided a community member called Merc (along my minor modication) ...
function MyTheme_pager_link($variables) {
$text = $variables['text'];
$page_new = $variables['page_new'];
$element = $variables['element'];
$parameters = $variables['parameters'];
$attributes = $variables['attributes'];
// $page ="";
// ADDED BY MERC
// $new_page = implode(',', pager_load_array($page_new[$element], $element, explode(',', $page)));
$page = isset($_GET['page']) ? $_GET['page'] : '';
if ($new_page = implode(',', pager_load_array($page_new[$element], $element, explode(',', $page)))) {
$parameters['page'] = $new_page;
}
$query = array();
if (count($parameters)) {
$query = drupal_get_query_parameters($parameters, array());
}
if ($query_pager = pager_get_query_parameters()) {
$query = array_merge($query, $query_pager);
}
// Set each pager link title
if (!isset($attributes['title'])) {
static $titles = NULL;
if (!isset($titles)) {
$titles = array(
t('« first') => t('Go to first page'),
t('‹ previous') => t('Go to previous page'),
t('next ›') => t('Go to next page'),
t('last »') => t('Go to last page'),
);
}
if (isset($titles[$text])) {
$attributes['title'] = $titles[$text];
}
elseif (is_numeric($text)) {
$attributes['title'] = t('Go to page @number', array('@number' => $text));
}
}
$original_text = $text;
// ADDED BY MERC
$q = $_GET['q'];
//$q = preg_replace('/(.)\/page-(.*)/','$1',$q);
$homepage_replace_node = "";
if($q=="node"){
$isFrontPage = "yes";
$q = $homepage_replace_node;
}
else {
$isFrontPage = "no";
/* this is where you pull the alias path instead */
$q=drupal_get_path_alias($q);
}
/* this should be a word relevant to your site content
it will replace the word "node" in the pager urls */
if ($new_page && $isFrontPage=="yes") $q = 'page/' . $new_page ;
if ($new_page && $isFrontPage=="no") $q = $q . '/page/' . $new_page ;
// Pagination with rel=“next†and rel=“prevâ€. Does not support well multiple
// pagers on the same page - it will create relnext and relprev links
// in header for that case only for the first pager that is rendered.
static $rel_prev = FALSE, $rel_next = FALSE;
if (!$rel_prev && $original_text == t('‹ previous')) {
$rel_prev = TRUE;
drupal_add_html_head_link(array('rel' => 'prev', 'href' => url($q, array('absolute' => TRUE))));
}
if (!$rel_next && $original_text == t('next ›')) {
$rel_next = TRUE;
drupal_add_html_head_link(array('rel' => 'next', 'href' => url($q, array('absolute' => TRUE))));
}
if($q==$homepage_replace_node)
return "".$text."";
return l($text, $q, $attributes, count($query) ? implode('&', $query) : NULL);
}
.......
Then the second modification was made to my .htaccess file by including to new rewrite rules
RewriteRule (.*)/page/(.*)$ ?q=$1&page=$2
RewriteRule ^page/(.*)$ ?q=node/&page=$1
Using these two snippets i've managed to make taxonomy links and and my frontpage pager links clean.
Buttttt... it turns out the rewrite rules are messing with ajax in views resulting in the 403 and 200 errors. For me my solution is comment them out whenever i need to modify a view that uses ajax.
Hopefully the solutions to both clean pagination and stopping the 403 errors in views (An AJAX HTTP error occurred.
HTTP Result Code: 403) help someone else. This drupal community has given alot to me over the years. A small payback.
Comment #47
kenorb CreditAttribution: kenorb commentedSame here happening when trying to change any settings of a pane (CSS Properties or even Edit). The AJAX popup says: You are not authorized to access this page.
This is fairly simple installation of Drupal. Clearing caches, cc, truncating tables manually, rr, exporting into features, re-installing panels didn't help.
Failing AJAX URL: http://localhost/panels/ajax/editor/pane-css/panel_context%3Apage-homepa...
What is happening, it seems when cache entry is corrupted, panels returns access denied (even for admin) as per this code in panels_ajax_router():
When commented out `MENU_ACCESS_DENIED`, the response is longer and it's:
where JSON validation shows as invalid:
When the request comes from cache, the second part is removed. Secondly I had to disable Notices in Drupal, otherwise they show up in the response as well. It may say 'Invalid pane id.', but the panes are fine. It happens on all of panes (custom & views, etc.).
Tested version: 7.x-3.5 and latest dev.
--
I think my case is related to PHP builtin server, as I'm using it with .ht.router.php and it's reproducible on clean installation with panels and page_manager, when trying to edit some panes. However it works fine with Apache.
Comment #48
kenorb CreditAttribution: kenorb commentedComment #49
truls1502I am going to close this ticket. Please re-open the ticket if you still have issue.
Comment #50
matman476 CreditAttribution: matman476 commentedI'm experiencing similar issues as #47, specifically for any variant in "/node/%node/edit". Logged in as an administrator, utilizing version 7.x-3.6. For me the problem was found inside the "panels_ajax_router" function:
Commenting out the return allowed me to manipulate the page like you normally would. The AJAX request was sent to "http://localhost/panels/ajax/editor/select-content/panel_context:node_ed...", which returned:
I flushed caches, checked if I really did have all administrator permissions and rebuild them, deleted my .htaccess and cleared my tmp folders, but nothing worked.
Comment #51
matman476 CreditAttribution: matman476 commentedComment #52
dsnopekI suspect the new comment here is really this issue: #2785915: Panels permissions update causes access denied on page manager pages defined in code
Please try out the patches there! Closing this for now, but you can always re-open later if that turns out to be a red herring.