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 »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • CiviCase - Case Type admin screen is blank! Wordpress
Pages: [1]

Author Topic: CiviCase - Case Type admin screen is blank! Wordpress  (Read 1141 times)

p_drolima

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.5.6
  • CMS version: WordPress 4.0 +
  • MySQL version: Ver 14.14 Distrib 5.5.40
  • PHP version: 5.5.12
CiviCase - Case Type admin screen is blank! Wordpress
March 16, 2015, 03:25:54 am
Hi guys,

First of all, I did my homework and tried to find a solution elsewhere so this is my last place to look for help.

I have Civicrm installed in wordpress 4.1 on Multisite setup even though the plugin is only active on the main domain install and not on sub-site.

Everything works with the exception of Civicase, in particular the admin screen where you can add new case type = administer >> CiviCase > Case Types

I am getting a blank screen only showing the Civi menu, breadcrumbs and print friendly link. The URL is http://mydomain.com/wp-admin/admin.php?page=CiviCRM&q=civicrm/a/#/caseType

I checked the console and all resources are being loaded with success. I notice that at least on this particular screen angular.js is in use, so not sure if its related to my server setup or anything to do with angular?

I would be very grateful with some help with this.

(function(angular, _) {
    var crmApp = angular.module('crmApp', CRM.angular.modules);
    crmApp.config(['$routeProvider',
      function($routeProvider) {
        $routeProvider.otherwise({
          template: ts('Unknown path')
        });
      }
    ]);
    crmApp.factory('crmApi', function(){
      return function(entity, action, params, message) {
        // JSON serialization in CRM.api3 is not aware of Angular metadata like $$hash
        if (_.isObject(entity)) {
          return CRM.api3(eval('('+angular.toJson(entity)+')'), message);
        } else {
          return CRM.api3(entity, action, eval('('+angular.toJson(params)+')'), message);
        }
      };
    });
  })(angular, CRM._);

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: CiviCase - Case Type admin screen is blank! Wordpress
March 16, 2015, 06:58:15 am
Just to double-check - you have already gone through all the steps at http://forum.civicrm.org/index.php/topic,35850.0.html
Try asking your question on the new CiviCRM help site.

p_drolima

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.5.6
  • CMS version: WordPress 4.0 +
  • MySQL version: Ver 14.14 Distrib 5.5.40
  • PHP version: 5.5.12
Re: CiviCase - Case Type admin screen is blank! Wordpress
March 16, 2015, 03:48:58 pm
Hi and thanks for replying!

Yes I did go through the steps on that list and as I meantioned above, the console does not spit out anything wrong. I am lost to be honest in terms of resolving this. The only clue I find is that this particular page has angular.js and wondering if there might be in my server config that is not enabling angular to work?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • CiviCase - Case Type admin screen is blank! Wordpress

This forum was archived on 2017-11-26.