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) »
  • Joomla install tip works good for most servers
Pages: [1]

Author Topic: Joomla install tip works good for most servers  (Read 4547 times)

deros

  • Guest
Joomla install tip works good for most servers
August 13, 2008, 03:26:20 pm
if your having problems with internal errors and timeouts i suggest you do the following
download and install joomlapack
make a backup of your site
download a stand alone server for your computer joomlapc is good
take you backup from joomlapack
install it onto your virtual server on your own pc
then install joomla's civicrm get it all working, use joomlapack to repack the whole thing up
put the file back on your live server and use joomla packs installer to install joomla again
no you should have a working copy of civicrm without having to deal with max execution times etc... took me 10 minutes to do this

clea023

  • Guest
Re: Joomla install tip works good for most servers
August 17, 2008, 10:07:56 pm
I'm using Joomla1.5.3.  I used JoomlaPack with no trouble to backup my site, then JoomlaPC to install CiviCRM -- took several tries to get the php.ini settings HIGH ENOUGH for my computer (6000 / 600 / 256MB), but that finally also worked.

Problem -- uploading the repacked site.

Some of my config files were not converted when I used the kickstart installer, including civicrm.settings.php, so I am having trouble with some of the files on my host calling for
W:\www\Joomla\administrator\...
instead of
/home/users/web/b2773/ipw.[accountname]/public_html/aver/administrator/...

I actually now have 2 directories inside of the administrator directory that recreate themselves any time I access the CiviCRM control panel, no matter how many timse I remove them:
W:\www\Joomla\media\civicrm\custom
W:\www\Joomla\media\civicrm\upload

I also have the following problem that is showing up in the source code of every page in my CiviCRM control panel inside Joomla, that I am still madly trying to hunt down:
Code: [Select]
<script type="text/javascript" src="http://localhost/Joomla/administrator/components/com_civicrm/civicrm/js/Common.js"></script>

    <link rel="stylesheet" href="http://localhost/Joomla/administrator/components/com_civicrm/civicrm/css/joomla.css" type="text/css" />
<link rel="stylesheet" href="http://localhost/Joomla/administrator/components/com_civicrm/civicrm/css/civicrm.css" type="text/css" />
<link rel="stylesheet" href="http://localhost/Joomla/administrator/components/com_civicrm/civicrm/css/skins/aqua/theme.css" type="text/css" />
<script type="text/javascript" src="http://localhost/Joomla/administrator/components/com_civicrm/civicrm/packages/dojo/dojo/dojo.js" djConfig="isDebug: false, parseOnLoad: true, usePlainJson: true"></script>
<script type="text/javascript" src="http://localhost/Joomla/administrator/components/com_civicrm/civicrm/packages/dojo/dojo/commonWidgets.js"></script>
<style type="text/css">@import url(http://localhost/Joomla/administrator/components/com_civicrm/civicrm/packages/dojo/dijit/themes/tundra/tundra.css);</style>
<script type="text/javascript" src="http://localhost/Joomla/administrator/components/com_civicrm/civicrm/js/calendar.js"></script>
<script type="text/javascript" src="http://localhost/Joomla/administrator/components/com_civicrm/civicrm/js/lang/calendar-lang.php?en_US"></script>
<script type="text/javascript" src="http://localhost/Joomla/administrator/components/com_civicrm/civicrm/js/calendar-setup.js"></script>
and so on and so forth.

As such, the CiviCRM control pages only render correctly on my iPower hosted site whilst I have JoomlaPC running at home.  When I shut down JoomlaPC, all I see is plain blue text and text links.  I need this thing working all by its lonesome since I am not the only administrator.

Still scouring through my files to find where the heck these errors are...
« Last Edit: August 17, 2008, 10:18:22 pm by clea023 »

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: Joomla install tip works good for most servers
August 17, 2008, 10:39:08 pm
clea023:

1. Can you check if you have correct resource urls.
2. Finally if everything is correct, try resetting you config_backend =NULL in you civicrm_domain table.

HTH

kurund
Found this reply helpful? Support CiviCRM

clea023

  • Guest
Re: Joomla install tip works good for most servers
August 18, 2008, 01:00:44 am
I corrected all of the resource URLs, set civicrm_domain config_backend to NULL, and got a fatal error:

Fatal error: Uncaught exception 'Exception' with message 'Please make sure the IDS/tmp folder is writable' in /hermes/.../administrator/components/com_civicrm/civicrm/packages/IDS/Monitor.php:187 Stack trace: #0 /hermes/.../administrator/components/com_civicrm/civicrm/CRM/Core/IDS.php(113): IDS_Monitor->__construct(Array, Object(IDS_Init)) #1 /hermes/.../administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(74): CRM_Core_IDS->check(Array) #2 /hermes/.../administrator/components/com_civicrm/admin.civicrm.php(46): CRM_Core_Invoke::invoke(Array) #3 /hermes/.../administrator/components/com_civicrm/admin.civicrm.php(23): civicrm_invoke() #4 /hermes/.../libraries/joomla/application/component/helper.php(162): require_once('/hermes/bosweb/...') #5 in /hermes/.../administrator/components/com_civicrm/civicrm/packages/IDS/Monitor.php on line 187

I corrected that, and got a 500 error with nothing logged.

I think I am going to scrap this route, rip everything out, restore my pre-CiviCRM DB backup, and see if I can use enough host memory for a nice quiet 4am install.  I've sunk too many weekend hours into the JoomlaPack/JoomlaPC method to be running into so many problems now.

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: Joomla install tip works good for most servers
August 18, 2008, 01:34:46 am
Can you delete /hermes/.../media/civicrm/upload/Config.IDS.ini and check if it solves your problem.

Kurund
Found this reply helpful? Support CiviCRM

clea023

  • Guest
Re: Joomla install tip works good for most servers
August 18, 2008, 03:53:43 am
I'm clearly missing something very important here.  Do you by chance know where one might find a nice and concise list of CiviCRM files / DB entries that must be changed by hand post-JoomlaPack-kickstart?  Sort of a [CiviCRM-via-JoomlaPack/JoomlaPC for dummies]?

Having never previously used JoomlaPack/JoomlaPC -- this method has been nothing even vaguely related to 10 minutes for me.

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: Joomla install tip works good for most servers
August 18, 2008, 04:01:24 am
Quote
I'm clearly missing something very important here.  Do you by chance know where one might find a nice and concise list of CiviCRM files / DB entries that must be changed by hand post-JoomlaPack-kickstart?  Sort of a [CiviCRM-via-JoomlaPack/JoomlaPC for dummies]?

On a fresh Joomla setup you don't have to change anything in CiviCRM files / DB. I never used used JoomlaPack, so no idea about that..
 
Kurund
Found this reply helpful? Support CiviCRM

clea023

  • Guest
Re: Joomla install tip works good for most servers
August 18, 2008, 07:12:18 pm
Quote from: Kurund Jalmi on August 18, 2008, 04:01:24 am
On a fresh Joomla setup you don't have to change anything in CiviCRM files / DB. I never used used JoomlaPack, so no idea about that..
 
Kurund
Let me give some clearer details.

So far, trying to do a fresh install on iPower is pointless due to 500 errors.

The only way I can get CiviCRM to actually install is on JoomlaPC.  As a fresh install on JoomlaPC, everything works just perfectly.

When I follow the suggestion at the top of this thread to pack up my site, import it to JoomlaPC, install CiviCRM, repack, and then unpack on my host via JoomlaPack kickstart -- it only changes the Joomla configure.php.  All of the CiviCRM configurations stay as is, and thus -- trying to find http://localhost... instead of the correct doc root/ etc. for iPower.

I've found the manual installation thread for Drupal, but have yet to find one for Joomla.  Hence my question as to whether or not anyone has compiled a list of CiviCRM2.1a files that need to be corrected from JoomlPC or possibly a plain old manual-install guide for Joomla1.5.

clea023

  • Guest
Re: Joomla install tip works good for most servers
August 18, 2008, 07:30:18 pm
finally found tip in a thread not related in any way to JoomlaPC or JoomlaPack.

http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location

I had no idea there was a panel to accomplish this -- was trying to do it by hand.

If I have to go this route instead of fresh install, I'll give my own "for dummies" update of all of the steps to make this ethod a "ten minute" thing -- as well as actual time to expect.

clea023

  • Guest
Re: Joomla install tip works good for most servers
August 19, 2008, 04:21:31 pm
Quote from: Kurund Jalmi on August 18, 2008, 01:34:46 am
Can you delete /hermes/.../media/civicrm/upload/Config.IDS.ini and check if it solves your problem.

Kurund

I had a kickstart failure right at the very end, so I had to export my JoomlaPC database and import it onto my host server.

I updated both of my civicrm.settings.php's

I reset the directories correctly at http://<joomla_site>/administrator/index2.php?option=com_civicrm&task=civicrm/admin/setting/updateConfigBackend&reset=1
Refresh = all CiviCRM links on the Component drop-down menu were working, but all of the links INSIDE the CiviCRM were still pointing to http://localhost...

I went into the civicrm_domain table and set config_backend =NULL
Refresh = got the fatal error when I tried to use any of the links inside of the CiviCRM control panel.

I deleted /hermes/.../media/civicrm/upload/Config.IDS.ini
Refresh = every single CiviCRM link is properly pointing to my host ... except the top left menu.

In the civicrm_menu table -- the breadcrumb fields are still pointing to http://localhost.  Working on how much to find/replace there because a total f/r just produced:
Warning: Invalid argument supplied for foreach() in /hermes/bosweb/web277/b2773/ipw.averusaa/public_html/aver/administrator/components/com_civicrm/civicrm/CRM/Core/Menu.php on line 380

Warning: Invalid argument supplied for foreach() in /hermes/bosweb/web277/b2773/ipw.averusaa/public_html/aver/administrator/components/com_civicrm/civicrm/CRM/Core/Menu.php on line 411

Warning: Invalid argument supplied for foreach() in /hermes/bosweb/web277/b2773/ipw.averusaa/public_html/aver/administrator/components/com_civicrm/civicrm/CRM/Core/Menu.php on line 420

Warning: ksort() expects parameter 1 to be array, boolean given in /hermes/bosweb/web277/b2773/ipw.averusaa/public_html/aver/administrator/components/com_civicrm/civicrm/CRM/Core/Menu.php on line 437

So I need to roll back and recheck.
« Last Edit: August 19, 2008, 04:32:57 pm by clea023 »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Joomla install tip works good for most servers
August 19, 2008, 05:29:53 pm

This is now fixed and will be part of alpha4

updateConfigBackend now rebuilds the menu table and deletes the Config.IDS.ini. Hopefully this will make things a bit smoother in the future

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

clea023

  • Guest
Re: Joomla install tip works good for most servers
August 19, 2008, 07:18:42 pm
so breaking this thing for you guys means my paycheck is going to get doubled, right?   ;D

EDIT: I somehow un-broke it.

After rolling back my civicrm_menu table -- I went into the global settings page, verified everything (was all already correct), clicking save as I went along -- and suddenly the leftover links that were still pointing to http://localhost are now pointing to my domain.  Not sure which confirmation triggered the switch.
« Last Edit: August 19, 2008, 08:30:30 pm by clea023 »

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: Joomla install tip works good for most servers
August 20, 2008, 12:26:42 am
Once you login to administer

Type this url: http:// ................../administrator/index2.php?option=com_civicrm&task=civicrm/menu/rebuild?reset=1

This will rebuild all your menus.

kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Joomla install tip works good for most servers

This forum was archived on 2017-11-26.