Hi, I'm experiencing a pretty big AJAX problem with Views. I can't change any of the settings that are configured on Views. I'm attempting to change the arguments that Views uses on Calendar and here's the error I get:

An AJAX HTTP error occurred.
HTTP Result Code: 403
Debugging information follows.
Path: /?q=admin/structure/views/ajax/config-item/calendar/default/argument/date_argument
StatusText: error
ResponseText:
403 Forbidden
Forbidden
You don't have permission to access /
on this server.

Currently the UNIX is set to 777, so everyone has permission to read, write, and execute on the server. I've tried every combination of views, calendar, date, and Ctools that I can (in terms of dev, RC, beta, alpha), and I keep getting the error.

Comments

dawehner’s picture

Status: Active » Fixed

This probably isn't the case anymore with the current beta.

Darthfuzzy’s picture

Nope, it's still a problem. I just attempted to change it using the new version and it still is reading a 403 error.

dawehner’s picture

Can you configure other arguments?

If yes this could be a problem of calender.

Darthfuzzy’s picture

No, I can't. It refuses to allow me to change any arguments. I can create new views, but I cannot change any of the settings on it.

Status: Fixed » Closed (fixed)

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

tigereyed’s picture

Version: 7.x-3.0-alpha1 » 7.x-3.x-dev
Component: Miscellaneous » User interface
Priority: Normal » Major
Status: Closed (fixed) » Active
Issue tags: +views, +Ajax

Hi there,
I updated this module to 7.x-3.x-dev after having the AJAX error (403) with the beta3 version. I am still getting an AJAX Error when trying to update any of the variables related to a view. I am a total newbie and am not sure how to check the php error log... can someone please help me walk through the steps of what to do to fix this?

Thanks in advance!

berenddeboer’s picture

Getting the same message after update of ctools/views to latest dev.

But slightly different: get it on clicking preview, it gives a 403 on path /admin/structure/views/view/frontpage/preview/page/ajax

berenddeboer’s picture

Hmm, this is fixed after simply saving the view.

dawehner’s picture

@tigereyed
Does saving the view fixes the issue for you, too?

tigereyed’s picture

Hi dereine,
After searching around more, I figured out from other peoples' error messages that this was an htaccess issue - the initial developer never loaded up that file to our site, and so views was giving cryptic messages but I had no idea what was going on! Still having some issues with the ajax, so we ended up turning off the overlays for the module. It's working pretty well now. Thanks!

tigereyed’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

mja’s picture

I can recommend a check of .htaccess to fix this problem - specifically, if you have code in there to add trailing slashes to urls, then this will upset Views ajax. Just set a REWRITE_COND to check that you're not in the /admin/ section, and you should be okay.