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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Blank page when trying to access Event types Options
Pages: [1]

Author Topic: Blank page when trying to access Event types Options  (Read 3144 times)

long.lethanh

  • Guest
Blank page when trying to access Event types Options
August 28, 2008, 06:26:56 am
Hello,
i'm pretty new to civicrm.
Here's the issue i met on Joomla 1.5.6 with PHP 5.1.6 and mysql 5.0.27-1.fc5  :
blank page when tryin to access event types options in civicrm administration
I checked the Log and have this :

PHP Parse error:  syntax error, unexpected T_STRING in /var/www/vhosts/apb.ch/httpdocs/v2/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(184) : eval()'d code on line 1, referer: http://www.apb.ch/v2/administrator/index2.php?option=com_civicrm&task=civicrm/admin&reset=1

PHP Notice:  Undefined variable: object in /var/www/vhosts/apb.ch/httpdocs/v2/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php on line 197, referer: http://www.apb.ch/v2/administrator/index2.php?option=com_civicrm&task=civicrm/admin&reset=1

PHP Fatal error:  Call to a member function run() on a non-object in /var/www/vhosts/apb.ch/httpdocs/v2/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php on line 197, referer: http://www.apb.ch/v2/administrator/index2.php?option=com_civicrm&task=civicrm/admin&reset=1

Thank you for your help.


Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Blank page when trying to access Event types Options
August 28, 2008, 06:34:03 am
Bit strange.. i was unable to replicate this issue on my local install :(

Kurund
Found this reply helpful? Support CiviCRM

long.lethanh

  • Guest
Re: Blank page when trying to access Event types Options
August 28, 2008, 06:44:44 am
got the same error when trying to click on Access control

long.lethanh

  • Guest
Re: Blank page when trying to access Event types Options
August 28, 2008, 12:08:37 pm
Find that if i put English in Localization settings -> no problem. French -> Problem.
Any clue ?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Blank page when trying to access Event types Options
August 28, 2008, 02:01:29 pm
Can you try to replicate this on http://sandbox.civicrm.org/civicrm/ , file an issue if you are able to replicate.

Kurund
Found this reply helpful? Support CiviCRM

long.lethanh

  • Guest
Re: Blank page when trying to access Event types Options
August 28, 2008, 02:25:13 pm
Yup i succeed to replicate it... not with event type but with access control. I'm not sure how to file an issue... i'll look for it.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Blank page when trying to access Event types Options
August 29, 2008, 12:09:45 am
I was able to replicate this issue. For tracking purpose filed an issue http://issues.civicrm.org/jira/browse/CRM-3468

thanx

Kurund
Found this reply helpful? Support CiviCRM

long.lethanh

  • Guest
Re: Blank page when trying to access Event types Options
August 29, 2008, 06:44:23 am
to install the rev 16897 i have to download everything from http://svn.civicrm.org/civicrm/trunk/ and copy to my server?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Blank page when trying to access Event types Options
August 29, 2008, 06:49:55 am
Just apply this patch to CRM/Core/Invoke.php

@@ -181,7 +181,7 @@
                 $title = CRM_Utils_Array::value( 'title', $item );
                 if (strstr($item['page_callback'], '_Page')) {
                     eval ( '$object =& ' .
-                           "new {$item['page_callback']}( '{$title}', $mode );" );
+                           "new {$item['page_callback']}( `'{$title}'`, $mode );" );
                 } else if (strstr($item['page_callback'], '_Controller')) {
                     $addSequence = 'false';
                     if ( isset( $pageArgs['addSequence'] ) ) {
@@ -190,7 +190,7 @@
                         unset( $pageArgs['addSequence'] );
                     }
                     eval ( '$object =& ' .
-                           "new {$item['page_callback']} ( '{$title}', true, $mode, null, $addSequence );" );
+                           "new {$item['page_callback']} ( `'{$title}'`, true, $mode, null, $addSequence );" );
                 } else {
                     CRM_Core_Error::fatal( );
                 }

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Blank page when trying to access Event types Options

This forum was archived on 2017-11-26.