Objective: To insert Web Form Data into SuiteCRM
I just installed a new SuiteCRM instance v8.1.3 via Softaculous.
Then, I created a new WEB PERSON FORM but this questionnaire is not being submitted.
The browser error is:
“This page isn’t working
suitecrm.my-domain.com is currently unable to handle this request.
HTTP ERROR 500”
The Chrome console does not show any error, and suitecrm.log for Log Level: ERROR does not show any error.
The web form created is:
<form action='https://suitecrm.my-domain.com/public/index.php?entryPoint=WebToPersonCapture' name='WebToLeadForm' method='POST' id='WebToLeadForm'>
<div class="row"><div class="col"><label>Last Name: <span class='required'>*</span></label><input id="last_name" name="last_name" type="text" required></div><div class="col"> </div> <div class="clear"> </div>
</div>
<div class="row center buttons">
<input type="submit" onclick="submit_form();" class="button" name="Submit" value="ENVIAR" />
<div class="clear"> </div>
</div>
<input type='hidden' id='campaign_id' name='campaign_id' value='30f60fc0-a812-f264-dfc5-63389'>
<input type='hidden' id='redirect_url' name='redirect_url' value='https://suitecrm.my-domain.com/subscribed/'>
<input type='hidden' id='assigned_user_id' name='assigned_user_id' value='1'>
<input type='hidden' id='moduleDir' name='moduleDir' value='Leads'></form>
I also verified in config.php to see if URL was correct as https://suitecrm.my-domain.com/public
I also set up the permissions as:
sudo chown -R user:user .
find . -type d -not -perm 2755 -exec chmod 2755 {} ;
find . -type f -not -perm 0644 -exec chmod 0644 {} ;
chmod -R 775 cache custom modules themes data upload
sudo chmod 775 config_override.php 2>/dev/null
chmod +x bin/console**
I am running out of ideas. Any suggestions?
Thanks
Ronaldo