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 »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • CiviCRM not working on client machines
Pages: [1]

Author Topic: CiviCRM not working on client machines  (Read 1564 times)

jt196

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 3
CiviCRM not working on client machines
September 28, 2007, 02:49:12 am
Help!

I've installed Drupal/CiviCRM on a machine in the office, I can access Drupal/CiviCRM on the local machine, but on machines on the network, I can only access Drupal. When I try to access CiviCRM, the network machines cannot connect to CiviCRM. I've tried IE and Firefox so it's a network issue.

I'm not so experienced with networking, so if I've missed something painfully obvious, then don't be surprised.

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: CiviCRM not working on client machines
September 28, 2007, 03:08:59 am
What’s the exact error you get?

Are you sure you’re accessing the same Drupal install?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

jt196

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 3
Re: CiviCRM not working on client machines
September 28, 2007, 03:25:13 am
Piotr,
Thanks for the early reply.
On the local machine that works, the address for the Drupal installation is:

http://localhost:83/drupal

On the other machine, I'm using the IP address of the installation machine, which works for accessing Drupal. The address is something like: http://00.00.00.00:83/Drupal (where the 00 bit is the IP address).

I can log into Drupal as an admin, I can create content, but when I try to access CiviCRM, there is no error, just a blank internet page, on Firefox the title is 'Problem Loading Page'. Somehow I cannot connect to CiviCRM from the other machine, but I can connect to Drupal.

Dzieki na pomoc.

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: CiviCRM not working on client machines
September 28, 2007, 03:34:14 am
Quote from: jt196 on September 28, 2007, 03:25:13 am
On the local machine that works, the address for the Drupal installation is:

http://localhost:83/drupal

On the other machine, I'm using the IP address of the installation machine, which works for accessing Drupal. The address is something like: http://00.00.00.00:83/Drupal (where the 00 bit is the IP address).

That’s your problem; CiviCRM doesn’t really work too good when accessed from different hostnames (here localhost vs. 00.00.00.00). Log in from your local machine, go to Administer CiviCRM → Global Settings → Resource URLs, set them to the 00.00.00.00 version and use http://00.00.00.00:83/Drupal from both local machine and the network.

Quote from: jt196 on September 28, 2007, 03:25:13 am
Dzieki na pomoc.

:) :)
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

jt196

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 3
Re: CiviCRM not working on client machines
September 28, 2007, 03:58:47 am
I'm sure this is the problem, but changing the resource URL in the interface didn't solve the problem.

I amended the line in 'Drupal\sites\default\civicrm.settings.php:

define( 'CIVICRM_UF_BASEURL'      , 'http://localhost:83/drupal/' );

to

define( 'CIVICRM_UF_BASEURL'      , 'http://00.00.00.00:83/drupal/' );

Where all the zeros where the IP address on the installation machine, and it worked.

What a relief!

Thanks for the help, bardzo dziekuje, Piotr.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • CiviCRM not working on client machines

This forum was archived on 2017-11-26.