• 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: Unable to Save Form

Unable to Save Form 12 years 11 months ago #13800

  • cbinc
  • cbinc's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Hi, hoping for some help. Whenever I attempt to save a modified (or new) form on the admin back-end I receive the following error and the form will not save:

Fatal error: Call to undefined function rscleanvar() in /home/bitgard/public_html/administrator/components/com_forme/admin.forme.php on line 549

How can I fix this?
The administrator has disabled public write access.

Re:Unable to Save Form 12 years 11 months ago #13804

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

Benn having this problem 10 min ago. I downloaded RsDorm today to evaluate and immediately stumbled uppon this ! Not very professional I might add.

How to solve this?

1.)GO to your site on the filesistem and find the following file:
\administrator\components\com_forme\admin.forme.php

2.) make a backup of the file just in case you botxh something up.

3.) open the file for edit and find the followig code: (should be line 184)
if (!function_exists('RScleanVar'))
{
	function RScleanVar($string,$html=false)
	{
		$db 	= JFactory::getDBO();
		$string = $html ? htmlentities($string,ENT_COMPAT,'UTF-8') : $string;
		$string = get_magic_quotes_gpc() ? $db->getEscaped(stripslashes($string)) : $db->getEscaped($string);
		return $string;
	}
}

4. move the code block from step 3.) before the switch statement (line 25)

5. save/close/test

you are welcome

d
The administrator has disabled public write access.

Re:Unable to Save Form 12 years 11 months ago #13806

  • cbinc
  • cbinc's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Thanks Davidp, that worked perfectly. It's appreciated.
The administrator has disabled public write access.

Re:Unable to Save Form 12 years 11 months ago #13812

  • octavian
  • octavian's Avatar
  • NOW ONLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
Thanks for the fix, it has already been included in the package.
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!