I have setup CiViCRM with Drupal. Setup was completed successfully without any errors.

After Login into Drupal as Admin, while I'm visiting new event create page using menu -> Events -> New Event, I got blank page nothing else.

When I checked the error log it says:

PHP Fatal error: Call to undefined function getRequiredMarker() in /var/www/html/xx-civicrm/sites/default/files/civicrm/templates_c/en_US/%%89/896/89673E6E%%ProfileTemplates.tpl.php on line 64, referer: http://xxxxxxx.com/civicrm?reset=1

But I found that function "getRequiredMarker()" in a js file:


So what is the issue here? What is the solution here?

Any help would be appreciated. Thanks.

1 Answer 1


I found the issue:

It is because of asp_tags extension. Need to turn off it.

Either turn off it from php.ini file(globally disable)


by putting this line in .htaccess file(locally disable)

php_flag asp_tags off

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.