kirilkirkov / Ecommerce-CodeIgniter-Bootstrap

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

website only displays directory list #230

Closed topcat30 closed 2 years ago

topcat30 commented 2 years ago

website only displays directory list

kirilkirkov commented 2 years ago

Hello @topcat30 Did you have webserver (eg. apache or nginx), mod_rewrite eabled and php installed and enabled?

adiljay05 commented 2 years ago

@kirilkirkov Yes, Same issue with me. I have php 7.2 running on namecheap hosting.

adiljay05 commented 2 years ago

@kirilkirkov Yes, Same issue with me. I have php 7.2 running on namecheap hosting.

my domain is jawadadil.com with ssh enabled.

I'm giving the following line as base url. You can try visiting the URL. it will show you what I mean.

$config['base_url'] = defined('https://jawadadil.com/')?BASE_URL:'';

kirilkirkov commented 2 years ago

@adiljay05 When i open your website, i didn't see index.php file. This file will start your shop ready to use. Make sure to add the .htaccess file and index.php file in the root directory of the project. You can also download the platform directly from github as .zip file and then upload it into your server and extract the .zip file there. This will list all needed files.

kirilkirkov commented 2 years ago

For the domain - https://jawadadil.com/codeigniter/ you need to edit the $config['base_url'] to $config['base_url'] = 'https://jawadadil.com/codeigniter/';

kirilkirkov commented 2 years ago

Also check the github tutorial for the installation steps - https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap , there you can find how to install the online shop to directory and how to install it in the root directory : )