Add listing not working after update

This topic contains 16 replies, has 3 voices, and was last updated by  Paolo 9 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #56589

    magnaromagna
    Expired Member
    Post count: 227

    Hi,
    after update to gd 1.5.3 and whoop! 1.02 I noticed that adding listing – from front user – not work anymore. After clicking on add listing and filling the fields I see two issues:
    1) the address field does not work properly: it never suggests right address, and map is not shown
    2) after clicking on Publish, it redirects to home page, and nothing is published (or post under drafts).
    Maybe some options changed after upgrade of core plugin?
    Thanks for help

    #56590

    magnaromagna
    Expired Member
    Post count: 227
    This reply has been marked as private.
    #56619

    Paolo
    Site Admin
    Post count: 31206

    HI,

    most of you add-ons are outdated.

    Please update them all to their latest version and let us know.

    Thanks

    #56620

    Paolo
    Site Admin
    Post count: 31206

    p.s. make sure your username and licence key are correct.

    If I change it to mine it flags the updates correctly.

    Thanks

    #56658

    magnaromagna
    Expired Member
    Post count: 227
    This reply has been marked as private.
    #56730

    Paolo
    Site Admin
    Post count: 31206

    Hi again,

    unlike I thought last night, I just double checked and it is actually not working with my credentials too.

    I’ve asked the developer to check what’s wrong.

    Thanks

    #56765

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    you have an outdated version of openssl on your server and that is breaking both auto updates and paypal (in case you are using it).

    Please ask to your server admin to update your server with the latest openssl. Read more here: https://wpgeodirectory.com/paypal-sha-256-compliance-and-what-it-means/

    Stiofan added 1 line of code to one of your addon so that you can update now, however the open ssl thing will break payments and future updates if not fixed.

    Thanks

    #56836

    magnaromagna
    Expired Member
    Post count: 227

    Hi, thanks for info.
    I tried to update but gives error, and I cannot report type of error because now all possible updates desappeared (I checked with download section, I have old versions of many plugins). Can you share the code that Stiofan added (I think is overwrited) so I can re-check and report the error?

    Moreover, about version of openssl, the hoster replied as follows:

    Per https://devblog.paypal.com/paypal-ssl-certificate-changes/ we’ve verified that CentOS5 and CentOS6 servers on our network contain the necessary certificate for Paypal payment processing. The “VeriSign Class 3 Public Primary Certification Authority – G5” certificate is included in the openssl-0.9.8e-36.0.1.el5_11 package on CentOS5 servers and in the ca-certificates-2015.2.4-65.0.1.el6_6.noarch package on CentOS 6 servers.

    While we do not expect you to have any issues, we recommend you test your installation per the email you received. Unfortunately, as there are so many different implementations of the paypal merchant code, I can not help guide you through this process. I was able to find the below on paypal’s site, which may help.

    —————————
    Q. How do I know if my integration is affected?

    We are making changes to the Sandbox environments prior to any Live changes, so you can verify your integration against the Sandbox. If you see these or similar error messages in the Sandbox environment, you will need to update your integration before we make changes to our Live environment (per the timeline above).

    %u201CUnable to find valid certification path to requested target%u201D
    %u201CSSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled%u201D
    %u201Calert handshake failure%u201D
    %u201CProblem with the SSL CA cert (path? access rights?)%u201D
    —————————
    ref: https://www.paypal-knowledge.com/infocenter/index?page=content&widgetview=true&id=FAQ1766&viewlocale=en_US&direct=en#Testing_Schedule

    What I can say? Thanks

    #56840

    magnaromagna
    Expired Member
    Post count: 227

    p.s. I don’t know if Stiofan is working on, I see again updated available, so I tried to update one of them and received this error:

    Error while updating GeoDirectory Location Manager: Login details for GeoDirectory failed! Please check GeoDirectory>Auto Updates and that your membership is active. SSL: no alternative certificate subject name matches target host name ‘wpgeodirectory.com’

    I double check my credentials, that are in previous post. Thanks

    Now I updated only this plugin in manual mode because I have to check another issue, there are other many plugins to update.

    #56860

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    The version of openssl you have on your server is from 2008 and did not have the required setting active by default but needed to have it switched on for the paypal to work so your host could be right. It is still an old version and has problems validating our SSL for our server.

    Also your server environment seems old, it barely passes the version of PHP that will run WordPress, you are running 5.3 and wordpress recommends 5.6+

    Thanks,

    Stiofan

    #56879

    magnaromagna
    Expired Member
    Post count: 227
    This reply has been marked as private.
    #56889

    Paolo
    Site Admin
    Post count: 31206
    This reply has been marked as private.
    #56890

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi to get updates to work do this…
    Find you least alphabetically GD addon, usually Advanced search, edit the gd_updates.php file and change the function from:

    
    
    function gd_prepare_request($action, $args)
        {
            global $wp_version;
    
            return array(
                'body' => array(
                    'action' => $action,
                    'request' => serialize($args),
                    'api-key' => md5(get_bloginfo('url'))
                ),
                'user-agent' => 'WordPress/' . $wp_version . '; ' . get_bloginfo('url'),
            );
        }

    to:

    
    
    function gd_prepare_request($action, $args)
        {
            global $wp_version;
    
            return array(
                'body' => array(
                    'action' => $action,
                    'request' => serialize($args),
                    'api-key' => md5(get_bloginfo('url'))
                ),
                'user-agent' => 'WordPress/' . $wp_version . '; ' . get_bloginfo('url'),
                'sslverify' => false // this is needed for old old servers
            );
        }

    Now go to dashboard>updates and update all apart from advanced search, then update advanced search last (and replace that function again if you want to update in future.

    Thanks,

    Stiofan

    #57515

    magnaromagna
    Expired Member
    Post count: 227

    Thank you for help, I was able to update (manually) and add code to see when are available new updates. Fixed several bugs, except this one:

    Aadding listing – from front user – not works (works only by adding listing through wp admin). If I click on Add Listing through public front end, fill fields, continue to check data added, and after clicking on Publish, it redirects to home page, and nothing is published (or post under drafts).

    Thanks

    #57571

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    please disable CLoudFlare Ricketloader option. It is not compatible with GD.

    Let us know if that was the culprit.

    Thanks

Viewing 15 posts - 1 through 15 (of 17 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount