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 CiviEvent (Moderator: Yashodha Chaku) »
  • Error when changing index.php file
Pages: [1]

Author Topic: Error when changing index.php file  (Read 1606 times)

mixxmedia

  • Guest
Error when changing index.php file
September 05, 2007, 07:38:24 am
As per the instructions:

Quote
CiviCRM front-end pages require a session to be started in order to function properly. You will need to patch the front-end index.php page to accomplish this:

    * Open <site root>/index.php in your favorite editor and find this line. (note that the below line might be slightly different based on your exact version of Joomla!.

// mainframe is an API workhorse, lots of 'core' interaction routines
$mainframe = new mosMainFrame( $database, $option, '..', true );

You may need root privileges or special permissions to edit this file. Add the following lines ABOVE the "$mainframe..." line you just found.

// These lines are needed for proper function of CiviCRM at the frontend
session_name( md5( $mosConfig_live_site . '_frontend' ));
session_start();

When I upload the new index.php file I get the following error:

Template File Not Found! Looking for template:joomla_admin


Thanks for any advice

mxm

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: Error when changing index.php file
September 05, 2007, 09:20:36 am
I think this might be an issue with your server / client that is used to upload modified file.

HTH

kurund
Found this reply helpful? Support CiviCRM

mixxmedia

  • Guest
Re: Error when changing index.php file
September 05, 2007, 09:33:28 am
I used FTP, will try using joomlaXplorer next time.

mxm

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Error when changing index.php file

This forum was archived on 2017-11-26.