kirilkirkov / Ecommerce-CodeIgniter-Bootstrap

Responsive, Multi-Vendor, MultiLanguage Online Store Platform (shopping cart solution)
MIT License
1.26k stars 942 forks source link

Cannot load CSS and JavaScript files #231

Closed adiljay05 closed 2 years ago

adiljay05 commented 2 years ago

CSS and Javascript files are not found, I was able to run the application, But due to the lack of the files, the view is not making any sense. Here's the image from console.

image

Here's the image of my webpage.

image
kirilkirkov commented 2 years ago

@adiljay05 Please follow the instructions from the readme.md file - https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap

Little explanation about the installation - if you paste installation of project in directory something like http://localhost/SHOP, you must set this directory to application/config/config.php - $config['base_url'] = 'http://localhost/SHOP'; and must remove from .htaccess file "RewriteBase /" line because css and js files will not be loaded! But you must know that the best way to install this platform is to set it in root http://localhost/ directory or if you want to be in other directory just set virtual host for this and point him to there. (example: http://shop.dev/ - point to localhost/shop directory). How to create virtual hosts you can read here: http://goo.gl/UvpYMG