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) »
  • Event registration url redirects to administrator back end
Pages: [1]

Author Topic: Event registration url redirects to administrator back end  (Read 2408 times)

danfriedman

  • Guest
Event registration url redirects to administrator back end
June 09, 2009, 03:43:25 pm
I've just moved my site to a new server, and I think everything is now working again except for events.  The registration links are being generated with /administrator/ in them, and are sending people to the administrator log in page!  Any ideas what I got wrong, or how I can fix it?

Thanks!
Dan

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Event registration url redirects to administrator back end
June 09, 2009, 08:39:02 pm
Are you creating your reg links from a menu item?
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

danfriedman

  • Guest
Re: Event registration url redirects to administrator back end
June 09, 2009, 09:02:50 pm
No, the problem's not with a menu link.  I'm having the problem with the "Register Now" link at the bottom of the event page, and also with an RSS feed of the events, which I'm displaying in a module.  The links are pointing to the right place, but have /administrator/ in there.

Here's the site: http://providentstl.org - event module with the problem is on the left hand side.

The registration link on this page is a good example of what I'm talking about: http://providentstl.org/index.php?option=com_civicrm&task=civicrm%2Fevent%2Finfo&reset=1&id=11

It generates the link as https://providentstl.org/administrator/index.php?option=com_civicrm&task=civicrm/event/register&id=11&reset=1  instead of https://providentstl.org/index.php?option=com_civicrm&task=civicrm/event/register&id=11&reset=1

Any ideas?

Thanks,
Dan

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: Event registration url redirects to administrator back end
June 10, 2009, 06:32:25 am

most likely this was a bug in 2.1.x. You can upgrade to the latest version of 2.1.x or 2.2.x (the latter is preferred and supported) and see if it resolves the issue

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

danfriedman

  • Guest
Re: Event registration url redirects to administrator back end
June 10, 2009, 06:37:49 am
Thanks, Lobo.  I'm actually already using 2.2.5 - is that the latest release?

Dan

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: Event registration url redirects to administrator back end
June 10, 2009, 08:27:23 am

yes. i just checked the joomla demo:

http://joomla.demo.civicrm.org/index.php?option=com_civicrm&task=civicrm/event/info&id=3&action=preview&reset=1&Itemid=55

and it seems to work fine

not sure why it goes to the admin menu on your site.

did it work before u migrated your site to the new location?

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

danfriedman

  • Guest
Re: Event registration url redirects to administrator back end
June 10, 2009, 08:44:39 am
Yes, it was working fine before.  Should I reinstall v2.2.5?

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: Event registration url redirects to administrator back end
June 10, 2009, 09:13:12 am

i dont think u need to reinstall 2.2.5

can you get on IRC and give us ssh access to your box. this will help us track the error and hopefully fix it

lobo

p.s> in exchange u can ship us some of that delicious BBQ :)
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Event registration url redirects to administrator back end
June 10, 2009, 11:26:07 am
Looks like you found a fix. I was going to suggest you make sure your resource url setting does not have the www. form, as you have the site and ssl set to force the root domain. Was that the problem?
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

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: Event registration url redirects to administrator back end
June 10, 2009, 12:20:13 pm

this was due to a bad setting in the frontend civicrm.settings.php. The base url had the administrator path attached to it and hence the urls were wrong

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

danfriedman

  • Guest
Re: Event registration url redirects to administrator back end
June 10, 2009, 01:19:14 pm
Lobo, thank you for your help!  You are awesome!

Dan

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Event registration url redirects to administrator back end

This forum was archived on 2017-11-26.