• Resolved bluejay44

    (@bluejay44)


    Hello Mike, I spoke to my hosting provider and they said they are using php 5.5 is that recent enough to work with contact form db?

    I ask bc whenever I click options it gives me this code:

    Parse error: syntax error, unexpected T_FUNCTION in /hsphere/local/home/bbbmtvc/timeforyourcomeback.com/wordpress/wp-content/plugins/contact-form-7-to-database-extension/CFDBViewOptions.php on line 81

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    PHP 5.5 is fine. Even upgrading to 5.3 will fix this error.

    Go to the CFDB Options page, System tab. What PHP version does it say your site is running?

    Thread Starter bluejay44

    (@bluejay44)

    Hey Michael! in my wordpress back office on the left side of the page it has a bunch of different tabs going down the side. underneath the Cfdb tab are the tabs for “shortcode” and “options” is that the options you’re talking about going to? because if so when I click it it gives me that message or code that I pasted above.

    is there a different options tab you’re referring to ?

    Thread Starter bluejay44

    (@bluejay44)

    does it matter that I haven’t actually built a website yet? the website is timeforyourcomeback.com

    Plugin Author Michael Simpson

    (@msimpson)

    Sorry, I’m being stupid. If you aren’t running PHP 5.3 or better, you can’t see the PHP version on that page!

    I am 99.99999% sure that the reason you are seeing that T_FUNCTION error is that you are running less than PHP 5.3 on you site.

    Create a file at the top of your website called “phpinfo.php“. Put this in it:

    <?php
    phpinfo();
    

    Navigate to that file in your browser. Search the page for PHP Version.

    Thread Starter bluejay44

    (@bluejay44)

    Hey Mike that was indeed the issue! For some reason the first time I asked my webhost provider what version of php I had on my website they said 5.5, when I called back after reading your last message they confessed it was version 5.2 and they upgraded me to 5.5 and now options is working fine!! thank you!!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘getting error code when i click on options’ is closed to new replies.