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 »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Could not find valid value for ct
Pages: [1] 2

Author Topic: Could not find valid value for ct  (Read 10747 times)

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Could not find valid value for ct
January 10, 2008, 08:31:27 am
Reopening in some ways
topic
http://forum.civicrm.org/index.php/topic,1070.msg5236.html#msg5236

I get this error
Code: [Select]
     
Sorry. A non-recoverable error has occurred.

    Could not find valid value for ct

    Return to home page.


Warning: include_once(./themes/engines/phptemplate/phptemplate.engine) [function.include-once]: failed to open stream: No such file or directory in /var/www/web15/web/includes/theme.inc on line 78

Warning: include_once() [function.include]: Failed opening './themes/engines/phptemplate/phptemplate.engine' for inclusion (include_path='.:/var/www/web15/web/sites/all/modules/civicrm:/var/www/web15/web/sites/all/modules/civicrm/packages:.:/usr/share/php:/usr/share/pear') in /var/www/web15/web/includes/theme.inc on line 78
If the user forgets to put the http into the address ie just www.domain.com
I think in later version you fix this by forcing the http?
Maybe I can add that javascript or drupal form default?
Thanks

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Could not find valid value for ct
January 10, 2008, 02:33:39 pm
Alfred - It would help if you described the steps that lead to that error. From your post, I don't understand the connection between the error and your comment about http ???
Protect your investment in CiviCRM by  becoming a Member!

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: Could not find valid value for ct
January 11, 2008, 05:41:03 am
Sure Dave sorry about that.
What I noticed on two different installs/networks.
The when a person enters data wrong like leaving out the http or adding a contact that civi finds a dupe of, that instead of getting the
error message that is common, ie do you want to add this contact or click here to view duplicate, the above error happens.
I am forcing all URLs to www and set drupal and civi to the same baseurl to make sure all is the same as I have been told before.
Also this is a transfered setup.  IE old server was updated and the therefore this data was copied to the new server.
Al

taram

  • I post occasionally
  • **
  • Posts: 35
  • Karma: 2
Re: Could not find valid value for ct
February 09, 2009, 01:27:20 pm
I am wondering if this problem was resolved.. We recently installed a new site and are facing this issue with one of the imported contacts.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Could not find valid value for ct
February 09, 2009, 05:19:33 pm
My understanding is that this is a configuration / environment related issue. The error is a symptom of a problem with the session. I'd suggest you do a search on the specific error message on this forum and see if some of the solutions apply to you. If not, then start a new post with more details about when the problem occurs (and when it doesn't) - along with complete information about your environment.
Protect your investment in CiviCRM by  becoming a Member!

taram

  • I post occasionally
  • **
  • Posts: 35
  • Karma: 2
Re: Could not find valid value for ct
February 09, 2009, 08:09:38 pm
Thanks Dave. I will get more information and create a new post.

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: Could not find valid value for ct
February 10, 2009, 04:24:22 pm
Just a note.
The only thing I have noticed so far is that if there is a matching record I will get this error and or logged out of the site.
If I open a new window and log back in I can then come back to this window and continue to work.
This seems to happen only one sites that have been moved from one domain to another .
Though I clear out the civicrm_domain info.

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: Could not find valid value for ct
February 10, 2009, 10:35:19 pm
alfred_nutile:

Can you re-check if you have correct 'CIVICRM_UF_BASEURL' in civicrm.settings.php.

Kurund
Found this reply helpful? Support CiviCRM

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: Could not find valid value for ct
February 11, 2009, 02:17:55 am
yes they are all there.
And I nullified the civicrm_domain field
and ran these resets

civicrm/admin?sessionReset=2&directoryCleanup=1

and

/civicrm/dashboard?reset=1

and

/civicrm/menu/rebuild?reset=1

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: Could not find valid value for ct
February 11, 2009, 02:41:52 am
Hmm bit strange..

Can you give public url's etc ?  or ping us on #civicrm

Kurund
Found this reply helpful? Support CiviCRM

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Could not find valid value for ct
April 20, 2009, 01:46:21 pm
Just FYI, I agree this is probably a session error.  I was logged into my Drupal/CiviCRM 2.2.2 site as administrator and I was editing some Drupal Views as well as had several open tabs with CiviCRM Contact data and searches. 

I am using the Administration Menu module which I have known causes some possibly unrelated, possibly related other problems.

I got this error while attempting to add a "City" field data to a Contact that previously had no City field data, the error occured and data was not updated. 

I went to another computer, and logged in there, and did not get the error, and was able to update the Contact record.

I have not found a way to reliably reproduce this error, but I will let you know if I do.


Try CiviTeacher: the online video tutorial CiviCRM learning library.

sfr-randy

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
Re: Could not find valid value for ct
October 16, 2009, 04:35:35 am
I'm getting the same error when the street name entered is:

Signal Hill Rd

If the Street Name is change to Signal Hills Rd, there is no issue.

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: Could not find valid value for ct
October 16, 2009, 06:49:50 am

does this happen ALL the time

Can you logout and log back in and create a new contact with the below address and see if that works

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

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Could not find valid value for ct
October 16, 2009, 08:01:51 am
Do you have USPS Address Verification enabled on your site? That might be related??
Protect your investment in CiviCRM by  becoming a Member!

sfr-randy

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
Re: Could not find valid value for ct
October 17, 2009, 11:03:15 am
Quote from: Donald Lobo on October 16, 2009, 06:49:50 am

does this happen ALL the time

Can you logout and log back in and create a new contact with the below address and see if that works

lobo



I am able to create a new contact with the correct address without issue.

I can take the existing contact and delete the address without issue. What's happening is that my session gets dropped if I try to put in the address as 514 Signal Hill Road for the existing contact. If I use anything else as an address for the existing contact, the update works without issue. Interestingly if I put that address in on the second address line (leaving the first blank) it works fine.

When the session gets dropped and I reload the page, that's when I get the ct error.

I do NOT have address standardization enabled.

Many Thanks,

Randy
« Last Edit: October 17, 2009, 11:15:17 am by sfr-randy »

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Could not find valid value for ct

This forum was archived on 2017-11-26.