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) »
  • Syntax Error on Internet Explorer
Pages: [1]

Author Topic: Syntax Error on Internet Explorer  (Read 6807 times)

polestar

  • I post frequently
  • ***
  • Posts: 162
  • Karma: 11
    • Target Integration
Syntax Error on Internet Explorer
November 19, 2008, 01:08:06 pm
Hi All,

I am getting Syntax Error on Line: 2 Char: 1 in internet explorer status bar. The status bar says done, but with errors and if I double click on the error the window shows syntax error. This is happening right on the home page.

Also, if I try and search any contact from the left hand side contact search box, it doesn't come up and shows only the find contacts page.

So far I have seen this problem only on IE7, firefox works fine.

Any help?

Thanks
Rohit

More Info: Everything is working fine on Firefox. On the other hand when the customer tries to login and use search facility she is presented with Joomla login screen. I have checked the resources URL.
« Last Edit: November 19, 2008, 01:26:28 pm by polestar »
CiviCRM - Installation & Support | Virtual Private Servers (VPS) with Joomla/Drupal and CiviCRM | SugarCRM & vTiger CRM Installation and Support
Target Integration | www.targetintegration.com
Subscribe to Knowledgement - Your guide to effective business | http://www.knowledgement.ie

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 on Internet Explorer
November 20, 2008, 12:33:53 am
I am not sure why you are getting this problem.

Can make following changes in CRM/Core/Block.php

Quote
                'dataURL'           => CRM_Utils_System::url( 'civicrm/ajax/search',
                                                              "d={$domainID}" ),


to

Quote
                'dataURL'           => CRM_Utils_System::url( 'civicrm/ajax/search',
                                                              'reset=1', false, null, false ),

HTH

Kurund
Found this reply helpful? Support CiviCRM

polestar

  • I post frequently
  • ***
  • Posts: 162
  • Karma: 11
    • Target Integration
Re: Syntax Error on Internet Explorer
November 20, 2008, 11:34:56 am
Thanks Kurund.

The error from IE is now gone but when I search for any name (even if it exists in the database) it comes to the Find Contacts page with no results.

Can you suggest why the query will not return any results.

Thanks
Rohit
CiviCRM - Installation & Support | Virtual Private Servers (VPS) with Joomla/Drupal and CiviCRM | SugarCRM & vTiger CRM Installation and Support
Target Integration | www.targetintegration.com
Subscribe to Knowledgement - Your guide to effective business | http://www.knowledgement.ie

polestar

  • I post frequently
  • ***
  • Posts: 162
  • Karma: 11
    • Target Integration
Re: Syntax Error on Internet Explorer
November 20, 2008, 12:09:52 pm
Another update. I am seeing occassional error at CiviCRM home on Internet Explorer
Code: [Select]
Line: 21
Char: 51616
Error: Bundle not found: validate in dijit.form, locale=en-ie
CiviCRM - Installation & Support | Virtual Private Servers (VPS) with Joomla/Drupal and CiviCRM | SugarCRM & vTiger CRM Installation and Support
Target Integration | www.targetintegration.com
Subscribe to Knowledgement - Your guide to effective business | http://www.knowledgement.ie

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Syntax Error on Internet Explorer
November 20, 2008, 03:16:21 pm
Check this post, might be a clue:

http://forum.civicrm.org/index.php/topic,5528.msg24254.html#msg24254
Protect your investment in CiviCRM by  becoming a Member!

polestar

  • I post frequently
  • ***
  • Posts: 162
  • Karma: 11
    • Target Integration
Re: Syntax Error on Internet Explorer
November 21, 2008, 03:45:50 am
Hmmmm

Checked MySQL version
Checked Resources URL

Nothing wrong there...

Any further thoughts?
CiviCRM - Installation & Support | Virtual Private Servers (VPS) with Joomla/Drupal and CiviCRM | SugarCRM & vTiger CRM Installation and Support
Target Integration | www.targetintegration.com
Subscribe to Knowledgement - Your guide to effective business | http://www.knowledgement.ie

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 on Internet Explorer
November 21, 2008, 04:58:12 am
Can you grab templates/CRM/Block/Search.tpl file from latest CiviCRM v2.0.x and replace it with your files in same location.

HTH

Kurund
Found this reply helpful? Support CiviCRM

polestar

  • I post frequently
  • ***
  • Posts: 162
  • Karma: 11
    • Target Integration
Re: Syntax Error on Internet Explorer
November 28, 2008, 03:49:22 pm
Hi Kurund,

I tried that as well. The double login problem is still there.

When I login to the joomla admin interface and go to CiviCRM Home. An error shows up on IE6/7 "Syntax Error". It prevents the JS to be run properly. Clicking on any of the link at this stage will bring you to the login page again.

:(


CiviCRM - Installation & Support | Virtual Private Servers (VPS) with Joomla/Drupal and CiviCRM | SugarCRM & vTiger CRM Installation and Support
Target Integration | www.targetintegration.com
Subscribe to Knowledgement - Your guide to effective business | http://www.knowledgement.ie

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 on Internet Explorer
November 28, 2008, 10:38:03 pm
I am not able to replicate this, so it would be easier to debug on irc #civicrm .(ping kurund)

Kurund
Found this reply helpful? Support CiviCRM

polestar

  • I post frequently
  • ***
  • Posts: 162
  • Karma: 11
    • Target Integration
Re: Syntax Error on Internet Explorer
November 29, 2008, 10:47:34 am
Hi Kurund,

Its something to do with dojo library. It works fine on some of the computers and it doesn't work correctly on others. I have checked that they are allowing javascript in their web browsers.

Can the log files show more details?

Thanks
Rohit
CiviCRM - Installation & Support | Virtual Private Servers (VPS) with Joomla/Drupal and CiviCRM | SugarCRM & vTiger CRM Installation and Support
Target Integration | www.targetintegration.com
Subscribe to Knowledgement - Your guide to effective business | http://www.knowledgement.ie

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Syntax Error on Internet Explorer

This forum was archived on 2017-11-26.