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 »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Error on ct value
Pages: [1]

Author Topic: Error on ct value  (Read 2029 times)

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Error on ct value
October 01, 2007, 10:02:41 am
Hi all,

My issue is the same as this topic http://forum.civicrm.org/index.php/topic,1070.0.html, but that didn't seem to get resolved and moved on to another discussion, so I am reposting the issue as a new thread.

When I try to enter in a new individual or organization, or if I try to check for duplicate contacts, I always get this message:

Sorry. A non-recoverable error has occurred.

Could not find valid value for ct

From what I can tell from my users, it was all working properly last Friday morning, but by the afternoon the error had started. It doesn't seem like any configuration changes were made in that time (according to the other IT people on this project). I tried resyncing my drupal users to CiviCRM. It appeared to go successfully, but it did not solve the problem. I am using:

CiviCRM 1.8.10954
Fedora Core 7
PHP 5.2.2
Zend 2.2.0
Drupal 4.7.6
mysql 5.0.45

Like the other post, when I enable backtrace and debugging, I get this:
/var/www/html/modules/civicrm/CRM/Core/Error.php, backtrace, 251
/var/www/html/modules/civicrm/CRM/Utils/Request.php, fatal, 108
/var/www/html/modules/civicrm/CRM/Contact/Form/Edit.php, retrieve, 152
/var/www/html/modules/civicrm/CRM/Core/Form.php, preProcess, 283
/var/www/html/modules/civicrm/CRM/Core/QuickForm/Action/Refresh.php, buildForm, 64
/var/www/html/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 195
/var/www/html/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 95
/var/www/html/modules/civicrm/CRM/Core/Controller.php, handle, 213
/var/www/html/modules/civicrm/CRM/Utils/Wrapper.php, run, 77
/var/www/html/modules/civicrm/CRM/Core/Invoke.php, run, 489
/var/www/html/modules/civicrm/CRM/Core/Invoke.php, form, 188
/var/www/html/modules/civicrm/CRM/Core/Invoke.php, contact, 92
/var/www/html/modules/civicrm/drupal/civicrm.module, invoke, 319
, civicrm_invoke,
/var/www/html/includes/menu.inc, call_user_func_array, 418
/var/www/html/index.php, menu_execute_active_handler, 15

I read the rest of that thread, and I got pretty lost. But it sounded like Lobo thought it was with the Drupal session. So I cleared out my sessions table, and then I logged in again (I am under a Drupal role that has ALL privs in both drupal and civicrm). I then went to new individual contact, typed in a name, and checked for duplicate...it worked correctly. This seemed good. So then I went to enter the contact, and got all the same errors again. So when I first logged in, I checked my drupal sessions table. I am not sure if this is helpful, but I will post it below. I am also on IRC in CiviCRM, my name is sw9. Here is what my Drupal session said:

CiviCRM|a:6:{s:8:"domainID";i:1;s:4:"ufID";s:1:"2";s:6:"userID";s:1:"2";s:7:"ufEmail";s:25:"emily.e.frazier@gmail.com";s:31:"CRM_Contact_Page_View_DashBoard";a:13:{s:6:"action";i:4;s:11:"displayName";s:23:"Emily Elizabeth Frazier";s:12:"contactImage";s:91:"<img src="http://burlington.cctv.org/modules/civicrm/i/contact_ind.gif" alt="Individual" />";s:13:"columnHeaders";a:7:{i:0;a:3:{s:4:"name";s:8:"Activity";s:4:"sort";s:13:"activity_type";s:9:"direction";i:4;}i:1;a:1:{s:4:"name";s:7:"Subject";}i:2;a:1:{s:4:"name";s:10:"Created By";}i:3;a:1:{s:4:"name";s:12:"With Contact";}i:4;a:3:{s:4:"name";s:9:"Scheduled";s:4:"sort";s:4:"date";s:9:"direction";i:1;}i:5;a:1:{s:4:"name";s:6:"Status";}i:6;a:1:{s:4:"desc";s:7:"Actions";}}s:4:"rows";a:5:{i:0;a:14:{s:16:"activity_type_id";s:1:"1";s:13:"activity_type";s:7:"Meeting";s:2:"id";s:2:"30";s:7:"subject";s:14:"CCAN WireFrame";s:4:"date";s:19:"2007-10-02 14:00:00";s:6:"status";s:9:"Scheduled";s:10:"sourceName";s:24:"Ms Lauren-Glenn Davitian";s:10:"targetName";s:36:"Center for Community & Neighborhoods";s:8:"sourceID";s:3:"108";s:8:"targetID";s:3:"751";s:14:"status_display";s:9:"Scheduled";s:7:"overdue";i:0;s:5:"class";s:13:"status-ontime";s:6:"action";s:480:"<a href="http://burlington.cctv.org/civicrm/contact/view/activity?activity_id=1&amp;action=update&amp;reset=1&amp;id=30&amp;cid=2&amp;context=Home&amp;subType=1" >Edit</a>&nbsp;|&nbsp;<a href="http://burlington.cctv.org/civicrm/contact/view/activity?&amp;activity_id=1&amp;action=delete&amp;reset=1&amp;id=30&amp;cid=2&amp;context=Home" onclick = "if (confirm('Are you sure you want to delete this activity record?') ) this.href+='&amp;confirmed=1'; else return false;">Delete</a>";}i:1;a:14:{s:16:"activity_type_id";s:1:"1";s:13:"activity_type";s:7:"Meeting";s:2:"id";s:2:"22";s:7:"subject";s:18:"CCTV BOARD MEETING";s:4:"date";s:19:"2007-10-04 16:00:00";s:6:"status";s:9:"Scheduled";s:10:"sourceName";s:24:"Ms Lauren-Glenn Davitian";s:10:"targetName";s:24:"Ms Lauren-Glenn Davitian";s:8:"sourceID";s:3:"108";s:8:"targetID";s:3:"108";s:14:"status_display";s:9:"Scheduled";s:7:"overdue";i:0;s:5:"class";s:13:"status-ontime";s:6:"action";s:480:"<a href="http://burlington.cctv.org/civicrm/contact/view/activity?activity_id=1&amp;action=update&amp;reset=1&amp;id=22&amp;cid=2&amp;context=Home&amp;subType=1" >Edit</a>&nbsp;|&nbsp;<a href="http://burlington.cctv.org/civicrm/contact/view/activity?&amp;activity_id=1&amp;action=delete&amp;reset=1&amp;id=22&amp;cid=2&amp;context=Home" onclick = "if (confirm('Are you sure you want to delete this activity record?') ) this.href+='&amp;confirmed=1'; else return false;">Delete</a>";}i:2;a:14:{s:16:"activity_type_id";s:1:"1";s:13:"activity_type";s:7:"Meeting";s:2:"id";s:2:"24";s:7:"subject";s:29:"Strategic Development Session";s:4:"date";s:19:"2007-10-18 12:00:00";s:6:"status";s:9:"Scheduled";s:10:"sourceName";s:24:"Ms Lauren-Glenn Davitian";s:10:"targetName";s:24:"Ms Lauren-Glenn Davitian";s:8:"sourceID";s:3:"108";s:8:"targetID";s:3:"108";s:14:"status_display";s:9:"Scheduled";s:7:"overdue";i:0;s:5:"class";s:13:"status-ontime";s:6:"action";s:480:"<a href="http://burlington.cctv.org/civicrm/contact/view/activity?activity_id=1&amp;action=update&amp;reset=1&amp;id=24&amp;cid=2&amp;context=Home&amp;subType=1" >Edit</a>&nbsp;|&nbsp;<a href="http://burlington.cctv.org/civicrm/contact/view/activity?&amp;activity_id=1&amp;action=delete&amp;reset=1&amp;id=24&amp;cid=2&amp;context=Home" onclick = "if (confirm('Are you sure you want to delete this activity record?') ) this.href+='&amp;confirmed=1'; else return false;">Delete</a>";}i:3;a:14:{s:16:"activity_type_id";s:1:"1";s:13:"activity_type";s:7:"Meeting";s:2:"id";s:2:"23";s:7:"subject";s:37:"CCTV BOARD MEETING/ STRAT DEV SESSION";s:4:"date";s:19:"2007-11-01 12:00:00";s:6:"status";s:9:"Scheduled";s:10:"sourceName";s:24:"Ms Lauren-Glenn Davitian";s:10:"targetName";s:24:"Ms Lauren-Glenn Davitian";s:8:"sourceID";s:3:"108";s:8:"targetID";s:3:"108";s:14:"status_display";s:9:"Scheduled";s:7:"overdue";i:0;s:5:"class";s:13:"status-ontime";s:6:"action";s:480:"<a href="http://burlington.cctv.org/civicrm/contact/view/activity?activity_id=1&amp;action=update&amp;reset=1&amp;id=23&amp;cid=2&amp;context=Home&amp;subType=1" >Edit</a>&nbsp;|&nbsp;<a href="http://burlington.cctv.org/civicrm/contact/view/activity?&amp;activity_id=1&amp;action=delete&amp;reset=1&amp;id=23&amp;cid=2&amp;context=Home" onclick = "if (confirm('Are you sure you want to delete this activity record?') ) this.href+='&amp;confirmed=1'; else return false;">Delete</a>";}i:4;a:14:{s:16:"activity_type_id";s:1:"1";s:13:"activity_type";s:7:"Meeting";s:2:"id";s:2:"25";s:7:"subject";s:18:"CCTV BOARD MEETING";s:4:"date";s:19:"2007-12-06 16:00:00";s:6:"status";s:9:"Scheduled";s:10:"sourceName";s:24:"Ms Lauren-Glenn Davitian";s:10:"targetName";s:24:"Ms Lauren-Glenn Davitian";s:8:"sourceID";s:3:"108";s:8:"targetID";s:3:"108";s:14:"status_display";s:9:"Scheduled";s:7:"overdue";i:0;s:5:"class";s:13:"status-ontime";s:6:"action";s:480:"<a href="http://burlington.cctv.org/civicrm/contact/view/activity?activity_id=1&amp;action=update&amp;reset=1&amp;id=25&amp;cid=2&amp;context=Home&amp;subType=1" >Edit</a>&nbsp;|&nbsp;<a href="http://burlington.cctv.org/civicrm/contact/view/activity?&amp;activity_id=1&amp;action=delete&amp;reset=1&amp;id=25&amp;cid=2&amp;context=Home" onclick = "if (confirm('Are you sure you want to delete this activity record?') ) this.href+='&amp;confirmed=1'; else return false;">Delete</a>";}}s:8:"rowCount";i:5;s:9:"rowsEmpty";b:0;s:4:"qill";N;s:6:"crmPID";i:1;s:6:"crmSID";i:1;s:16:"crmSortDirection";i:1;s:12:"crmSortOrder";s:8:"date asc";s:11:"crmRowCount";i:50;}s:16:"CRM_Utils_Recent";a:1:{i:0;a:4:{s:5:"title";s:23:"Emily Elizabeth Frazier";s:3:"url";s:65:"http://burlington.cctv.org/civicrm/contact/view?reset=1&amp;cid=2";s:4:"icon";s:91:"<img src="http://burlington.cctv.org/modules/civicrm/i/contact_ind.gif" alt="Individual" />";s:2:"id";s:1:"2";}}}og_last|N;

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Error on ct value
October 01, 2007, 10:39:06 am
Just to make this more confusing, I have been trying to see what else is affected. I found that if I try to edit a contact, 90% of the time, it gives me the same error, but then about 10% of the time it works fine. No idea what this means.

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Error on ct value
October 03, 2007, 07:21:10 am
Just to keep this updated in case others are following; I worked with Lobo the other day and he had me reset the collation on my Drupal sessions table to utf8. I then emptied this table, as well as my Drupal cache table. It still did not resolve the error though.

I was able to determine about when the error began, and this morning I restored my CiviCRM DB (not my Drupal DB) to where it was the morning before the errors began. I was able to successfully add contacts, organizations, check for duplicates, etc. I am now planning to compare that DB with my DB from after the errors began, but I'm not sure I'll be able to track down exactly what happened. This makes me concerned that it could happen randomly again...

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: Error on ct value
May 16, 2008, 04:13:39 am
did you ever solve this?

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Error on ct value
May 16, 2008, 11:14:36 am
I did not ever end up figuring it out; there was not a ton of data added between my last backup and that db, so I ended up having to revert to a backup.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Error on ct value

This forum was archived on 2017-11-26.