Hot answers tagged

4

After a lot of desperate digging we have come up with a work-around. I think the right answer is: Don't use iframes. There seems to be thoughtful reasons to restrict the flow of cookies/session information between an iframe and the parent and even though we have figured out a way to work-around it now, I'm not confident these tricks will work in the future. ...


2

check your base url in civicrm.setting.php file. May be you have added www in your URL and in your actual URL there is no www. Example: If you site URL is http://example.com then your base URL in civicrm.settings.php must be define( 'CIVICRM_UF_BASEURL' , 'http://exapmle.com/'); Not define( 'CIVICRM_UF_BASEURL' , 'http://www.exapmle.com/');


2

To clarify, they are two ways of accessing the api over the net, the REST interface (that uses the keys) and the ajax one (that is used for the front end js, and doesn't need the keys) So if it's client js, the authentication is done through the CMS, so via the cookie session. You shouldn't use the keys. What we recommend is to always use POST when we use ...


2

I'm going to provide one answer for the moment. This appears to be a Windows-only issue. I lifted my wordpress file hierarchy to my linux laptop and set permissions accordingly (chmod 775 all directories, chmod 664 all files, chmod 660 wp-config.php and civicrm.settings.php). Running linux xampp, the CiviCRM Dashboard appears exactly as it does on the live ...


2

Did you change the various URLs/paths in civicrm.settings.php and wp-config.php to match the new location? See this section from How should I copy a site from production to staging? : Replace all the usernames, passwords, paths, etc. in settings.php, civicrm.settings.php, and/or wp-config.php with the values appropriate to the staging server. If ...


2

I can't answer on behalf of CiviCRM LLC but I can say that the only cookie I see is the session cookie which just stores a session id. However the session object on the server that matches that id has many things in it, but in any case the purpose within the code is usually to provide functionality, such as the recent history list in the sidebar, or even ...


1

Yes, that's the expected behaviour. I'm intrigued that anyone would try and make a contribution with cookies disabled - presumably they are (justifiably) concerned about privacy on the internet, but there aren't going to be many donation forms that work without cookies. The reason you need cookies enabled (with civicrm) is because some of the form state ...


1

Google "Cookie Checker" There are several sites out there that offer GDPR cookie compliance. They generally offer a free test for your domain that will tell you if you are using cookies.


1

Well, this is embarassing as the answer was simply to clear all browser cache AND cookies. I had only cleared the browser cache before and just last night cleared the cookies for something else. When I brought up my local win Wordpress+CiviCRM under xampp, the CiviCRM dashboard was back in business! I apologize to those who took the time to help diagnose, ...


1

Suspect this issue is happening when the site is accessed via https://example.com instead of https://www.example.com, or when moving from one domain to another midway through a form submission. See also this similar SE question. This text is in the error message you've pasted: Site Administrators: This error may indicate that users are accessing this ...


1

I think I've tracked down the problem on my site to the uk.co.vedaconsulting Mailchimp plugin. Removing that seems to fix my issue on my test server, making my hack of embedding an iframe unnecessary (described at Why won't data entered into CiviCRM profile html snippet save? ). Hopefully it also fixes my timeout problem described here...testing that now....


Only top voted, non community-wiki answers of a minimum length are eligible