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) »
  • You don't have permission to access /wp-admin/admin.php
Pages: [1]

Author Topic: You don't have permission to access /wp-admin/admin.php  (Read 9140 times)

oshma

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: WordPress 4.1
  • MySQL version: 5.5.40
  • PHP version: 5.5
You don't have permission to access /wp-admin/admin.php
February 06, 2015, 09:11:48 am
Hello, all. I have installed CiviCRM 4.5.6 on Wordpress 4.1, as administrator, and on the dashboard I get this message:

Forbidden

You don't have permission to access /wordpress/wp-admin/admin.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

However, if I click on the "full screen" icon in the upper right-hand corner of each box, I see the data just fine.

I have checked the permissions on both file and directory, and both seem fine.

I appreciate any suggestions anyone can offer.


Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: You don't have permission to access /wp-admin/admin.php
February 06, 2015, 11:34:46 am
Can you click the "refresh dashboard data" button?
Try asking your question on the new CiviCRM help site.

oshma

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: WordPress 4.1
  • MySQL version: 5.5.40
  • PHP version: 5.5
Re: You don't have permission to access /wp-admin/admin.php
February 06, 2015, 12:09:56 pm
I do have a "Refresh Dashboard Data" button, but when I click on it, I get exactly the same messages.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: You don't have permission to access /wp-admin/admin.php
February 09, 2015, 03:27:51 am
Are you using the same URL as your civicrm.settings.php file has? I mean specifically that both have or do not have www in front.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

oshma

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: WordPress 4.1
  • MySQL version: 5.5.40
  • PHP version: 5.5
Re: You don't have permission to access /wp-admin/admin.php
February 12, 2015, 03:17:00 pm
Nope, no www. anywhere--the site doesn't use it.

oshma

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: WordPress 4.1
  • MySQL version: 5.5.40
  • PHP version: 5.5
Re: You don't have permission to access /wp-admin/admin.php
February 20, 2015, 07:31:54 am
I still can't make this work.  ???

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: You don't have permission to access /wp-admin/admin.php
February 21, 2015, 10:11:34 am
You wrote

Code: [Select]
You don't have permission to access /wordpress/wp-admin/admin.php on this server.
Is that correct? Or should it be just /wp-admin/admin.php? Is your install in /wordpress?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

oshma

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: WordPress 4.1
  • MySQL version: 5.5.40
  • PHP version: 5.5
Re: You don't have permission to access /wp-admin/admin.php
March 02, 2015, 01:01:22 pm
It is in \wordpress\wp-content\plugins\civicrm

Does that help?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: You don't have permission to access /wp-admin/admin.php
March 03, 2015, 03:56:05 am
Is your server Windows or Linux?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

haystack

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 2
  • CiviCRM version: 4.n
  • CMS version: WordPress 4.n
  • MySQL version: 5.n
  • PHP version: 5.n
Re: You don't have permission to access /wp-admin/admin.php
March 04, 2015, 06:30:18 am
@oshma It looks to me like you're setting a custom location for your 'wp-content' directory or WP files in general. I take it your 'index.php' script is in root and you're telling it that WordPress is located in the 'wordpress' directory? Like this:

http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

The simple answer is... don't :( CiviCRM has a whole stack of hard-coded paths for WordPress and will fail in unexpected ways if you do anything even remotely out-of-the-ordinary. I am hoping to address this as part of the process described here:

http://forum.civicrm.org/index.php/topic,35647.msg152404.html

Unfortunately that doesn't help your current situation.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • You don't have permission to access /wp-admin/admin.php

This forum was archived on 2017-11-26.