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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Access to Civicrm from a remote computer with my public IP
Pages: [1]

Author Topic: Access to Civicrm from a remote computer with my public IP  (Read 1859 times)

laurent23

  • Guest
Access to Civicrm from a remote computer with my public IP
February 18, 2010, 12:04:06 pm
Hi everybody

I just installed a Database on CiviCRM with Drupal. It is working perfectly inside my local network.


But I would like to have access to my CiviCRM module from a remote computer in an other city.


So when I try to reach it with the public IP, I can log myself easily on Drupal. But when I click on "CiviCRM" the loading is extremely long. Most of the time, the loading never stops.


So, do you know how can I improve that? ???


I'm using an Ubuntu Server Hardy Heron, Apache2, Php5, Mysql, Drupal 6.15 and CiviCRM 3.0


Thank you so much for your help


Laurent

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: Access to Civicrm from a remote computer with my public IP
February 18, 2010, 11:26:43 pm
Quote
So when I try to reach it with the public IP, I can log myself easily on Drupal. But when I click on "CiviCRM" the loading is extremely long. Most of the time, the loading never stops.

You need to following:
1. Fix your Base Url in civicrm.settings.php to use public IP
2. Fix Resource Url to use public IP
3. Do menu rebuild:  http://<sitename>/civicrm/menu/rebuild?reset=1

HTh

Kurund
Found this reply helpful? Support CiviCRM

laurent23

  • Guest
Re: Access to Civicrm from a remote computer with my public IP
February 19, 2010, 01:34:39 pm
Thank you very much Kurund

I 've made what you said to me. (I modify the file "civicrm.settings.php : define( 'CIVICRM_UF_BASEURL' , 'http://atdcanada..etc.com' ; then I went on CiviCRM to edit the 'resource URLs')

Now it's possible to have a normal access to CiviCRM from a remote computer.

Nevertheless, I am in trouble because the black bar on the top disapear (the bar with Search, contacts, contribute, etc)

I'm not sure to have rebuild correctly the menu because I went on PhpmyAdmin, CIVICRM_MENU and I made it empty (TRUNCATE TABLE `civicrm_menu`)

Thanks

Laurent

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: Access to Civicrm from a remote computer with my public IP
February 21, 2010, 10:43:02 am
1. Logout / login

2. Run this url

Quote
http://<sitename>/civicrm/menu/rebuild?reset=1

This will reset menus.

HTh

Kurund
Found this reply helpful? Support CiviCRM

laurent23

  • Guest
Re: Access to Civicrm from a remote computer with my public IP
February 22, 2010, 12:28:28 pm
Hi

I rebuild the menu and now it works perfectly, from outside the office.

But, I found another problem : when I try to access to CiviCRM with my public IP from a computer in my office, it's not working : "userfail" and when I use the name of my domain (http://atdcanada...home.com), the modem interface appears. So I can't have access to my serveur.

When I try to access to CiviCRM with my local IP, the black top menu is missing, because I configured Civicrm to use public IP.

So, I can't have access  to my server with the public IP: I think the reason is my modem hasn't a loop-back active function. I phoned to bell Canada, my Internet Access Supplier, and they said to me that it's possible to configure the loop-back function on my modem but I have to pay for it. My modem is a Speedstream 6520.

But maybe is there an other solution to manage the problem, as for example to have an access to Civicrm from my office network AND from outside?

Thanks

Laurent

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Access to Civicrm from a remote computer with my public IP
February 22, 2010, 02:19:13 pm
DO you have a DMZ option or port redirect option on your modem ?

Try to redirect all the traffic (or only the traffic on port 80) to the local ip of your server.


No matter what, home hosting is fine for testing and demo, but wouldn't use it for a production civicrm, the upload performances are usually too crap to be usable with more than one user.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

laurent23

  • Guest
Re: Access to Civicrm from a remote computer with my public IP
February 23, 2010, 12:32:44 pm
Hi Xavier

I already tried to redirect it to my serveur with the portforwarding. Now I try with with the DMZ but it seems to have the same problem.

Anyway, we will use CiviCRM only inside our network. It is already a big improvement for us to use Civicrm.

Thank you so much guys for your help.

Bye

Laurent

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Access to Civicrm from a remote computer with my public IP

This forum was archived on 2017-11-26.