11 years ago
Topic

Hello,


I'm building a small contact form with public access that is supposed to send an email when the submit button is clicked. Optionally it should save the data in the db or add the form as an article.

When I complete the form and press the submit button the content of the page reloads and nothing happens. No email is sent and no article is added. I don't even see any changes in the db.

I've looked here
http://www.seblod.com/support/documentation/seblod-2x/fields/types/3023-email.html
and here
http://www.seblod.com/v3/community/forums/forms-content-types/form-submit-button-blanks-page-and-nothing-happens

and here

http://www.seblod.com/v3/community/forums/fields-plug-ins/seblod-and-mail-definition-of-fields-and-types

 

I also did configure "site form - configuration - redirection" to "content", but no content is being shown after clicking "submit", neither an email is sent nor a db-entry made...

 

The configuration:


Admin Form:
                                            Label           Variation
Kontakt-Info [Free Text)      Anschrift      Default 
SG-Name (Text)                 Name           Default 
SG-Email (Text)                 Email            Default 
SG-Nachricht (Textarea)    Nachricht     Default 
SG-Mail (Button • Submit)  Send Mail    Default 
SG-SendEmail (Email)        SG-SendEmail Default 
Article Id (Text)                    ID                Default 


Site Form:
 Label Variation
Kontakt-Info (Free Text)     Anschrift          Default 
SG-Name (Text)                 Name              Default 
SG-Email (Text)                 Email               Default 
SG-Nachricht (Textarea)    Nachricht         Default 
SG-SendEmail (Email)       SG-SendEmail Hidden 
SG-Mail (Button - Submit)  Send Mail         Default
Article Id (Text)                   ID                    Hidden


Content:
 Label Variation
SG-Name (Text)                Name 
SG-Email (Text)                Email 
SG-Nachricht (Textarea)   Nachricht
SG-Mail (Button - Submit)  Send Mail
SG-SendEmail (Email)       SG-SendEmail 
Article Id (Text)                   ID


Storage:
SG-Name (Text) Standard - Article
SG-Email (Text) Standard - Article
SG-Nachricht (Textarea) Standard - Article
SG-Mail (Button - Submit) - none -
SG-SendEmail (Email) Custom - Article - Introtext
Article Id (Text) Standard - Article - Id


Alternatively tried Storage:
SG-Name (Text) Free - cck_store_item_messages - sgname
SG-Email (Text) Free - cck_store_item_messages - sgemail
SG-Nachricht (Textarea) Free - cck_store_item_messages - message
SG-Mail (Button - Submit) - none -
SG-SendEmail (Email) Custom - Article - Introtext
Article Id (Text) Standard - Article - Id


I would greatly appreciate any help on this issue.

Best regards.


Get a VIP membership
11 years ago
0
Level 1

Here the MySQL debug output when submitting the form:

 

 

SELECT `data`

 FROM `abcde_session`

 WHERE `session_id` = 't9lmvi6jl18g2gceacpdp5nvk7'



DELETE

 FROM `abcde_session`

 WHERE `time` <
'1368400457'



SELECT folder AS type, element AS name, params

 FROMabcde_extensions

 WHERE enabled >= 1

 AND type ='plugin'

 AND state >= 0

 AND access IN (1,1,2,3)

 ORDERBY ordering



SELECT*

 FROMabcde_languages

 WHERE published=1

 ORDERBY ordering ASC



SELECT extension_id AS id, element AS "option", params, enabled

 FROMabcde_extensions

 WHERE `type` = 'component'

 AND `element` = 'com_languages'



SELECT extension_id AS id, element AS "option", params, enabled

 FROMabcde_extensions

 WHERE `type` = 'component'

 AND `element` = 'com_cck'



SELECT extension_id AS id, element AS "option", params, enabled

 FROMabcde_extensions

 WHERE `type` = 'component'

 AND `element` = 'com_widgetkit'



SELECT m.id, m.menutype, m.title, m.alias, m.note, m.path AS route, m.link, m.type, m.level, m.language,m.browserNav, m.access,
m.params, m.home, m.img, m.template_style_id, m.component_id,
m.parent_id,e.element as component

 FROMabcde_menuAS m

 LEFTJOINabcde_extensionsAS e

 ON m.component_id = e.extension_id

 WHERE m.published = 1

 AND m.parent_id >
0

 AND m.client_id = 0

 ORDERBY m.lft



SELECT id, home, template, s.params

 FROMabcde_template_styles as s

 LEFTJOINabcde_extensions as e

 ON e.element=s.template

 AND e.type='template'

 AND e.client_id=s.client_id

 WHERE s.client_id = 0

 AND e.enabled = 1



SELECT a.id, a.title, a.name, a.description, a.location, a.storage_location,
b.app as folder_app, a.options_admin, a.options_site, a.options_content,
a.options_intro, a.template_admin, a.template_site, a.template_content,
a.template_intro

 FROMabcde_cck_core_typesAS a

 LEFTJOINabcde_cck_core_foldersAS b

 ON b.id = a.folder

 WHERE a.name ="kontakt"

 AND a.published = 1



SELECTDISTINCT a.*, c.client, c.label as label2, c.variation, c.variation_override,
c.required, c.required_alert, c.validation, c.validation_options, c.live,
c.live_options, c.live_value, c.markup_class, c.stage, c.access, c.computation,
c.computation_options, c.conditional, c.conditional_options, c.position

 FROMabcde_cck_core_fieldsAS a

 LEFTJOINabcde_cck_core_type_fieldAS c

 ON c.fieldid = a.id

 LEFTJOINabcde_cck_core_typesAS b

 ON b.id = c.typeid

 WHERE b.name = "kontakt"

 AND c.client = "site"

 AND c.access IN (1,1,2,3)

 ORDERBY c.ordering ASC



SELECT a.id, a.template as name, a.params

 FROMabcde_template_stylesAS a

 LEFTJOINabcde_cck_core_templatesAS b

 ON b.name = a.template

 WHERE a.id = 27

 AND b.published = 1



SELECT*

 FROMabcde_cck_core_type_positionAS a

 WHERE a.typeid = 53

 AND a.client ="site"



SELECT params

 FROMabcde_extensionsAS e

 WHERE e.element='com_widgetkit'



SELECT extension_id AS id, element AS "option", params, enabled

 FROMabcde_extensions

 WHERE `type` = 'component'

 AND `element` = 'com_media'



SELECT m.id, m.title, m.module, m.position, m.content, m.showtitle, m.params,
mm.menuid

 FROMabcde_modulesAS m

 LEFTJOINabcde_modules_menuAS mm

 ON mm.moduleid = m.id

 LEFTJOINabcde_extensionsAS e

 ON e.element = m.module

 AND e.client_id = m.client_id

 WHERE m.published = 1

 AND e.enabled = 1

 AND (m.publish_up = '0000-00-00 00:00:00' OR m.publish_up <= '2013-05-13 00:14:17')

 AND (m.publish_down = '0000-00-00 00:00:00' OR m.publish_down
>= '2013-05-13 00:14:17')

 AND m.access IN (1,1,2,3)

 AND m.client_id = 0

 AND (mm.menuid = 243 OR mm.menuid <= 0)

 AND m.language IN ('de-DE','*')

 ORDERBY m.position, m.ordering



SELECT extension_id AS id, element AS "option", params, enabled

 FROMabcde_extensions

 WHERE `type` = 'component'

 AND `element` = 'com_content'



SELECT extension_id AS id, element AS "option", params, enabled

 FROMabcde_extensions

 WHERE `type` = 'component'

 AND `element` = 'com_jevents'



UPDATE `abcde_session`

 SET `data` = '__default|a:12:{s:15:\"session.counter\";i:187;s:19:\"session.timer.start\";i:1368318767;s:18:\"session.timer.last\";i:1368404030;s:17:\"session.timer.now\";i:1368404057;s:22:\"session.client.browser\";s:71:\"Mozilla/5.0
(compatible; MSIE 10.0; Windows NT 6.1; WOW64;
Trident/6.0)\";s:8:\"registry\";O:9:\"JRegistry\":1:{s:7:\"\0*\0data\";O:8:\"stdClass\":1:{s:5:\"users\";O:8:\"stdClass\":1:{s:5:\"login\";O:8:\"stdClass\":1:{s:4:\"form\";O:8:\"stdClass\":2:{s:6:\"return\";s:20:\"index.php?Itemid=132\";s:4:\"data\";a:0:{}}}}}}s:4:\"user\";O:5:\"JUser\":28:{s:9:\"\0*\0isRoot\";b:1;s:2:\"id\";s:3:\"165\";s:4:\"name\";s:10:\"Super
User\";s:8:\"username\";s:5:\"admin\";s:5:\"email\";s:19:\"aaa@bbb.com\";s:8:\"password\";s:65:\"18e9f49af712065357f114a53743bded:V9fT7rI9yPwUcFpNbMrISS19JEnfi0cF\";s:14:\"password_clear\";s:0:\"\";s:8:\"usertype\";s:10:\"deprecated\";s:5:\"block\";s:1:\"0\";s:9:\"sendEmail\";s:1:\"1\";s:12:\"registerDate\";s:19:\"2013-03-18
12:18:55\";s:13:\"lastvisitDate\";s:19:\"2013-05-12 22:48:45\";s:10:\"activation\";s:1:\"0\";s:6:\"params\";s:185:\"{\"admin_style\":\"\",\"admin_language\":\"\",\"language\":\"\",\"editor\":\"\",\"helpsite\":\"http:\\/\\/help.joomla.org\\/proxy\\/index.php?option=com_help&keyref=Help{major}{minor}:{keyref}\",\"timezone\":\"\"}\";s:6:\"groups\";a:1:{i:8;s:1:\"8\";}s:5:\"guest\";i:0;s:13:\"lastResetTime\";s:19:\"0000-00-00
00:00:00\";s:10:\"resetCount\";s:1:\"0\";s:10:\"\0*\0_params\";O:9:\"JRegistry\":1:{s:7:\"\0*\0data\";O:8:\"stdClass\":6:{s:11:\"admin_style\";s:0:\"\";s:14:\"admin_language\";s:0:\"\";s:8:\"language\";s:0:\"\";s:6:\"editor\";s:0:\"\";s:8:\"helpsite\";s:89:\"http://help.joomla.org/proxy/index.php?option=com_help&keyref=Help{major}{minor}:{keyref}\";s:8:\"timezone\";s:0:\"\";}}s:14:\"\0*\0_authGroups\";a:2:{i:0;i:1;i:1;i:8;}s:14:\"\0*\0_authLevels\";a:4:{i:0;i:1;i:1;i:1;i:2;i:2;i:3;i:3;}s:15:\"\0*\0_authActions\";N;s:12:\"\0*\0_errorMsg\";N;s:10:\"\0*\0_errors\";a:0:{}s:3:\"aid\";i:0;s:2:\"ip\";s:11:\"85.216.3.49\";s:10:\"session_id\";N;s:12:\"where_clause\";s:11:\"user_id=165\";}s:13:\"session.token\";s:32:\"93f562b293c96ede7a1d2cc35a20dc42\";s:28:\"cck_hash_seblod_form_kontakt\";s:32:\"fb489cdedc9cd9f637508676636836fb\";s:16:\"com_mailto.links\";a:2:{s:40:\"ed8bb23db799851bdac57bac0d63cb3a5335033c\";O:8:\"stdClass\":2:{s:4:\"link\";s:147:\"http://aaa.bbb.com/index.php?option=com_content&view=article&id=83:welcome&catid=8&Itemid=132&lang=de\";s:6:\"expiry\";i:1368402976;}s:40:\"b39b82c60fe9e8427092af11cbbe25df142b6db0\";O:8:\"stdClass\":2:{s:4:\"link\";s:71:\"http://aaa.bbb.com/de/welcome.html\";s:6:\"expiry\";i:1368402496;}}s:28:\"cck_hash_seblod_form_contact\";s:32:\"b47e812c64ca8c80abf8e72f16c4d7e9\";s:10:\"jckplugins\";a:8:{i:0;O:8:\"stdClass\":2:{s:4:\"type\";s:7:\"default\";s:4:\"name\";s:9:\"dragndrop\";}i:1;O:8:\"stdClass\":2:{s:4:\"type\";s:7:\"default\";s:4:\"name\";s:10:\"index.html\";}i:2;O:8:\"stdClass\":2:{s:4:\"type\";s:7:\"default\";s:4:\"name\";s:4:\"user\";}i:3;O:8:\"stdClass\":2:{s:4:\"type\";s:10:\"stylesheet\";s:4:\"name\";s:5:\"beez5\";}i:4;O:8:\"stdClass\":2:{s:4:\"type\";s:10:\"stylesheet\";s:4:\"name\";s:10:\"beezlayout\";}i:5;O:8:\"stdClass\":2:{s:4:\"type\";s:10:\"stylesheet\";s:4:\"name\";s:12:\"beezpersonal\";}i:6;O:8:\"stdClass\":2:{s:4:\"type\";s:10:\"stylesheet\";s:4:\"name\";s:10:\"index.html\";}i:7;O:8:\"stdClass\":2:{s:4:\"type\";s:10:\"stylesheet\";s:4:\"name\";s:13:\"jcktypography\";}}}'
, `time` = '1368304057'

 WHERE `session_id` = ' t9lmvi6jl18g2gceacpdp5nvk7'



11 years ago
2
Level 1

Hi Volker2 , did you try to change the template of your website? I had the same issue a few days ago , i just change the template and everything went well


11 years ago
1
Level 2


Hi sonyb,

 

thank you for your reply. Yes, exactly that solved my problem, too.

 

Best regards,

 

Volker

11 years ago
0
Level 3

Hi Volker ,

You are welcome , glad to know that it works for you

Sonyb

11 years ago
1
Level 1

Hi sonyb, thank you, changing the template helped.

But what is wrong with my template? It worked well before? Any ideas would be greatly appreciated.

Thanks Mevrgior

11 years ago
0
Level 2

Hi Mevrgior ,

You are welcome , glad to know that you've helped. I don't really know too, perhaps some templates have conflicts with seblod or are not well installed.

I think , i had your problem too with a template which was working perfectly with seblod 3.1.1 , but not in the first time with seblod v2, it was only at the second time that it worked with seblod (fresh installation of joomla+same template+seblod v2)

Sonyb

Get a VIP membership