m.dhouibi 1 Posted May 12, 2015 Report Share Posted May 12, 2015 Hello ,When I try to configure the mail server on : http://localhost/x2/x2engine/index.php/admin/emailSetup, I always get this error : External / Public Base URL is not a valid URL Advise please.Thanks. Quote Link to post Share on other sites
X2Derek 66 Posted May 13, 2015 Report Share Posted May 13, 2015 Hi m.dhouibi, I assume that you're trying to set the public base URI, but can't because the base URL fails validation. Is that correct? Unfortunately, if you're hosted locally, the base URL field auto-populates with "http://localhost"which isn't valid. We'll fix this for our next release. In the meantime, if you wanted to set the public base URI, a workaround would be to clear the base URL field before saving. Derek 1 Quote Link to post Share on other sites
gomathi 0 Posted February 11, 2016 Report Share Posted February 11, 2016 Hi I am also can't configure email settings in the project.Its not possible to set up in localhost ? How can i configure in localhost? Thanks Quote Link to post Share on other sites
X2Raymond 164 Posted February 11, 2016 Report Share Posted February 11, 2016 This validation is currently rejecting 'localhost' based on the default regex pattern for Yii's CUrlValidator, which requires the top level domain to be specified. 'localhost' is also an invalid entry for the external base URL, as it is used in rendering links for external facing resources and the links rendered will never work for anyone who receives them, instead resolving to their localhost. However, while you are configuring your email settings, you can temporarily set the external base URL to 127.0.0.1, but once you are ready for production, I'd recommend ensuring your external base URL is set to a publicly accessible domain. Raymond Quote Link to post Share on other sites
gomathi 0 Posted February 15, 2016 Report Share Posted February 15, 2016 Thanks .Its working after configuring the External base url with IP Address. Quote Link to post Share on other sites
belqes 0 Posted May 7, 2021 Report Share Posted May 7, 2021 Hello, I need help I am getting the same error when i try to click on "Save" error is" Please fix the following input errors: External / Public Base URL is not a valid URL. , There is no field for base URL in this form how can i fix it?? please help me ASAP. Thank you, Belqes Quote Link to post Share on other sites
jack 30 Posted May 17, 2021 Report Share Posted May 17, 2021 Hello, You can find the base url under admin->System Settings->Public Info Settings -Jack Quote Link to post Share on other sites
jibeta281 0 Posted April 18 Report Share Posted April 18 while you are configuring your email settings, you can temporarily set the external base URL to 127.0.0.1, but once you are ready for production, I'd recommend ensuring your external base URL is set to a publicly accessible domain. ppsspp gold apk pikashow apk Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.