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) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • A shot in the dark - any way around Super Privilege?
Pages: [1]

Author Topic: A shot in the dark - any way around Super Privilege?  (Read 4831 times)

mcnamedia

  • Guest
A shot in the dark - any way around Super Privilege?
October 09, 2008, 09:22:27 am
CiviCRM is awesome. I have been configuring it for one of my clients and setting them up with online registration for their convention. Unfortunately, I am getting the multi-language support error that I don't have the SUPER privilege for mysql. And my host won't give it to me... (they do not allow triggers, even though supported in mysql 5.x.x)

Does anyone know of another solution? I suppose I could add another event with custom fields and write them all in French (need French and English) but that will be incomplete... any other ideas here would be great. Has anyone else had to do something like this?

Or maybe I should just switch hosts.

Thanks,
Greg

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: A shot in the dark - any way around Super Privilege?
October 09, 2008, 11:29:47 am

For this feature, we did make a conscious decision to use triggers. Helped get this into production much sooner. We plan on using more trigger related code in 2.2 (for civicase) and later. so searching for a host that gives u these privileges might be useful for 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

mcnamedia

  • Guest
Re: A shot in the dark - any way around Super Privilege?
October 09, 2008, 11:39:59 am
Sounds good. I'll look into it asap. Thanks again Lobo. You guys rock!

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: A shot in the dark - any way around Super Privilege?
October 10, 2008, 08:48:05 pm
The general reasoning is the following:

1. Doing what the multi-language MySQL triggers do on the PHP side would be tons of work resulting in complicated and very hard to maintain code.
2. MySQL 5.1, which is in release candidate stage now, will have separate trigger privileges and so you won’t need the SUPER privilege for CiviCRM any more.
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.

mcnamedia

  • Guest
Re: A shot in the dark - any way around Super Privilege?
October 14, 2008, 10:05:28 am
Thanks Piotr and Lobo. The response I received from my hosting (shared) is that they don't and do not plan to allow triggers. My current MySQL version is 5.0.45.

This is too bad because I really like my current host and they do everything else very well.

1. Can I do a multi-site installation - one in English and one in French, sharing the same database?
2. Feel free to recommend a hosting company that I could look up. I'm going to the services page now.

Thanks,
Greg

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: A shot in the dark - any way around Super Privilege?
October 14, 2008, 11:57:32 am
Quote from: mcnamedia on October 14, 2008, 10:05:28 am
The response I received from my hosting (shared) is that they don't and do not plan to allow triggers. My current MySQL version is 5.0.45.

Well, it means they’re a decent shared hosting – they would be really irresponsible if they gave the SUPER privilege to any of their clients, and CREATE TRIGGER privilege is currently in a not-yet-stable version of MySQL (and it would be irresponsible to deploy it). :)

Quote from: mcnamedia on October 14, 2008, 10:05:28 am
1. Can I do a multi-site installation - one in English and one in French, sharing the same database?

You can try, but I can’t envision doing it easily – and it depends on what you want internationalised. We have plans for/coded something towards making this easier in 2.2, though (multiple CMS instances sharing the same CiviCRM database).

Quote from: mcnamedia on October 14, 2008, 10:05:28 am
2. Feel free to recommend a hosting company that I could look up.

Unfortunately, our current recommendation for multilingual sites is to host it yourself (you can do that on a shared virtual server, of course). Due to the MySQL 5.0 requiring the SUPER privilege to create triggers we can’t really recommend anything else until MySQL 5.1 stable comes out.
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.

mcnamedia

  • Guest
Re: A shot in the dark - any way around Super Privilege?
October 15, 2008, 07:17:36 am
Agreed. They are a very decent host. Thanks for all your help. I might give it a shot.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • A shot in the dark - any way around Super Privilege?

This forum was archived on 2017-11-26.