BusProject / SalsaPress

SalsaPress connects WordPress to Salsa. Developed by the Bus Federation and Bus Project.
http://wordpress.org/extend/plugins/salsa-press/
8 stars 2 forks source link

Event Link Not Opening #37

Closed lmhansen closed 10 years ago

lmhansen commented 10 years ago

Hi-

When I embed an event into a page, it renders an invalid URL: "https://http//salsa4.salsalabs.com..."

I tried to go through the code and figure it out, but I am clueless. It looks like it's trying to switch from http-->https, and is not being completed due to a missing ":" in the http part. I don't even know where to begin to look for this. Everything is good on the back end of the website, though, and the plugin works for forms and petitions. Thoughts?

mojowen commented 10 years ago

https://github.com/BusProject/SalsaPress/blob/1f3874508f1c2deb8b7d783fa066f0236728f061/admin/admin_menu.php#L73

Is where the replacement is made - it checks for http and appends it to the base URL if it can't find it.

  1. Are you using the latest version of SalsaPress (from github - not WordPress)
  2. When you visit the admin page - what does it show for your base URL on the configuration page?
lmhansen commented 10 years ago

I do have the latest version (from github). When you say the admin page, are you referring to salsa? If so, the base is salsa4.salsalabs.com. Here’s the URL where the event is messing up: http://gaspgroup.org/event/toxic-city-encore.

I don’t have any trouble with forms or petitions, though.

Michael Hansen PR Strategist and Co-Founder, Mud Pie Creative Lab Cell: 205.285.7170 Email: michael@mudpiecreativelab.com Twitter: @MudPieLab

On Jul 9, 2014, at 2:03 PM, Scott Duncombe notifications@github.com wrote:

https://github.com/BusProject/SalsaPress/blob/1f3874508f1c2deb8b7d783fa066f0236728f061/admin/admin_menu.php#L73

Is where the replacement is made - it checks for http and appends it to the base URL if it can't find it.

Are you using the latest version of SalsaPress (from github - not WordPress) When you visit the admin page - what does it show for your base URL on the configuration page? — Reply to this email directly or view it on GitHub.

mojowen commented 10 years ago

I mean the page in your WordPress page: http://gaspgroup.org/wp-admin/admin.php?page=salsa

lmhansen commented 10 years ago

Ah. Well, the same thing (salsa4.salsalabs.com).

Michael Hansen PR Strategist and Co-Founder, Mud Pie Creative Lab Cell: 205.285.7170 Email: michael@mudpiecreativelab.com Twitter: @MudPieLab

On Jul 9, 2014, at 3:50 PM, Scott Duncombe notifications@github.com wrote:

I mean the page in your WordPress page: http://gaspgroup.org/wp-admin/admin.php?page=salsa — Reply to this email directly or view it on GitHub.

mojowen commented 10 years ago

5b9e9446ee17cf85c6de0fccdd6917fb04c7f09d should resolve things

lmhansen commented 10 years ago

Brilliant — that worked! Thanks a ton!

Michael Hansen PR Strategist and Co-Founder, Mud Pie Creative Lab Cell: 205.285.7170 Email: michael@mudpiecreativelab.com Twitter: @MudPieLab

On Jul 9, 2014, at 3:56 PM, Scott Duncombe notifications@github.com wrote:

5b9e9446ee17cf85c6de0fccdd6917fb04c7f09d

mojowen commented 10 years ago

Good stuff