← Back to team overview

mahara-contributors team mailing list archive

[Bug 1051529] Re: Activating spellchecker brings up warning

 

https://reviews.mahara.org/#/c/1998

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1051529

Title:
  Activating spellchecker brings up warning

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Mahara 1.6dev (latest code)

  When I activate the spellchecker in the cover letter section and move
  on to "Education and employment" (or any other page), I get the
  following warnings:

  --------
  [WAR] 65 (js/tinymce/plugins/spellchecker/config.php:22) Use of undefined constant PSPELL_FAST - assumed 'PSPELL_FAST'
  Call stack (most recent first):

      log_message("Use of undefined constant PSPELL_FAST - assumed 'P...", 8, true, true, "/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 22) at /home/kristina/code/16stable/htdocs/lib/errors.php:446
      error(8, "Use of undefined constant PSPELL_FAST - assumed 'P...", "/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 22, array(size 53)) at /home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/config.php:22
      require_once("/home/kristina/code/16stable/htdocs/js/tinymce/plu...") at /home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/includes/general.php:15
      require_once("/home/kristina/code/16stable/htdocs/js/tinymce/plu...") at /home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/rpc.php:10

  [WAR] 65 (js/tinymce/plugins/spellchecker/config.php:28) Use of undefined constant PSPELL_FAST - assumed 'PSPELL_FAST'
  Call stack (most recent first):

      log_message("Use of undefined constant PSPELL_FAST - assumed 'P...", 8, true, true, "/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 28) at /home/kristina/code/16stable/htdocs/lib/errors.php:446
      error(8, "Use of undefined constant PSPELL_FAST - assumed 'P...", "/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 28, array(size 53)) at /home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/config.php:28
      require_once("/home/kristina/code/16stable/htdocs/js/tinymce/plu...") at /home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/includes/general.php:15
      require_once("/home/kristina/code/16stable/htdocs/js/tinymce/plu...") at /home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/rpc.php:10

  [WAR] 65 (js/tinymce/plugins/spellchecker/classes/utils/JSON.php:351) Uninitialized string offset: 60
  Call stack (most recent first):

      log_message("Uninitialized string offset: 60", 8, true, true, "/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 351) at /home/kristina/code/16stable/htdocs/lib/errors.php:446
      error(8, "Uninitialized string offset: 60", "/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 351, array(size 0)) at /home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:351
      Moxiecode_JSONReader->peek() at /home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:323
      Moxiecode_JSONReader->readAway() at /home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:126
      Moxiecode_JSONReader->readToken() at /home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:379
      Moxiecode_JSON->readValue(object(Moxiecode_JSONReader)) at /home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:369
      Moxiecode_JSON->decode("{"id":"c0","method":"checkWords","params":["en",["...") at /home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/rpc.php:93

  [WAR] 65 (js/tinymce/plugins/spellchecker/classes/utils/JSON.php:339) Uninitialized string offset: 60
  Call stack (most recent first):

      log_message("Uninitialized string offset: 60", 8, true, true, "/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 339) at /home/kristina/code/16stable/htdocs/lib/errors.php:446
      error(8, "Uninitialized string offset: 60", "/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 339, array(size 1)) at /home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:339
      Moxiecode_JSONReader->read() at /home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:90
      Moxiecode_JSONReader->readToken() at /home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:379
      Moxiecode_JSON->readValue(object(Moxiecode_JSONReader)) at /home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:369
      Moxiecode_JSON->decode("{"id":"c0","method":"checkWords","params":["en",["...") at /home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/rpc.php:93

  [WAR] 65 (js/tinymce/plugins/spellchecker/rpc.php:104) Trying to get property of non-object
  Call stack (most recent first):

      log_message("Trying to get property of non-object", 8, true, true, "/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 104) at /home/kristina/code/16stable/htdocs/lib/errors.php:446
      error(8, "Trying to get property of non-object", "/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 104, array(size 58)) at /home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/rpc.php:104

  -------------------------

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1051529/+subscriptions


References