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) »
  • 404 Page Not Found with almost every click in CiviCRM Administration...
Pages: [1]

Author Topic: 404 Page Not Found with almost every click in CiviCRM Administration...  (Read 3011 times)

dbuckingham

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.5.4
  • CMS version: WordPress 4.0.1
  • MySQL version: 5.1.57-rel12.8-log
  • PHP version: 5.2.17
404 Page Not Found with almost every click in CiviCRM Administration...
November 30, 2014, 09:56:41 pm
I have recently installed CiviCRM 4.5.4 to my WordPress installation (v4.0.1)(using MySQL 5.1.57, PHP 5.2.17). 

+ I copied the civicrm folder to /wp-content/plugins folder.
+ I created the appropriate files/ folder w/ permissions.
+ I activated the plugin from the Plugins screen.
+ From the CiviCRM Installer, I entered the database credentials, and then re-checked requirements and process with the installation.
+ The installation completes with success.

I can browse to the CiviCRM modules in the Administration section of WordPress, however just about all the links that i try, fail and I am redirected to the WordPress 404 page, including each link on the Configuration Checklist.  Has anyone observed such behavior, or otherwise would anyone have a suggestion?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: 404 Page Not Found with almost every click in CiviCRM Administration...
December 02, 2014, 07:16:54 am
Can you post an example URL that fails? Switch the base domain for a fake one if you want. Perhaps your site is redirecting the URLs for some reason.
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.

dbuckingham

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.5.4
  • CMS version: WordPress 4.0.1
  • MySQL version: 5.1.57-rel12.8-log
  • PHP version: 5.2.17
Re: 404 Page Not Found with almost every click in CiviCRM Administration...
December 04, 2014, 06:56:16 pm
Hershel,

Here is the link for "Organization Address and Contact Info" in the Configuration Checklist:

http://<fake_domain>/wp-admin/admin.php?page=CiviCRM&q=civicrm/admin/domain&action=update&reset=1&civicrmDestination=%2Fwp-admin%2Fadmin.php%3Fpage%3DCiviCRM%26q%3Dcivicrm%2Fadmin%2Fconfigtask%26reset%3D1

Thanks!

sgryzko

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.5.5
  • CMS version: WordPress
  • MySQL version: 5.6.17
  • PHP version: 5.5.12
Re: 404 Page Not Found with almost every click in CiviCRM Administration...
January 18, 2015, 02:28:08 pm
Hi,

Did you fix this problem? I'm having similar issues. I just installed CiviCRM with Wordpress. The links in the menus work properly but the "bread crumb" links don't.

Here's some specific steps:
 1) In CiviCRM in the WordPress dashboard, using the top menu, click on the CiviCRM logo, then click "CiviCRM Home". The page will appear as expected. URL: http://localhost/wordpress/wp-admin/admin.php?page=CiviCRM&q=civicrm/dashboard&reset=1
 2) Just below the top menu, you will see a blue link that says "CiviCRM". Click it. The page won't load. Instead, "Not Found" and "The requested URL /civicrm was not found on this server" will be displayed. URL: http://localhost/civicrm?reset=1

I see that the urls are different for the breadcrumb links vs. the menu links but I'm not sure how to fix that.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: 404 Page Not Found with almost every click in CiviCRM Administration...
January 20, 2015, 03:29:47 am
You could look at the base URL setting in the wp-content/plugins/civicrm/civicrm.settings.php file and see if it needs to be fixed.
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.

sgryzko

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.5.5
  • CMS version: WordPress
  • MySQL version: 5.6.17
  • PHP version: 5.5.12
Re: 404 Page Not Found with almost every click in CiviCRM Administration...
January 29, 2015, 09:26:32 pm
Quote from: Hershel on January 20, 2015, 03:29:47 am
You could look at the base URL setting in the wp-content/plugins/civicrm/civicrm.settings.php file and see if it needs to be fixed.

Thanks for the reply!

I looked at that file and it seemed to show the correct base url:
Code: [Select]
define( 'CIVICRM_UF_BASEURL'      , 'http://localhost/wordpress/' );
I tried changing it to what I think is the wrong base url:
Code: [Select]
define( 'CIVICRM_UF_BASEURL'      , 'http://localhost/civicrm/' );
And, not surprisingly, that didn't work. In fact, that caused the CiviCRM menu to disappear.

Any other ideas of where the wrong base url for the breadcrumb links might be coming from?

I should add that I did a search through all of C:\Program Files\wamp\ for "localhost/civicrm" and the only places it appears are in comments in civicrm.settings.php and civicrm.settings.php.template:
Code: [Select]
*      define( 'CIVICRM_DSN'         , 'mysql://civicrm:YOUR_PASSWORD@localhost/civicrm?new_link=true' );
« Last Edit: January 29, 2015, 09:33:10 pm by sgryzko »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: 404 Page Not Found with almost every click in CiviCRM Administration...
January 30, 2015, 04:05:40 am
Not sure. On the Administer CiviCRM page, check both "Directories" and "Resource URLs" just to confirm they are correct.
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.

sgryzko

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.5.5
  • CMS version: WordPress
  • MySQL version: 5.6.17
  • PHP version: 5.5.12
Re: 404 Page Not Found with almost every click in CiviCRM Administration...
January 31, 2015, 01:36:30 pm
I don't see anything suspicious under Resource URLs or Directories.

Resource URLs appear to be correct: http://localhost/wordpress/wp-content/plugins/civicrm/civicrm/

Directories is just pointing to locations on my C: so I don't think that's the problem.

I'm giving up on this for now but if I figure it out I'll post an update.

gcasalett

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.5.8
  • CMS version: Wordpress 4.1.1
  • MySQL version: 5.5.42-cll
  • PHP version: 5.4.37
Re: 404 Page Not Found with almost every click in CiviCRM Administration...
March 15, 2015, 06:22:13 am
Hello,

I'm wondering if anyone has had any luck with this issue. I just installed CiviCRM, similar configuration as above, and I have some of the same issues. None of the administration links work for me.

One thing I noticed: This is the link that one of the links points to: [xxx/plugins/civicrm/admin/custom/group]. I was looking at the files on my server, and the [admin] folder doesn't exist at all.

Also, the [civicrm.settings.php] file doesn't exist in my civicrm folder; there's a [civicrm.config.php] file though. Could the documentation be outdated?

Thank you!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • 404 Page Not Found with almost every click in CiviCRM Administration...

This forum was archived on 2017-11-26.