Closed zero2one closed 9 years ago
can you do a debug_backtrace() to see where it's coming from. Or send me a db dump so I can check locally.
See CFD-229
@zero2one I've looked into this, and it seems RESTful is supposed to work properly.
Can we have a quick session together like last time, to check the DEV server. I have a feeling the $_SERVER['PHP_AUTH_USER']
and $_SERVER['PHP_AUTH_PW']
are somehow populated.
@amitaibu Sounds logical as the site is sitting behind a htaccess login…
The htaccess login is necessary to protect prying eyes and Search bots.
Indeed it's the .htaccess
So we should change the result plugins authentication type to be array('cookie')
-- so it won't hit the basic auth
Actually I found a better solution - https://github.com/RESTful-Drupal/restful/pull/336
So on ACC we will need to drush vset restful_skip_basic_auth 1
and it won't use the basic auth.
We should add this to:
I think it should be environment specific - as in the production site, you would potentiality want to allow basic auth
The drush command fixes the issue.
I deployed yesterday the develop branch on the ACC environment.
There is something strange with Restful API module:
Could it be that Restful is doing to much, even when it is not needed at all? (I even got some Restful related errors during the migration).
This is the message I get:
Is there a work around for this as it blocks the demo…