CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • WordPress Anonymous User not present
Pages: [1]

Author Topic: WordPress Anonymous User not present  (Read 1097 times)

GreatGuido

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: Wordpress 3.8.1
  • MySQL version: 5.5.36-cll
  • PHP version: 5.4.19
WordPress Anonymous User not present
March 30, 2014, 09:00:55 am
I have been struggling to make the unsubscribe link work and to make public  forms visible in my new CiviCRM installation. In my prowling of support forums I find the article below on WordPress Access Control that says "CiviCRM injects a new role (Anonymous User) in the wordpress instance, so that this role can be used to assign capabilities for anonymous users accessing public event/contribution pages."

https://civicrm.org/blogs/rajesh/wordpress-access-control

The Anonymous User role does not appear in my installation of WordPress but it does in the Demo site. The two attached screen shots showi the difference as seen on the WordPress Access Control Admin page. I think this is at the heart of my problem.

Any suggestions? 

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: WordPress Anonymous User not present
March 30, 2014, 09:17:06 am

can you do a new clean install and see if that has the role. The install code creates the role and permissions (in function set_wp_user_capabilities n civicrm.php)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

GreatGuido

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: Wordpress 3.8.1
  • MySQL version: 5.5.36-cll
  • PHP version: 5.4.19
Re: WordPress Anonymous User not present
March 30, 2014, 10:41:19 am
Thanks for getting back to me so quickly.

This is a pretty clean install already. I did install version 4.4.4 after a brief try with an older version (4.1.something) that I installed before I realized that there was a newer stable version, but I did not upgrade. I deleted the civicrm database and the civicrm plugin directly. Are there other steps I should take before trying a fresh install to think that installing again would do anything different? Is there any way that I can save the contents of the CiviCRM database? By the way I did NOT install the sample data the second time I did the install.

Do you think that the other roles that appear in WordPress placed by some backup plugin could cause the set_wp_user_capabilities to fail? Is there a way to run this without a complete install? Is there an install log that I could inspect that might show that it failed the first time?

I'll download the install package again (I guess I shouldn't have deleted it) assuming the worst and proceed with a clean install. I guess I will get good at installing if this keeps up.

GreatGuido

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: Wordpress 3.8.1
  • MySQL version: 5.5.36-cll
  • PHP version: 5.4.19
Re: WordPress Anonymous User not present - Solved
March 30, 2014, 03:00:17 pm
Thanks, Lobo. I reinstalled CiviCRM and the Anonymous User is now present.

I think that the first time I re-installed version 4.4.4, the Run Installer step did not appear as a WordPress menu item. Everything seemed OK so I just pressed on. I suspect that the reason the Run Installer step didn't appear was that I did not clean out the files directory, but I'm not going to test this particular use case.

Anyway, the Run Install step ran this time and I expect that my underlying problem will now be solved also.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • WordPress Anonymous User not present

This forum was archived on 2017-11-26.