I fixed the problem that I was having by manually typing in the success and error URLs in the form properties. For example
success URL:
http://www.ladyfirewalkers.com/success.php
error URL:
http://www.ladyfirewalkers.com/error.php
Also by making sure that the permission of success.php and error.php was set to 644 on the cPanel.
This is how I fixed my problem.