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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • What is application/x-httpd-php civicrm.settings.php PHP script text
Pages: [1]

Author Topic: What is application/x-httpd-php civicrm.settings.php PHP script text  (Read 1865 times)

ceford

  • I’m new here
  • *
  • Posts: 20
  • Karma: 2
What is application/x-httpd-php civicrm.settings.php PHP script text
April 01, 2010, 05:02:02 am
I have just upgraded a Joomla based site from 3.0.1 to 3.1.3. It was a long and complicated business involving downloading the site and database, repairing the database with dharma tools, upgrading and uploading again. There were hiccups along the way.

The downloaded (test) site seems to work fine, except that I can't change the Directory path and URL (documented as a Joomla related problem elsewhere). The uploaded production site seems to work mostly too. Except that the Dashboard spinner keeps spinning and below the CiviCRM menu I always get the mysterious line: 'application/x-httpd-php civicrm.settings.php PHP script text'. That appears in other places too. Like if I click on Email Add in the New Individual form it appears before the new email box. The AJAX individual look-up in the menu bar works fine.

I just don't know where I should start to solve this problem. Is it Installation, Configuration, Service Provider, or what? Can someone point me in the right direction. I don't want to make new entries until I know what is going on.

Cliff

Do I need to specify: Linux, PHP 5.2.8, Joomla 1.5.14, Apache 1.3.41 (production) 2.2.12 (test).

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: What is application/x-httpd-php civicrm.settings.php PHP script text
April 01, 2010, 09:45:36 am
try running this link:
/administrator/index2.php?option=com_civicrm&task=civicrm/admin/setting/updateConfigBackend&reset=1

that may be sufficient. but if not, there are patches to address the update url issue:
http://issues.civicrm.org/jira/browse/CRM-5910?page=com.atlassian.jira.ext.fisheye:fisheye-issuepanel

see the fisheye tab at the bottom. try implementing that and saving settings on that page.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

ceford

  • I’m new here
  • *
  • Posts: 20
  • Karma: 2
Re: What is application/x-httpd-php civicrm.settings.php PHP script text
April 01, 2010, 08:02:10 pm
Thanks for trying to help. I had tried everything in the documentation, and everything else I could think of. I have now found the cause of the problem:

That piece of text was at the top of the civicrm.settings.php files, both of them, before the opening <?php and I have no idea how it came to be that way! Did my fingers slip during editing, or did one of the civicrm scripts do it?

Anyway, problem solved.

Cliff

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • What is application/x-httpd-php civicrm.settings.php PHP script text

This forum was archived on 2017-11-26.