WebToLeadCapture, always fails

I’m trying to integrate several webToLeadCapture forms from my website.

For some strange reason I always get after submitting the form:
We are sorry, the server is currently unavailable, please try again later.

This is a copy of my production system with just in the config.php the new url.

I’m running:
$suitecrm_version = ‘7.1.1’;
$suitecrm_timestamp = ‘2014-04-04 17:00pm’;

The logs when running in debug mode does not show anything:
Mon Jul 7 15:02:38 2014 [17191][-none-][DEBUG] current_language is: en_us
Mon Jul 7 15:02:38 2014 [17191][-none-][DEBUG] Found cache backend SugarCacheWincache
Mon Jul 7 15:02:38 2014 [17191][-none-][DEBUG] Found cache backend SugarCacheRedis
Mon Jul 7 15:02:38 2014 [17191][-none-][DEBUG] Found cache backend SugarCacheAPC
Mon Jul 7 15:02:38 2014 [17191][-none-][DEBUG] Found cache backend SugarCacheMemcache
Mon Jul 7 15:02:38 2014 [17191][-none-][DEBUG] Found cache backend SugarCacheMemory
Mon Jul 7 15:02:38 2014 [17191][-none-][DEBUG] Using cache backend SugarCacheMemory, since 999 is less than 1000
Mon Jul 7 15:02:38 2014 [17191][-none-][DEBUG] Found cache backend SugarCacheMemcached
Mon Jul 7 15:02:38 2014 [17191][-none-][DEBUG] Found cache backend SugarCacheFile
Mon Jul 7 15:02:38 2014 [17191][-none-][DEBUG] Found cache backend SugarCachesMash
Mon Jul 7 15:02:38 2014 [17191][-none-][DEBUG] Found cache backend SugarCacheZend
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Found language file: en_us.lang.php
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Found extended language file: en_us.lang.ext.php
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Found custom language file: en_us.lang.php
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Query:SELECT id, name, symbol, conversion_rate FROM currencies WHERE status = ‘Active’ and deleted = 0
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Query Execution Time:0.00034499168395996
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Query:SELECT category, name, value FROM config
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Query Execution Time:0.00036406517028809
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Query:SELECT id FROM outbound_email WHERE type = ‘system’
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Query Execution Time:0.00024795532226562
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Query:SELECT * FROM outbound_email WHERE id = ‘3db4573c-2342-b6c1-9189-530c690aeff1’
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Query Execution Time:0.00025105476379395
Mon Jul 7 15:02:38 2014 [17191][-none-][DEBUG] Hook called: ::after_entry_point
Mon Jul 7 15:02:38 2014 [17191][-none-][DEBUG] Including module specific hook file for custom/modules
Mon Jul 7 15:02:38 2014 [17191][-none-][DEBUG] Including Ext hook file for custom/application
Mon Jul 7 15:02:38 2014 [17191][-none-][DEBUG] Hook called: ::after_session_start
Mon Jul 7 15:02:38 2014 [17191][-none-][DEBUG] current_language is: en_us
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Found language file: en_us.lang.php
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Found extended language file: en_us.lang.ext.php
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Found custom language file: en_us.lang.php
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Query:SELECT count(*) as the_count FROM config WHERE category=‘info’ AND name=‘sugar_version’ AND value = ‘6.5.16’
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Query Execution Time:0.00035500526428223
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Query:SELECT category, name, value FROM config WHERE category = ‘license’
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Query Execution Time:0.00029802322387695
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Query:SELECT id FROM outbound_email WHERE type = ‘system’
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Query Execution Time:0.00023198127746582
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Query:SELECT * FROM outbound_email WHERE id = ‘3db4573c-2342-b6c1-9189-530c690aeff1’
Mon Jul 7 15:02:38 2014 [17191][-none-][INFO] Query Execution Time:0.00023198127746582
Mon Jul 7 15:02:38 2014 [17191][-none-][DEBUG] Hook called: ::server_round_trip
Mon Jul 7 15:02:38 2014 [17191][-none-][DEBUG] Calling MySQLi::disconnect()

Have you checked that you are referring to an existing user or campaign?

If you have deleted the user or the campaign for which the Web to leaf capture form was built then it won’t work. Either you update by hand the form with the correct id’s or you have to create a new one.

Hi amariussi,

The use exists and also the campaign.

I’ll try with a new instance of suite to see if this is better.

Have you checked the id’s of the user who created the campaign, the one who gets assigned the leads and of the campaign itself?
If they have changed in between something ma not work. (for example you may have created a campaign, then the form, later deleted the campaign and recreated a similar one. Same thing for the user)

How we solve this… now my SuiteCRM is stuck in We are sorry, the server is currently unavailable, please try again later.