Parse error: syntax error,...

User 2069308 Photo


Registered User
13 posts

Hi guys,

Here is what i get after uploading files to my server :

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /homepages/5/d206969111/htdocs/wsb4540982104/contact_form/fbapp/php/config.inc.php on line 21

Is this because of my PHP version ? Pretty sure i have 5.1.

Or is this because of file location on server ? ...

Please help

Thank you

Jason Savoie
User 103173 Photo


VP of Software Development
0 posts

If you've published/uploaded your form to your server and are testing it, you might see an error that looks similar to this when clicking the submit button:

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/content/w/f/p/wfp78207/html/temp/emailform/emailform/fbapp/php/formpage.cls.php on line 475

This means that your server does not meet the minimum server requirements. Most likely, your server is using an older version of PHP. You must have PHP 5.2 or higher installed. Contact your server administrator and ask them to update to the most recent version of PHP.

You can read more about minimum server requirements here.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2069308 Photo


Registered User
13 posts

Ok, thanks, fixed my php version to 5.2 ... now when i try it, i get prompted to download my contact_form.php ? .... in a yellow pop-up on top of my broswer ..

www.jsinformation.com/contact-us.html

??...

User 103173 Photo


VP of Software Development
0 posts

Jason Savoie wrote:
Ok, thanks, fixed my php version to 5.2 ... now when i try it, i get prompted to download my contact_form.php ? .... in a yellow pop-up on top of my broswer ..

www.jsinformation.com/contact-us.html

??...


PHP is no longer installed on your server. ;(

http://www.jsinformation.com/contact_fo … ertest.php

Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2069308 Photo


Registered User
13 posts

Ok, got it working. Made an error in my htaccess file.

Now, form seems to be working except the Captcha Key ....

Error : Input error: k: Format of site key was invalid

Any idea ? ..

User 103173 Photo


VP of Software Development
0 posts

Jason Savoie wrote:
Ok, got it working. Made an error in my htaccess file.

Now, form seems to be working except the Captcha Key ....

Error : Input error: k: Format of site key was invalid

Any idea ? ..


Awesome!

You are using an invalid Key on your form. See http://www.coffeecup.com/help/articles/ … s-invalid/
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2069308 Photo


Registered User
13 posts

Got it working Scott, thanks for all your helps and quick replies. Awesome software with awesome support !

Question : Is there anyway to remove the Header and Footer from the web form ? ....

User 103173 Photo


VP of Software Development
0 posts

Jason Savoie wrote:
Got it working Scott, thanks for all your helps and quick replies. Awesome software with awesome support !

Question : Is there anyway to remove the Header and Footer from the web form ? ....


You cannot remove them, but you can customize the height of them under the Properties Tab.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.