Hi AALPA!
This problem is caused by the fact that you are missing a record with name "clean_url_flag" in xc_config table of your X-Cart.
Our support team can help you to fix the problem and find its origin. Just drop us a message at
support@x-cart.com