I’m having trouble getting a form to work. I downloaded the PHP easiForm file and action. I placed the action in the actions folder and uploaded the easiForm file using Transmit. I think I might have uploaded it wrong. I dragged and dropped the file onto the Transmit window. It copied with all of the other files listed on the site. When I uploaded with Transmit it uploaded the entire site. The site looks fine and functions. The form however does not work. I get this message. “The required ioncube loader has not been detected for this easiForm script, please make sure you have the ioncube folder containing the required loader for your servers system.”
This is the site if it helps http://www.segerstromfootball.com/contact.php
Reading a earlier post I realized I need to change the index page to .php
Basically the action uploads the scripts that are created with Freeway and the action, the only thing you need to use an ftp client for is to upload the ioncube folder with the loader/s, which it seems you have done, but…
I have just loaded the ioncube helper page from your server in Camino and it states the ioncube loader has not been loaded. On further investigation I see you are on a FreeBSD server, the default loaders in the ioncube folder suppied with the PHP easiForm actions does not include the loaders for FreeBSD. I am not sure which version of FreeBSD you are running so it might be worth asking your hosting company:
Do they support ioncube
While you are at it… If so which FreeBSD are they running, there are loaders for FreeBSD 4, 5, 6 and 7
… if they say FreeBSD 6 you should download the ioncube loaders for FreeBSD 6 from the following link and then replace the ioncube folder on your server with the one you download for the FreeBSB version: http://www.ioncube.com/loaders.php
It goes into some of the detail on the ioncube loaders but not to much of a depth, I mention the link only as it may be a help to you for setting up the form elements and using the actions as the form has not been set up right, the PHP easiForm actions do practically all of the work for you but unfortunately they can’t actually name the form elements for you as they doesn’t know what you want to use each item for
Where you have the PHP easiForm Errors applied to, cell or html item (never looked that close) you should type a space to over ride the default style FW applied to an empty html item, that is why where you have the PHP easiForm Error text at 1px size, typing a space in the same will then make this error text readable (You could * also * select a style to add to the item the PHP easiForm Errors is applied to so it is not returned as basic serif text).
None of the form elements have not been named. You do this by selecting each form element and entering the element name in the FW actions inspector ‘Name’ field.
You are using check boxes where you should be using radio buttons, replace the * 2 * check boxes for ‘Do you have private insurance’ for two radio buttons, name both of them ‘private_insurance’ (without quotes and then give the Yes one a vale of ‘yes’ and the No one a value of ‘No’ (without quotes). Leave the check box for ‘Add me to our mailing list’ but give it a ‘Name’ of ‘add_to_mailing_list’ and a ‘Value’ of ‘yes’ (all without quotes. The email field needs to be named ‘email’ (without quotes) in the FW actions inpector ‘Name’ field when the ‘text field’ is selected. You will need to decide which of the 3 email addresses you have asked for should be used for this as the only email value that will be checked for format will be the field named ‘email’.
To be honest * it is a simple process *, it just takes a lot of text to say but it really does take no time to do in reality… first time on everything seems involved. The reason the PHP easiForm PDF is so large is because there is so much you can do and control with the actions, everything including aligning text in cells, styles and element naming for different types of form elements is covered in the PDF. The biggest thing with the PHP easiForm actions is if your server supports ioncube, if they do you should have a walk in the park… honest, you will not believe how simple it can be to set a form up with the actions… even a relatively complex form * if it where needed *. If they don’t support ioncube then there are other actions available that do not use ioncube, but you will still need to name the form elements what ever way you go.
Let me know what they say, just email me here on directly and I will assist with the form.