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 CiviMail (Moderator: Piotr Szotkowski) »
  • loading a mailing template fails with "cj is not defined" javascript error
Pages: [1]

Author Topic: loading a mailing template fails with "cj is not defined" javascript error  (Read 1517 times)

jrkelley32

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
loading a mailing template fails with "cj is not defined" javascript error
May 05, 2009, 10:16:03 am
Attempting to load a simple text line : "John Test" saved previously as a template.  I confirmed the save operation worked (checked the database table).  Attached is the error as reported on Firefox 3.

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: loading a mailing template fails with "cj is not defined" javascript error
May 05, 2009, 01:51:02 pm
Did you upgrade?  Can you clear your cache and media/civicrm/templates_c folder and check if you get same error.

Kurund
Found this reply helpful? Support CiviCRM

jrkelley32

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
Re: loading a mailing template fails with "cj is not defined" javascript error
May 05, 2009, 01:52:43 pm
The problem started when I had upgraded to 2.2.2, worked finr before that.  Yes, I cleared the templates_c folder and bounced the server/cleared and my cache.


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: loading a mailing template fails with "cj is not defined" javascript error
May 05, 2009, 02:38:00 pm
Strange, I am not able to replicate this on my local install. Can you try to replicate this on http://joomla.demo.civicrm.org.

thanx

Kurund
Found this reply helpful? Support CiviCRM

jrkelley32

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
Re: loading a mailing template fails with "cj is not defined" javascript error
May 05, 2009, 02:46:01 pm
Hi Kurund,

given it's a complete failure of the component I'm doubtful I'll be able to reproduce it on your system.  I'd guess some element of the upgrade failed and as a result the fckeditor component is having some issues.

Is there any way to re-apply the upgrade?

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: loading a mailing template fails with "cj is not defined" javascript error
May 05, 2009, 03:00:14 pm
You should restore back to pre-upgrade stage and retry upgrade process.

HTh

Kurund
Found this reply helpful? Support CiviCRM

jrkelley32

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
Re: loading a mailing template fails with "cj is not defined" javascript error
May 05, 2009, 03:02:47 pm
That's not an option as it's been over a month since the upgrade.

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: loading a mailing template fails with "cj is not defined" javascript error
May 05, 2009, 03:39:27 pm
If you think some fckeditor files are missing then you can replace ../administrator/components/com_civicrm/civicrm/packages/fckeditor folder and check if that helps.

Kurund
Found this reply helpful? Support CiviCRM

jrkelley32

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
Re: loading a mailing template fails with "cj is not defined" javascript error
May 05, 2009, 03:44:24 pm
I'm going to install 2.2.2 to a new area from scratch and compare the areas and database structures.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • loading a mailing template fails with "cj is not defined" javascript error

This forum was archived on 2017-11-26.