Viewing 15 replies - 1 through 15 (of 16 total)
  • I am getting following error when I go to <a href=”http://atahouston.org/single-membership-registration
    “>http://atahouston.org/single-membership-registration

    The problem is that these URLs begin with http Now that you have moved to SSL, they must begin instead with https

    Thread Starter ecullu

    (@ecullu)

    Event I go to the https://atahouston.org/single-membership-registration

    I get the same error.

    Thread Starter ecullu

    (@ecullu)

    my custom field on s2member pro form is like below:

    [s2Member-Pro-PayPal-Form level="2" ccaps="" desc=" Days @ $50 / then $50 / Yearly (recurring charge, for ongoing access)" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="https://atahouston.org"

    How could this error is related to ezphp plugin ?

    Thank you!

    Hmm, that is strange. I suggest that you find ezPHP in your plugins list, and click edit. You should now be on a page headed Editing ezphp/ezphp.php

    Does the beginning of the file itself look like this?

    <?php
    /*
    Version: 150214
    Text Domain: ezphp
    Plugin Name: ezPHP
    
    Author URI: http://www.websharks-inc.com/
    Author: WebSharks, Inc. (Jason Caldwell)
    
    Plugin URI: http://www.websharks-inc.com/product/ezphp/
    Description: Evaluates PHP tags in Posts (of any kind, including Pages); and in text widgets. Very lightweight; plus it supports <code>[php][/php]</code> shortcodes!
    */

    Thread Starter ecullu

    (@ecullu)

    Yes I just checked it, please see below:

    <?php
    /*
    Version: 150214
    Text Domain: ezphp
    Plugin Name: ezPHP
    
    Author URI: http://www.websharks-inc.com/
    Author: WebSharks, Inc. (Jason Caldwell)
    
    Plugin URI: http://www.websharks-inc.com/product/ezphp/
    Description: Evaluates PHP tags in Posts (of any kind, including Pages); and in text widgets. Very lightweight; plus it supports <code>[php][/php]</code> shortcodes!
    */

    It throws error on line 11 but I couldn’t figure it out (eval()’d code on line 11)

    Thank you for your help!

    Now I’m very confused! The error message you are getting is saying that there is an unexpected ; on line 11 of that file. Well, line 11 is the one that reads:

    Description: Evaluates PHP tags in Posts (of any kind, including Pages); and in text widgets. Very lightweight; plus it supports <code>[php][/php]</code> shortcodes!

    While this does have two instances of ;, it shouldn’t be possible for them to cause a problem because they are between the /* and */

    What I’d try doing is deactivate ezPHP, delete both instances of ; from that line and re-save the file. Then reactivate ezPHP and see if it works then.

    Thread Starter ecullu

    (@ecullu)

    I also got with my hosting company to solve this issue. Below is their answer:

    Looking at the official documentation of the ezphp plugin, it appears that it is reported to be compatible only with WordPress Compatible up to: 4.2-alpha, while you are currently running on WordPress 4.3, which has quite a number of changes made in the syntax structure. Thus I believe that the reason for the error message is simply due to incompatibility between the ezphp plugin and your current version of WordPress. I would personally recommend contacting the plugin developer to check for a new version for the plugin or any changes that might be needed to the syntax in order to make it work with the new WordPress version.

    However, ezphp is a lightweight plugin so I don’t think it has an incompatibility between the ezphp plugin and my current version of WordPress.

    I’ll try your solution.

    Thank you!

    Thread Starter ecullu

    (@ecullu)

    Hi KTS915,

    I tried to deactivate ezPHP, delete both instances of ; from that line and re-save the file. Then reactivate ezPHP but it doesn’t work.

    any other suggestions ?

    By the way I have 6 registration forms and some of the displays the form. (they still give another error though)

    https://atahouston.org/become-a-member

    Thread Starter ecullu

    (@ecullu)

    Is ezPHP fully compatible with WP 4.3 ?

    @ecullu,

    I certainly have no problems using ezPHP with WP 4.3. I’d never pay any attention to the box in the top-right corner of the wordpress.org pages saying the version with which a plugin is compatible. If the plugin works fine, the developer might not have any reason to update it for months or even years. It’s only if the developer says expressly somewhere that you need version X that you need to take notice.

    This is a very strange error because the message you’re getting says the problem lies with something that can’t be the problem (because it’s between the symbols I mentioned and therefore “commented out”).

    So the true problem must lie elsewhere. I’d first double-check every instance where you have put php code on a post or page, in case it’s a simple typo.

    If no, then you’ll need to check for a theme or plugin conflict.

    Thread Starter ecullu

    (@ecullu)

    Thanks for the reply.

    I double-checked the code but looks good. Do you see any “;” typo ?

    [php]
    // Change these to the date you want the annual cycle to officially start
    $cycle_start_year = date('Y') +1; // Always use the current year
    $cycle_start_month = '1';
    $cycle_start_day = '1';
    
    $cdate = mktime(0, 0, 0, $cycle_start_month, $cycle_start_day, $cycle_start_year);
    $today = time();
    $difference = $cdate - $today;
    if ($difference < 0) { $difference = 0; }
    $trial_days = floor($difference/60/60/24); // Calculated number of days until yearly cycle should start
    [/php]

    I have not installed any theme update or plugin. It started after SSL certificate is installed.

    Thread Starter ecullu

    (@ecullu)

    Do you think reinstalling ezPHP plugin helps ?

    Thank you!

    Reinstalling might be worth a go. To be honest, I would also check for a conflict. I know what you said about the problem only appearing after adding the SSL certificate, but I’m really out of ideas so I’d check everything.

    The only other thing I can think of is talking to your host again to make sure that the SSL is set up correctly.

    Hi @ecullu,

    Try to remark your code row by row, and check at which row you will not get this error. Code maybe will produce different errors, but you look only for “that” one – we hunt for it. This way you will have better understanding where the problem comes from.

    Also I would use “floor($difference/(60*60*24))” at the last row.

    Yet also, endure that your code runs well in “pure PHP” first, before to give it to the plugin.

    Hope that helps.

    Thread Starter ecullu

    (@ecullu)

    Thanks for advice krumch!

    I don’t think it is related to Php code. Since it started after SSL installation, I am going to revert SSL and try again.

    I think there is a conflict between SSL and ezPhP/s2member pro forms.

    Thanks!

Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘pro form error after SSL installation’ is closed to new replies.