user4513 Designer Dari New Zealand Anggota sejak Sep 2017 user4513 12 Sep 2017 00:58 I currently have... DirectoryIndex default.php index.php as site is under development all urls show as... domain.com/index.php/section-c-3/page-p-72 [which may be affecting routing as above] If i temporarily remove the DirectoryIndex rule and clear cache etc - still shows URL's as above. I notice on the demo site index.php is not there so it may something peculiar to this setup causing it. will play with it later. I suspect the old version modules I downloaded for testing caused the error - something in there caused a loop and regenerated the dummy/no photo/no path link - which then caused the missing image error and exposed the files. Hope that helps in some way... perhaps disable module downloads if they havent been updated to latest version?
tim Founder Dari Sweden Anggota sejak Mei 2013 tim 12 Sep 2017 11:03 It is uncommented by default because it tends to crash platforms that don't support overriding Options. Indexes is usually disabled by default in the industry. If /index.php/ is shown in the URL mod_rewrite is not enabled or LiteCart failed to identify mod rewrite support. If Options -Indexes has no effect make sure you configured Apache to allow overrides, or disable indexes in your main Apache config. See lib_route.inc.php line 206 and 216.
user4513 Designer Dari New Zealand Anggota sejak Sep 2017 user4513 13 Sep 2017 08:33 mod rewrite is enabled settings / SEO Links Enabled = True URL /index.php/equipment-c-4/buckles-packaging-p-22 settings / SEO links Enabled = False URL /index.php/equipment-c-4/buckles-packaging-p-22 ############# SO... setup clean install - in base folder - on bare domain SEO links = FALSE URL /index.php/en/testcat-c-1/ SEO links = TRUE URL /index.php/en/testcat-c-1/ ############# UPDATE or LiteCart failed to identify mod rewrite support. SetEnv HTTP_MOD_REWRITE On mod_env not working therefore maybe allow overrides not on
user4513 Designer Dari New Zealand Anggota sejak Sep 2017 user4513 13 Sep 2017 08:46 it maybe the above causing the following errors... System Cache Enabled = FALSE --- but cache still filling up SEO Links = FALSE - still attempting seo links
tim Founder Dari Sweden Anggota sejak Mei 2013 tim 14 Sep 2017 01:59 Submit a support ticket if you need any further help with this issue. https://www.litecart.net/support
user4513 Designer Dari New Zealand Anggota sejak Sep 2017 user4513 21 Sep 2017 04:48 or LiteCart failed to identify mod rewrite support. the problem is... SetEnv HTTP_MOD_REWRITE On phpFPM not setting environment Litecart mod_rewrite detection script doesnt work for fastCGI / phpFPM [changed litecart to] lib.route.php index.php removed 207 $use_rewrite = true;
tim Founder Dari Sweden Anggota sejak Mei 2013 tim 21 Sep 2017 15:45 Setting the environment variable is just one of many attempts to identify mod_rewrite. It also tries apache_get_modules(). I'm suprised all of them failed.
user4513 Designer Dari New Zealand Anggota sejak Sep 2017 user4513 22 Sep 2017 07:46 me too... checked your code - quite impressive... as above - changed lib.route.php $use_rewrite = true