• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Error : Notice: Undefined index: WYSIWYG

Error : Notice: Undefined index: WYSIWYG 16 years 1 month ago #6865

  • alpa
  • alpa's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hello to everyone,

Does anyone know what is the following error:

Notice: Undefined index: WYSIWYG in <path>/components/com_rsform/controller/functions.php on line 499


Alex
The administrator has disabled public write access.

Re:Error : Notice: Undefined index: WYSIWYG 16 years 4 weeks ago #6874

  • hazel
  • hazel's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi

I am also receiving the above error when previewing the form and an additional error Notice: Undefined index: WYSIWYG in /var/www/html/administrator/components/com_rsform/admin.rsform.php on line 764 when editing the textarea on the form.

Thanks
The administrator has disabled public write access.

Re:Error : Notice: Undefined index: WYSIWYG 16 years 3 weeks ago #6897

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Hello,

This is due to the fact that you have upgraded from an older version of RSform!Pro that did not have certain features. A quick resolution to this would be to simply remove those form items ( most likely a calendar or textarea ) and add them again.

Also, please verify that your language file ( components/com_rsform/languges ) contains this label ( around line 96 ):

DEFINE('_RSFORM_BACKEND_COMP_FIELD_WYSIWYG','WYSIWYG Editor');
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Re:Error : Notice: Undefined index: WYSIWYG 16 years 3 weeks ago #6931

  • jouvina
  • jouvina's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi,

I've the same problem as reported:
> Notice: Undefined index: WYSIWYG in ....\components\com_rsform\controller\functions.php on line 499

It appeared after upgrading from tryout version. It's related to a TEXTAREA field (message disappears after removing this single TEXTAREA component) but the remove/add trick did not work.

Also, in my ..\components\com_rsform\languages\default.php there was already this line:
DEFINE('_RSFORM_BACKEND_COMP_FIELD_WYSIWYG','Enable WYSIWYG Editor');

Any idea?

Rgds.
The administrator has disabled public write access.

Re:Error : Notice: Undefined index: WYSIWYG 16 years 3 days ago #7152

  • amclin
  • amclin's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Is there a better way to fix this? I upgraded from the tryout to full version and am getting this.

I have 70-80 textareas in the form and it will be incredibly tedious to recreate them all.

I am not afraid of doing SQL queries if necessary.
The administrator has disabled public write access.

Re:Error : Notice: Undefined index: WYSIWYG 16 years 3 days ago #7153

  • amclin
  • amclin's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
I found a better fix:

Find line 499 of components/com_rsform/controller/functions.php

if ($data == 'YES')

and replace it with this:

if (isset($data) && $data == 'YES')
The administrator has disabled public write access.

Re:Error : Notice: Undefined index: WYSIWYG 15 years 10 months ago #7509

I did it and now the error is
Parse error: parse error in ..\components\com_rsform\controller\functions.php on line 507

case 'textArea':
{
$defaultValue = RSisCode($data);
if (isset($data) && $data == 'YES'
$out .= $RSadapter->WYSIWYG('form.']', (!empty($value) ? RSshowVar($value[$data]) : $defaultValue), 'id.']', $data*10, $data*10, $data, $data);
else
$out .= '<textarea cols="'.$data.'" rows="'.$data.'" name="form.']" id="'.$data.'" '.$data.'>'.(!empty($value) ? RSshowVar($value[$data]) : $defaultValue).'</textarea>';
}
The administrator has disabled public write access.

Re:Error : Notice: Undefined index: WYSIWYG 15 years 10 months ago #7510

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
Here's the correct code:
case 'textArea':
{
$defaultValue = RSisCode($data);
if (isset($data) && $data == 'YES')
$out .= $RSadapter->WYSIWYG('form.']', (!empty($value) ? RSshowVar($value[$data]) : $defaultValue), 'id.']', $data*10, $data*10, $data, $data);
else
$out .= '<textarea cols="'.$data.'" rows="'.$data.'" name="form.']" id="'.$data.'" '.$data.'>'.(!empty($value) ? RSshowVar($value[$data]) : $defaultValue).'</textarea>';
}

Make sure you have the latest RSForm! Pro revision, it should solve this little bug.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!