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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Permission issue.
Pages: [1]

Author Topic: Permission issue.  (Read 1669 times)

efarhan

  • Guest
Permission issue.
October 22, 2009, 02:44:38 am
Hi guys,

I have this odd issue. Im currently using WAMPServer to host mySQL and also my PHP.

OS : Windows Vista
CMS : Joomla.

And i installed CiviCRM on my personal desktop. However, when i used my colleague's pc to access the CiviCRM, it does not show the full administrator interface with all the menu's. Im at a loss about this.

my sample address would ... http://localhost:8080/crm/administrator

to access to my website from another pc would be http://my-ip-address:8080/crm/administrator.

It does open the site, but not with all the full functions.

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: Permission issue.
October 22, 2009, 08:57:27 am

CiviCRM cannot handle multiple urls via different hostnames. You should always use:

http://my-ip-address:8080/crm/administrator

check:

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

to move all your config info to the new url

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

efarhan

  • Guest
Re: Permission issue.
October 22, 2009, 06:59:13 pm
So ur saying that if i move it to a new url, I might be able to get it to work ? I think it would be the same thing as I will move it to a centralized server that has probably a name like "server2". However, Im trying to make this only available internally within the company and not make it online to the internet.

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: Permission issue.
October 22, 2009, 08:00:17 pm

u can keep it internal to your company. It just needs to be accessed via the same name from all locations

so:

http://my-ip-address:8080/crm/administrator

from everywhere

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

efarhan

  • Guest
Re: Permission issue.
October 23, 2009, 01:42:36 am
Ok,

here's the situation, from my pc...i just need to key in http://localhost:8080/crm/administrator      to go in....    but from another pc... i would have to key-in http://192.168.1.2(localhost=my pc just now)/crm/administrator to go in....i cant use localhost to go in as its not on their localhost...in the first place..i am using this method to access my pc from another location...

thats y im wondering why i cant see the same menus and administrator console from another location when im just accessing to my pc ? which is the 192.168.1.1(example)...

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: Permission issue.
October 23, 2009, 07:03:58 am

as explained above, due to a limitation in civicrm, you will need to use: http://192.168.1.2 even from your PC

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

efarhan

  • Guest
Re: Permission issue.
October 23, 2009, 10:52:58 am
from my pc i can get full functionality..what about accessing from other pc's ? i have entered the same address and it doesnt work.. :(

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: Permission issue.
October 23, 2009, 12:03:54 pm

Please answer the below with specific site information

1. what is the value of CIVICRM_UF_BASEURL in your civicrm.settings.php file

2. what url do u use to access it from your local computer

3. what url do u use to access it from a remote computer

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

efarhan

  • Guest
Re: Permission issue.
October 24, 2009, 12:03:11 am
1. i cant answer you yet since its saturday and i installed civicrm on my office computer.. will get back to you on monday about this..

2. http://localhost:8080/crm   <- from my pc obviously i will get full functionality

3. http://172.16.2.157/crm      <- accessing using this from remote computer does not give functionality

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: Permission issue.
October 24, 2009, 07:43:08 am

you need to install civicrm using the base url:

http://172.16.2.157/crm   

move all the urls in the settings file to the above. Check

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

and follow the steps there to ensure u've covered them all

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Permission issue.

This forum was archived on 2017-11-26.