Posted: November 24, 2015 at 3:44 pm
I am about to launch my site live and before doing so I activated a couple Payment Methods and when I click update payment method button, it returns an error of “That URL seems to be broken. Please enter a valid URL”. I also notice that none of the images show up when I click on Download PDF from the Invoice option. The paths are valid. I see some posts that people have had the button url issue before as well but I have not come across any posts that had a fix. Also, I cant just change the link in the payment method to a local image cause it appears to do it for many (i.e. the images on the downloaded pdf) and I do not want to have to go through all of the code/templates looking for image references. 🙂 Thoughts on how to resolve this? Thanks in advance. |
|
Hi Maceo, Those are actually likely to be two separate issues. The Invoice and Receipt images are run through DOMPDF which requires allow_url_fopen to be enabled on your server. If the images show on the preview page before downloading the PDF, but then not on the PDF itself it is very liekly that allow_url_fopen is disabled on your server, you will need to contact your host and have them enable it the PDF’s to work correctly. The Payment Method URL’s are done differently and use cURL, are you using HTTPS on the site? If not are the images attempting to connect of HTTPS whilst the site is HTTP? (or vise versa) Its possible your server configuration is preventing EE from verifying those URL’s, in which case have some alternative image URl’s you can use here: Invoice PayPal Credit Card |
|
Thanks Tony, I think I corrected the issue with the button urls but will need to check into the pdf as you spoke of. 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).” I will check back in on the PDF issue. Thanks |
|
It appears checking that box fixes both issues. |
|
The support post ‘Image URLs Broken’ 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.