Recently I made following 2 changes in the admin, after that it show "You are not authorized to access this page" for all pages including admin panel. I do not know how to restore it.
The changes are
1) Enabled Web services modules of HAL, Basic Auth and Resful API
2) Admin > People > Permission, checked on the checkbox for some settings.
Right now only the header and footer is loading with above message for all pages including admin panel. Please help me to fix this.
Note : I tried by clearing browser cache and execute update.php but nothing works.
Related
I've just taken a copy of my drupal 8 database from staging and loaded this on my development enviroment.
I now get access denied when I try to login /admin
Can't find any information on why.
Update
Seems to be something to do with a twig service where the urlGenerator is not being implemented. Still no luck fixing this.
In hoster`s panel try find "IP address:" settings and change it from "Dedicated IP" (this option can have dependant "This site processes direct requests to a dedicated IP address" tick) to "Shared IP".
Without doing login in your site, you can not access the admin screen.
For example : If your site is justprogrammer.com and you try to open link justprogrammer.com/admin without login then you are not able to access the page. Before accessing the admin link, you first need to login using justprogrammer.com/user.
You cannot just access any /admin/* pages on drupal without logging in. For that you have to login from /user/login put in the username and relevant password then you can access the admin side if you really have admin role and actually logging in from admin account.
If you don't know the password for admin simply reset them to whatever you want by this drush command.
drush upwd --password="YourPassword" 1
1 is user id of admin.
I have a site in Joomla
http://kvmshop.kr.cisinlive.com/administrator/index.php . I am trying to login in admin area but I am not able to login. It always redirects me to the same page without any error i.e http://kvmshop.kr.cisinlive.com/administrator/index.php .
I read in some forums that this issue occurs due to whitespaces in configuration file. I removed whitespaces too from configuration file.
I set 644 permission for configuration files.
Please help me with this issue. I am fed up with this.
Are you able to access your database tables with something like PHPMyAdmin? The first that comes to mind is that there is something in there set to "0" (or, unpublished).
If you can access your tables, go to the jos_plugins table and search for a value called User - Joomla and for another value called Authentication – Joomla, if those are set to 0 then that is the issue, set that to 1 and click "Go" or "Save".
That should fix the login issue.
When I access my site that's being managed by Sitecore, it's redirecting me and asking for Sitecore credentials. I have no idea why but obviously the main site should be viewable to public without needing creds.
Thanks.
This could be from your sitecore cookie still in page editor mode, To fix this add this query string to your URL:
?sc_mode=normal
This will update your cookie and no reddirect to login anymore
Assuming that you have a combined CM/CD environment and that this is specific to your computer or other authors' computers, it is likely that Sitecore is picking up on the fact that you were using the Page Editor in a previous session. When you are using Page Editor Sitecore will drop a cookie called website#sc_mode and set it to "edit". If you return to the page with that cookie set it will push you to the Login Page as it things you are attempting to edit that page.
To resolve this try clearing your cookies or using a browser in Incognito mode/Private Browsing.
If this is happening to other users I would suggest following Martijn's advice in the other Answer and checking your site definition.
Check your site definitions in the web.config and/or the sites.config in the /app_config/include/ folder. Most of the times there is some misconfiguration there.
Check the security roles set on your site pages. If for some reason access has been denied to the 'extranet/anonymous' user you won't be able to browse without being authenticated.
I am in the process of adding Like buttons to all of the product pages on a website. I am using all of the proper open graph tags and an app_id and everything seems to be working fine. I will be using a version of the button that does not give you the Admin or Insights links to choose from. I am wondering if there is an easy way to access those pages without the links?
Even though I am listed as an admin of the App, I am not automatically listed as an admin of each of the product pages as they are created. The only way I have been able to do it is to:
Add the default Like button code to another area of the page.
Click on the admin link then add myself as a page admin.
Delete the extra button on the page.
Access the admin area by going to facebook/pages.
This will be a pain as I add in hundreds of products! Any advice would be appreciated.
I'm facing the same issue. Sadly your way of being admin of a page via an extra button didn't work for me.
I've found this related bug in facebook developers website : http://developers.facebook.com/bugs/160664854023586?browse=search_4e946433c82379f78564182
I'm using the xfbml Add To Timeline social plugin (https://developers.facebook.com/docs/reference/plugins/add-to-timeline/), but when I click it the permissions dialog I get just says "Access my basic information" and sure enough it isn't actually getting me the publish_actions permission I need to use the timeline. I tried specifying the perm explicitly on the tag like so:<fb:add-to-timeline show-face="false" mode="button" perms="publish_actions"></fb:add-to-timeline> but no luck.
This was working fine yesterday and suddenly now it isn't. I'm wondering if this has something to do with my adding and removing my app from my facebook account multiple times?
This was driving me crazy for a long while. In my case, I fixed it by enabling 'Enhanced Auth Dialog' under the Advanced tab of my app settings.
When asking for publish_actions Facebook shows a preview screen of what sort of aggregations your app will create on their timeline.
In other words, if the preview isn't working, Facebook won't ask for the permission so you're asking in vain. Facebook doesn't make this clear in the docs, but everything needs to be perfectly setup with your app on Facebook to get this to work right.
Enable Enhanced Auth Dialong in the advanced settings of the app
Make sure you have at least one action and one object set up in the open graph section
For each action you must have an aggregation set up.
If you do not do all of these steps, there can be no preview and so Facebook won't ask for permission no matter what.
I faced the same issue. I fixed it by doing the below mentioned two thiings.
a. Enabled 'Enhanced Auth dialog' from 'advanced' setting of the app.
b. blanked 'user and friend permissions' along with 'extended permissions' tab on 'auth dialog' page.
I am not sure what it did, but it started working.
BUT.. Even though the authentication works and the posts are reflecting on my timeline, the add-to-timeline button still shows, 'Add to Timeline'..
The other trick i used is to keep checking the app permissions under account setting tab of my profile page.
Hope this helps !
From Apps -> Settings -> Auth Dialog:
While in Open Graph Beta, the 'publish_actions' permission can only be
requested from developers and test users of your app. The
'publish_actions' permission will be ignored if requested from any
other user.
I had the Enhanced Auth Dialog enabled in the Advanced Settings, yet this did not work until I added a Aggregation Preview for the activity. Strange, but true.
Hope this helps.
The publish_actions permission appears only if the user has added timeline OR if your app is a game. I suppose it will also be available for apps when Timeline will be rolled out to all users...