WordPress.org

Forums

Gravity Forms Highrise Add-on
[resolved] trailing slash (2 posts)

  1. sboisvert
    Member
    Posted 3 years ago #

    leaving a trailing slash will tell you that the API connection works but won't let you upload contacts. The best way to solve this I found it to change the code in the various functions in HighriseAPI from
    $curl = curl_init($this->highrise_url.'
    to
    $curl = curl_init(untrailingslashit($this->highrise_url).'
    so that the trailing slash is removed no matter what. this is in every function on that page.

    http://wordpress.org/extend/plugins/gravity-forms-highrise/

  2. Zack Katz
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks for the bug report. I have fixed this issue, and also found others because of your report.

    It turns out that the file upload functionality was completely messed up, not just for the url path. I've re-written that section, and it now works for blogs in sub-directories and points to the proper path.

    So, thanks for alerting me to this issue. It's fixed in (newly-released) version 2.3.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Gravity Forms Highrise Add-on
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic