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 »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • CiviCRM 2.0.3 on Joomla 1.5 not working
Pages: [1]

Author Topic: CiviCRM 2.0.3 on Joomla 1.5 not working  (Read 3950 times)

benjo4u

  • Guest
CiviCRM 2.0.3 on Joomla 1.5 not working
May 02, 2008, 01:34:46 pm
I couldn't get 2.0.2 working so now I'm trying 2.0.3.  I've unzipped it and uploaded it to /mypath/administrator/components/com_installer/component/com_civicrm/

and I've tried multiple times.

Mostly it tells me that folder already exists, but I've deleted the folders or renamed them.  It's as if it creates the folder and then checks if it's there yet.

Last time it just kept loading

in the /mypath/components/com_civicrm folder there's two files
it looks like everything else is in the /mypath/administrator/components/com_civicrm

Nothing seems to have been inserted in the mysql db
php 5 and mysql 5

If I go to the component url directly, I get
Warning: require_once(DB.php) [function.require-once]: failed to open stream: No such file or directory in /mypath/administrator/components/com_civicrm/configure.php on line 121

Fatal error: require_once() [function.require]: Failed opening required 'DB.php' (include_path='/mypath/administrator/components/com_civicrm:/mypath/administrator/components/com_civicrm/civicrm:/mypath/administrator/components/com_civicrm/civicrm/packages:.:/usr/local/php5/lib/php') in /mypath/administrator/components/com_civicrm/configure.php on line 121

Weird, huh?

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: CiviCRM 2.0.3 on Joomla 1.5 not working
May 03, 2008, 05:16:27 am
Okay, start from the beginning.

Are you using install from directory?


Are you doing it as legacy?

benjo4u

  • Guest
Re: CiviCRM 2.0.3 on Joomla 1.5 not working
May 03, 2008, 10:03:44 pm
:) sorry

yes, legacy, from directory.  I've also recently tried the instructions  here http://civicrm.org/node/297


mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: CiviCRM 2.0.3 on Joomla 1.5 not working
May 05, 2008, 03:46:40 am
The way the civicrm install works is that it doesn't really install until you go to the component to the first time.
Make sure that the two component folders are writable. (front end and back end) because what's probably happening is that the installer is unable to write the settings file. Sometimes this is made worse by file ownership issues, but for right now if you temporarily change those two folders to 775 or even 777 then the install will probably work. Just remember to turn it back when you are done.

benjo4u

  • Guest
Re: CiviCRM 2.0.3 on Joomla 1.5 not working
May 05, 2008, 10:39:44 am
I chmod'ed 777 the components and administrator/components directories and upgraded to 1.5.3

I tried installing again from the com_installer/component/com_civicrm directory (using the modified files from the blog link above) and got



        * Component Install: Another Component is already using directory: "/pathto/components/com_civicrm"
        * Component Install: Another Component is already using directory: "/pathto/administrator/components/com_civicrm"

Message

        * Install Component Error

Looking in those directories, it does look like the files were copied over

If I enter the component url in, /administrator/index.php?option=com_civicrm, I get

Warning: require_once(DB.php) [function.require-once]: failed to open stream: No such file or directory in /pathto/administrator/components/com_civicrm/configure.php on line 101

Fatal error: require_once() [function.require]: Failed opening required 'DB.php' (include_path='/pathto/administrator/components/com_civicrm:/pathto/administrator/components/com_civicrm/civicrm:/pathto/administrator/components/com_civicrm/civicrm/packages:.:/usr/local/php5/lib/php') in /pathto/administrator/components/com_civicrm/configure.php on line 101

I have php5 with mysql5

If I rename  my administrator/components/com_installer/component/com_civicrm/admin" directory to administrator/components/com_civicrm and keep the correct files in /components (assuming the previous error is because not all the files copy), when i go to the same direct url it loads a backend page with the header menus and also footers, but blank content...

I'm stuck

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: CiviCRM 2.0.3 on Joomla 1.5 not working
May 06, 2008, 05:47:38 am
well line 101 is looking for the settings file. Does the settings file exist?

Also, i have an ongoing issue with settings when trying to do a 1.5 native install which is that the database information is not getting copied everywhere it needs to get copied. So i went in and added it myself.

benjo4u

  • Guest
Re: CiviCRM 2.0.3 on Joomla 1.5 not working
May 06, 2008, 07:33:48 am
I actually noticed that the tables were inserted in the database, and went looking for whatever configuration files were not automatically generated. I once found a download on the forum, but can't find it now.

(I tried running index.php?option=com_civicrm&task=install from the backend)

So, I modified/created civicrm/civicrm.settings.php but that still results in a blank page when accessed from the backend.  I also think that while the civicrm tables were created, the joomla integration row were not added...

benjo4u

  • Guest
Re: CiviCRM 2.0.3 on Joomla 1.5 not working
May 06, 2008, 08:23:00 am
This post worked (I have godaddy)

http://forum.civicrm.org/index.php/topic,2533.msg12085.html#msg12085

However,
* I only have  php.ini, no php5.ini (I don't know if I need to create one..)a. I do have in htaccess the line that reads php as php5 and not php4
* I didn't put in the sessions line in the joomla configuration.php file
* I had to move the civicrm folder into com_civicrm after the install succeeded as it failed if I already had that file
* I used the modified install files for Joomla 1.5x (I have 1.5.4)

(See my attached modified files)

Everything seems to be working fine

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • CiviCRM 2.0.3 on Joomla 1.5 not working

This forum was archived on 2017-11-26.