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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.1 Release Testing »
  • Syntax error
Pages: [1]

Author Topic: Syntax error  (Read 6794 times)

mrl586

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.5.9
  • PHP version: 5.3.5
Syntax error
December 19, 2009, 08:56:57 pm
I found this error on www.example.com/index.php?q=civicrm/pledge&reset=1
CiviCRM: 3.1.beta2
Drupal: 6.15
MySQL: 5.1.41
« Last Edit: December 19, 2009, 08:59:03 pm by mrl586 »

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: Syntax error
December 20, 2009, 01:12:55 am
Checked on sandbox seems to be working fine: http://sandbox.civicrm.org/index.php?q=civicrm/pledge&reset=1

Looks like your install is missing pledge statuses. (http://sandbox.civicrm.org/civicrm/admin/optionValue?reset=1&action=browse&gid=11)
Is this fresh install or upgrade ?

HTh
Kurund
Found this reply helpful? Support CiviCRM

mrl586

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.5.9
  • PHP version: 5.3.5
Re: Syntax error
December 20, 2009, 01:41:24 am
Quote from: Kurund Jalmi on December 20, 2009, 01:12:55 am
Is this fresh install or upgrade ?
This is fresh install.

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: Syntax error
December 20, 2009, 02:23:06 am
Quote
Looks like your install is missing pledge statuses. (http://sandbox.civicrm.org/civicrm/admin/optionValue?reset=1&action=browse&gid=11)

Did you check this.

Kurund
Found this reply helpful? Support CiviCRM

mrl586

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.5.9
  • PHP version: 5.3.5
Re: Syntax error
December 28, 2009, 06:06:50 pm
Pledge statuses on my civicrm installation seems like this.

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: Syntax error
December 28, 2009, 06:14:11 pm
What's your localization setting?

Kurund
Found this reply helpful? Support CiviCRM

mrl586

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.5.9
  • PHP version: 5.3.5
Re: Syntax error
December 28, 2009, 06:50:51 pm
My CiviCRM localization settings seems like this:
http://img690.imageshack.us/img690/9024/localizationsettings1.png
http://img121.imageshack.us/img121/2064/localizationsettings2.png

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: Syntax error
December 28, 2009, 10:41:37 pm
Seems to be working fine with your localization settings on sandbox and my local machine. I think you should ping us on irc channel (http://webchat.freenode.net/?channels=#civicrm), would be easier to debug.

Kurund
Found this reply helpful? Support CiviCRM

mrl586

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.5.9
  • PHP version: 5.3.5
Re: Syntax error
February 07, 2010, 03:22:02 pm
I see same bug on CiviCRM 3.1.1. I enabled debug and I see following backtrace lines:
Code: [Select]
backTrace

/home/yhdistys/www/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 146
, handle,
/home/yhdistys/www/sites/all/modules/civicrm/packages/PEAR.php, call_user_func, 931
/home/yhdistys/www/sites/all/modules/civicrm/packages/DB.php, PEAR_Error, 966
/home/yhdistys/www/sites/all/modules/civicrm/packages/PEAR.php, DB_Error, 564
/home/yhdistys/www/sites/all/modules/civicrm/packages/DB/common.php, raiseError, 1903
/home/yhdistys/www/sites/all/modules/civicrm/packages/DB/mysql.php, raiseError, 898
/home/yhdistys/www/sites/all/modules/civicrm/packages/DB/mysql.php, mysqlRaiseError, 327
/home/yhdistys/www/sites/all/modules/civicrm/packages/DB/common.php, simpleQuery, 1216
/home/yhdistys/www/sites/all/modules/civicrm/packages/DB/DataObject.php, query, 2411
/home/yhdistys/www/sites/all/modules/civicrm/packages/DB/DataObject.php, _query, 1597
/home/yhdistys/www/sites/all/modules/civicrm/CRM/Core/DAO.php, query, 144
/home/yhdistys/www/sites/all/modules/civicrm/CRM/Core/DAO.php, query, 866
/home/yhdistys/www/sites/all/modules/civicrm/CRM/Pledge/BAO/Pledge.php, executeQuery, 347
/home/yhdistys/www/sites/all/modules/civicrm/CRM/Pledge/Page/DashBoard.php, getTotalAmountAndCount, 95
/home/yhdistys/www/sites/all/modules/civicrm/CRM/Pledge/Page/DashBoard.php, preProcess, 110
/home/yhdistys/www/sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 209
/home/yhdistys/www/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 335
, civicrm_invoke,
/home/yhdistys/www/includes/menu.inc, call_user_func_array, 348
/home/yhdistys/www/index.php, menu_execute_active_handler, 18

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: Syntax error
February 07, 2010, 11:47:16 pm
If it's not possible for you to ping us on #civicrm, you should consider hiring someone from http://civicrm.org/professional list to debug this issue.

Kurund
Found this reply helpful? Support CiviCRM

mrl586

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.5.9
  • PHP version: 5.3.5
Re: Syntax error
February 08, 2010, 11:46:09 am
I try clean install (without example data) but there are exact same problem.
« Last Edit: February 08, 2010, 12:02:42 pm by mrl586 »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.1 Release Testing »
  • Syntax error

This forum was archived on 2017-11-26.