• 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: Blank page after submitting form

Blank page after submitting form 11 years 1 month ago #27139

  • celine
  • celine's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
hello i have an error after submitting form
blank page without report error
and this with
Notice: Use of undefined constant DS - assumed 'DS' in /homez.809/mariageadk/www/administrator/components/com_rsform/helpers/rsform.php(2020) : eval()'d code on line 3
 
Notice: Use of undefined constant DS - assumed 'DS' in /homez.809/mariageadk/www/administrator/components/com_rsform/helpers/rsform.php(2020) : eval()'d code on line 3
 
Notice: Use of undefined constant DS - assumed 'DS' in /homez.809/mariageadk/www/administrator/components/com_rsform/helpers/rsform.php(2020) : eval()'d code on line 3
 
Notice: Use of undefined constant DS - assumed 'DS' in /homez.809/mariageadk/www/administrator/components/com_rsform/helpers/rsform.php(2020) : eval()'d code on line 3
 
Notice: Use of undefined constant DS - assumed 'DS' in /homez.809/mariageadk/www/administrator/components/com_rsform/helpers/rsform.php(2020) : eval()'d code on line 3
 
Warning: include_once(/homez.809/mariageadk/www/administratorDScomponentsDScom_acymailingDShelpersDShelper.php): failed to open stream: No such file or directory in /homez.809/mariageadk/www/administrator/components/com_rsform/helpers/rsform.php(2020) : eval()'d code on line 3
 
Warning: include_once(): Failed opening '/homez.809/mariageadk/www/administratorDScomponentsDScom_acymailingDShelpersDShelper.php' for inclusion (include_path='.:/usr/local/php5.4/lib/php') in /homez.809/mariageadk/www/administrator/components/com_rsform/helpers/rsform.php(2020) : eval()'d code on line 3
 
Fatal error: Call to undefined function acymailing_get() in /homez.809/mariageadk/www/administrator/components/com_rsform/helpers/rsform.php(2020) : eval()'d code on line 8

why ?
The administrator has disabled public write access.

Blank page after submitting form 11 years 1 month ago #27144

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
Hello,

You have a 3rd party script in the PHP Scripts areas (seems related to Acymailing). Please remove it.
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.

Blank page after submitting form 11 years 1 month ago #27145

  • celine
  • celine's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
yes now it works !!
but how to connect user to acymailiing
the offical code
$postData = JRequest::getVar('form');
 
 include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_acymailing'.DS.'helpers'.DS.'helper.php');
 
 $myUser = new stdClass();
 $myUser->email = strip_tags($postData['email']); //Please  replace email_field by your own field name (the name of the field  "email").
 $myUser->name = strip_tags($postData['nom']);  //Please replace name_field by your own field name (the name of the  field "name").
 $subscriberClass = acymailing_get('class.subscriber');
 
 $subid = $subscriberClass->save($myUser);
 
 $subscribe = array(1); //Specify here the ID of your lists  separated by a comma, in this example the user will be subscribed to  lists IDs 3,4 and 5.
 
 $newSubscription = array();
 if(!empty($subscribe)){
 foreach($subscribe as $listId){
 $newList = array();
 $newList['status'] = 1;
 $newSubscription[$listId] = $newList;
 }
 }
 $subscriberClass->saveSubscription($subid,$newSubscription);
The administrator has disabled public write access.

Blank page after submitting form 11 years 1 month ago #27153

  • celine
  • celine's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
please some help ??
The administrator has disabled public write access.

Blank page after submitting form 11 years 3 weeks ago #27217

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Given the fact that this script is Acymailing specific, it would be more appropriate to ask them for more details on this, or for further instructions.
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!