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) »
  • installation error
Pages: [1]

Author Topic: installation error  (Read 3734 times)

mndonx

  • Guest
installation error
April 23, 2007, 06:02:54 am
Hi - I'm installing CiviCRM on Joomla and getting the following error after the install:

CiviCRM has been successfully installed.
Installation: Succesful

Cannot execute -- * -- * -- * -- * CREATE TABLE civicrm_country ( id int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Country Id', name varchar(64) COMMENT 'Country Name', iso_code char(2) COMMENT 'ISO Code', country_code varchar(4) COMMENT 'National prefix to be used when dialing TO this country.', idd_prefix varchar(4) COMMENT 'International direct dialing prefix from within the country TO another country', ndd_prefix varchar(4) COMMENT 'Access prefix to call within a country to a different area' , PRIMARY KEY ( id ) , UNIQUE INDEX UI_name_iso_code( name , iso_code ) ) ENGINE=InnoDB: DB Error: syntax error

Someone else posted this error before (on the joomla website), but I never saw a response on how to fix.

Any ideas would be helpful!

When I go to the component in the admin panel, the page is blank.

Conga3.com

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 5
  • Should be golfing...
    • Conga3
Re: installation error
April 23, 2007, 09:57:02 pm
I had this same error when I tried to install on one of my servers with PHP4 and MySQL4 (PHP 4.4.4 / MySQL 4.0.25-standard)

I was successful when I tried it on my other server with PHP5 and MySQL5 (MySQL 5.0.27-standard) (and the PHP5 version of CiviCRM)

I guessed the issue has to do with the SQL they used... that isn't compatible with older versions.

Hope that help...I didn't really fix my issue...I just tried a different server setup and got it to work.

KEEP AT IT!!!


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: installation error
April 24, 2007, 12:42:40 am

If i had to take a random guess, I suspect its the mysql version. Considering tgull had the same issue on the same version, I'm pretty sure its the mysql version

I'd advice you to upgrade mysql to a newer 5.0 version. CiviCRM v1.7 no longer support mysql-4.0. Future version of civicrm will also be dropping support for mysql 4.1

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

mndonx

  • Guest
Re: installation error
April 24, 2007, 09:33:36 am
Thanks for the responses! Yes, it appears I'm on MySQL 4.0.16. The host I'm using is terrible for a variety of reasons and this might just be what puts me over the edge!

ultravelvet

  • Guest
Re: installation error
April 30, 2007, 09:02:01 pm
hello! i'm getting the same error as mndonx.  i'm running php 4.4.4 and i downloaded the package which seemed to indicate it was for joomla using php4 (civicrm-1.7.beta.9327-joomla-php4.zip).  so, am i really stuck until my host upgrades to php5?

thx!

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: installation error
May 01, 2007, 12:40:04 am

mndonx's error message was more regarding mysql version rather than the php version. You might want to convince your host to upgrade to a more recent supported version of mysql :)

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) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • installation error

This forum was archived on 2017-11-26.