Support

Home Forums Event Espresso Premium That URL seems to be broken. Please enter a valid URL

That URL seems to be broken. Please enter a valid URL

Posted: February 22, 2017 at 8:33 am

Viewing 15 reply threads


SubZeroie

February 22, 2017 at 8:33 am

Afternoon,

I have recently decided to host EE4 on its own dedicated WP platform on my hosting provider.

On the setting up of the new install, in the Payment setup, under PayPal and Stripe. When i go to add the URL’s for my site logo and the paypal logo, i keep getting “That URL seems to be broken. Please enter a valid URL”.

Can you please advise me how i can fix this with out using links to other logos in other forums i have read.

Thanks, Rob


Tony

  • Support Staff

February 22, 2017 at 9:04 am

Hi Rob,

Are the URL’s using HTTP or HTTPS?


SubZeroie

February 22, 2017 at 3:17 pm

Hi Tony, my URL’s are using HTTPS


Josh

  • Support Staff

February 22, 2017 at 3:25 pm

Hi Rob,

If you don’t want to use the links to other logos in other forum topics, then you can upload a logo image onto another server and use that URL. You can also try this solution outlined in this other topic:

The issue with the button urls was the Hotlink Protection set in CPanel. I had to check the box “Allow direct requests (for example, when you enter the URL of an image in a browser).”

You can also try adding the following code to your site to bypass the SSL check:

add_filter( 'FHEE__EEM_Payment_Method__verify_button_urls__button_urls_to_try', 'ee_dont_consider_ssl_button_urls' );
function ee_dont_consider_ssl_button_urls( $button_urls_to_try ) {
unset( $button_urls_to_try[ 'current_ssl' ] );
unset( $button_urls_to_try[ 'default_ssl' ] );
return $button_urls_to_try;
}

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.


SubZeroie

February 23, 2017 at 3:45 am

I tried your above recommendations and they both failed.

Is there any reason why i can not link to images on my own site now?

If i try link to my old site, which is also HTTPS, they seem to save with out any issues.

I can not understand why all of a sudden i can not link to images on the site i have installed EE4.


Tony

  • Support Staff

February 23, 2017 at 6:24 am

Is there any reason why i can not link to images on my own site now?

You mean outside of the payment method settings?

On the payment settings page EE check that the image can load when you save, some servers report that HTTPS connections are valid when they are not (which the above would fix)

If you can’t link to images outside of the payment settings then its not Event Espresso and likely points to an issue with the server.

What happens when you try to view the link to an image within your browser?


SubZeroie

February 23, 2017 at 8:10 am

So i have managed to link to images on other sites hosted on the same server also on HTTPS and they save fine with no errors, i have then also copied URL’s from other sites also on HTTPS and these also save fine.

But as soon as i try to link to an image on my own WP installation i am getting the above message.


Tony

  • Support Staff

February 23, 2017 at 8:35 am

Ok but what happens when you view the image (the one that fails) in your browser?


SubZeroie

February 23, 2017 at 8:50 am

Below are the 2 images i am trying to link, they appear fine in my browser and also on my mobile when i check from there.

https://www.courses.greenhillsarchery.com/wp-content/uploads/2017/02/Visa-Mastercard-Logo.jpg

https://www.courses.greenhillsarchery.com/wp-content/uploads/2017/02/paypal-express-checkout-logo.png


Josh

  • Support Staff

February 23, 2017 at 9:53 am

Hi there,

You can contact your host about this, they may be able to figure out why the server isn’t allowing those links to validate.


SubZeroie

February 23, 2017 at 2:57 pm

Hi Josh, on my other site, my main domain on the same server with the same host i did not have this issue.

It seems to be with the latest update on EE4 that this error is happening.

I moved EE4 from my maindomain to a sub domain, but i am using the latest version of EE4 on the subdomain, on my main doamin the version is older.

I dont see how my host would be able to resolve this?


Josh

  • Support Staff

February 23, 2017 at 3:38 pm

It’s not an issue with the latest update of EE4, if it were none of this would be working on our testing sites or anyone else’s sites for that matter.

I dont see how my host would be able to resolve this?

They may or may not be able to, but it does sound like you’ve found an important clue where it seems to make a difference if the image is hosted on the subdomain vs. the main domain.


SubZeroie

February 24, 2017 at 1:13 am

Honestly i did not even think of that. Sorry Josh, you could be right about that.

I will drop them a call later today and see if they might be able to help or point me in a direction at least.

I will keep you posted.


Tony

  • Support Staff

February 24, 2017 at 4:04 am

Another question whilst waiting for the host to respond, when you see the ‘That URL seems to be broken. Please enter a valid URL’ message, is that when you save the settings or as soon as you enter the URL into the field?


SubZeroie

February 24, 2017 at 5:58 am

Once i click save on the settings i am getting that error message.

I have spoken with my provider about 30min ago, and they were honestly no help, they had a look at the site and checked the logs and said there was nothing wrong with the service and said they never heard of this issue before, they said they would look into the service and account and see if they could spot anything.

I have had to resort to hosting the images i need on another site i manage on the same server also on HTTPS, these images are now saved correctly and i am getting the little thumbnails to show they are correctly saved.


Josh

  • Support Staff

February 24, 2017 at 8:24 am

It sounds like with the way the subdomain and server is set up you’ll need to server those images from the other site because as you’ve seen the image URLs hosted on the subdomain will not validate. I’m sorry that we couldn’t be of more help.

Viewing 15 reply threads

The support post ‘That URL seems to be broken. Please enter a valid URL’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso