[Pro] PHP easiform

More questions to answer please. I am using freeway 5 pro v5.4.2 and i am always getting a error when i try to preview my form in safari, any help will be appreciated. What does this error means.

<?php // PHP Code placement by PHP easiForm action - www.easibase.com if (phpversion() >= "4.2.0" && isset($_POST['f']) && isset($_POST['submit'])) { $f = $_POST['f']; $submit = $_POST['submit']; } $easiFormAction = true; if (file_exists('easiForm_config.php')) { include_once('easiForm_config.php'); } else { echo "Warning, your form is using a Freeway Action to include 'easiForm' but it appears the 'easiForm_config.php' script has not been uploaded to the form directory, you will need to upload the 'easiForm_config.php' file to correct this error."; exit; } _______________________________________________ freewaytalk mailing list email@hidden Update your subscriptions at: http://freewaytalk.net/person/options

Hi Lesley,

You need to set the file ending of the page to .php, it is probably
set to .html at the moment.

Note: Once you do that you will just see the page code in Freeways
preview but it will view as it should be on the server.

HTH

On Jun 4, 2011, at 8:47 AM, Lesley Warren wrote:

More questions to answer please. I am using freeway 5 pro v5.4.2 and
i am always getting a error when i try to preview my form in safari,
any help will be appreciated. What does this error means.

<?php // PHP Code placement by PHP easiForm action - www.easibase.com if (phpversion() >= "4.2.0" && isset($_POST['f']) && isset($_POST['submit'])) { $f = $_POST['f']; $submit = $_POST['submit']; } $easiFormAction = true; if (file_exists('easiForm_config.php')) { include_once('easiForm_config.php'); } else { echo "Warning, your form is using a Freeway Action to include 'easiForm' but it appears the 'easiForm_config.php' script has not been uploaded to the form directory, you will need to upload the 'easiForm_config.php' file to correct this error."; exit; } _______________________________________________ freewaytalk mailing list email@hidden Update your subscriptions at: http://freewaytalk.net/person/options

freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hello Mike B,

I have the extension set to php and it is still doing the same problem.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You should check with your hosting company to make sure your hosting
plan includes php, if the file ending is .php and you still see this
code it could be because the account does not have php available.

Do you have a URL of the page? you can send it to me directly if you
do not want to show it here.

HTH

On Jun 4, 2011, at 3:08 PM, Lesley Warren wrote:

Hello Mike B,

I have the extension set to php and it is still doing the same
problem.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It is not up on the server yet. I made a sample to make sure that it works. should i stuff-it or zip it and put it in here.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Lesley,

You do not need to stuff or zip anything, just upload the site to the
server using Freeway in the normal way, this way you will be sure all
the files that are needed will be available.
When you have done that then go to the form pages and you should see
that the pages are as you expect them to be… without visible php
code.

PHP pages cannot be read locally on your computer unless you set the
computer up to do so.

HTH

On Jun 4, 2011, at 3:28 PM, Lesley Warren wrote:

It is not up on the server yet. I made a sample to make sure that it
works. should i stuff-it or zip it and put it in here.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks mike B,

It worked when i uploaded it to my server. you are great. one question? why does it not preview when i do a preview from my layout. This is the link to my website http://www.csdesignmtl.com

is it possible to make my site look like
http://www.sunshinedoorsspecialists.com/home.html
moving side to side. I downloaded the action. do i need to upgrade to 5.5 or can i do it in 5.4.2


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Php file ending files cannot be previewed within Freeway.

You could probably use the scriptaculous for the sliding affect of the
referenced page:
http://www.softpress.com/products/greatfeatures/scriptaculous/

BTW:

  1. You need to name the form element items correctly, yours are all
    names ‘item1,item2 etc’. Select the form element items such as text
    fields etc. then put ‘name’ as the ‘Name’ of that element. Do the same
    for email and the other element items as none of them actually have a
    releative name.

  2. You seem to mixing two different form actions on the same form, if
    you want to use the Form Feedback action then remove all the easiForm
    actions or vice versa. You should not try and use two processes for
    sendng your forms, it needs to be one or the other. If using Form
    Feedback action you do not need to name the form file as a .php page.

HTH

On Jun 4, 2011, at 4:14 PM, Lesley Warren wrote:

Thanks mike B,

It worked when i uploaded it to my server. you are great. one
question? why does it not preview when i do a preview from my
layout. This is the link to my website http://www.csdesignmtl.com

is it possible to make my site look like
http://www.sunshinedoorsspecialists.com/home.html
moving side to side. I downloaded the action. do i need to upgrade
to 5.5 or can i do it in 5.4.2


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi all,
The below effect (on Softpress page) doesn’t appear in my Google Chrome 10.0.696.71 browser. I found that turning Ad Block extension v. 2.4.9 off allows it, but I have never notice this before.

My concern is that as Ad Block is a fairly popular extension,
a page viewer may never know there is content (NOT ads) being blocked or why. Again, I have never noticed this before, and my browser settings have not been changed recently.

Can show / hide action be modified to avoid this? I guess a gif box below the animation stating one is there might alert a viewer to missing legitimate content?

I also use FlashControl 2.2.0 but this extension allows me the option to turn on or off a Flash presentation, and has no affect on the animation. Perhaps the Ad Block developers need to be contacted…

Comments?

Frank

On Jun 4, 2011, at 7:33 AM, Mike B wrote:

Php file ending files cannot be previewed within Freeway.

You could probably use the scriptaculous for the sliding affect of the referenced page:
http://www.softpress.com/products/greatfeatures/scriptaculous/


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

downloaded the action. do i need to upgrade to 5.5 or can i do it in 5.4.2

Not sure which action you downloaded but I think that site uses Walter’s Carousel action which is part of Protaculous - http://www.actionsforge.com/projects/view/11-protaculous which works fine in 5.4.2

But you should update to FW 5.4.3 which addresses some bug fixes.

And to clarify - pages that contain php code (end in .php) require processing by software on the server which is not part of a standard install in Mac OSX - that is why you cannot preview except after uploading.

If you are using Tim’s PHP Feedback Form action then your page does NOT require the .php suffix and if you make it .html you will be able to preview it on your Mac.

The reason for this is that the PHPFF action creates the php code in a separate file which is uploaded to the server for you and is only used when the submit button is pressed.

Visit http://www.freewayactions.com/product.php?id=019 for instructions and notes on correct naming of the form elements.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options