support

localhost in Store URL causes unconfigured or unknown domain warning

Started by sharon, June 28, 2014, 02:45:36 PM

Previous topic - Next topic

sharon

I have set up my test system to be run locally and have set the Store URl in setting to be
http:/192.168.1.3/shop/
or
http:/localhost/shop/

The store works fine but I continually get the following entries in the error log

2014-06-28 19:21:37 - App Warning:  AbanteCart core v.1.1.9 Warning: Accessing store with unconfigured or unknown domain ( 192.168.1.3/shop/ ).
Check setting of your store domain URL in System Settings . Loading default store configuration for now. in /var/www/html/shop/core/lib/config.php on line 169

Reading other posts, it seems that this message is generated if the URL does not begin with www - is there a work around to prevent these warnings?

Thanks in advance

abantecart

Make sure you use only 1 URL to access your store. Add this URL in the setting -> general 
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Forum Rules Code of conduct
AbanteCart.com 2010 -