V
V
Vadim Timoshenko2019-01-15 15:31:12
1C-Bitrix
Vadim Timoshenko, 2019-01-15 15:31:12

Products are not displayed in the 1C-Bitrix catalog, why?

I bought and installed 1C-Bitrix Start + ASPRO Construction Template ( https://stroy.aspro-demo.ru/).
Installed NGINX+PHP-FPM+MySQL server on VDS.
But the goods do not appear in the "Catalog" section ( https://www.kamen-skazka.ru/catalog/bruschatka/). The Catalog component itself does not appear in admin mode. I can't see the settings for this component.
There are goods on the site and they are displayed correctly in other blocks. Just like on the demo site.
What could I have done wrong if I did not make any changes other than the installation?
Maybe PHP or NGINX settings can play a role? When installing Bitrix, I fulfilled all the conditions.
UPDATE:
After asking tech support, here is the response:

During diagnostics, we found out that the server does not process the .htaccess file
Contact technical support to enable .htaccess processing

All right. I'm using NGINX so .htaccess is not parsed.
I looked at NGINX configs for Bitrix. Can't set up. Apparently I don't add any of my own parameters.
In general, NINGX works correctly, sort of. But something from .htaccess is not in my config. Tell me what location should be registered based on my .htaccess:
Options -Indexes 
ErrorDocument 404 /404.php

<IfModule mod_php5.c>
  php_flag session.use_trans_sid off
  #php_flag default_charset UTF-8
  #php_value display_errors 1
</IfModule>

<IfModule mod_php7.c>
  php_flag session.use_trans_sid off
  #php_flag default_charset UTF-8
  #php_value display_errors 1
</IfModule>

<IfModule mod_rewrite.c>
  Options +FollowSymLinks
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-l
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !/bitrix/urlrewrite.php$
  RewriteRule ^(.*)$ /bitrix/urlrewrite.php [L]
  RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

<IfModule mod_dir.c>
  DirectoryIndex index.php index.html
</IfModule>

<IfModule mod_expires.c>
  ExpiresActive on
  ExpiresByType image/jpeg "access plus 3 day"
  ExpiresByType image/gif "access plus 3 day"
  ExpiresByType image/png "access plus 3 day"
  ExpiresByType text/css "access plus 3 day"
  ExpiresByType application/javascript "access plus 3 day"  
</IfModule>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Bespalov, 2019-01-15
@FreeArcher

I didn’t understand something, in the Start edition there is no online store, no product catalog ...
And where in other blocks do you display products?
Either you write wrong, or you misunderstood something. Specify the Bitrix edition nevertheless.

J
Julia Bedrosova, 2019-01-16
@Bedrosova

If you have just bought Aspro Stroyka, you can contact Aspro technical support - they will help you with this problem for free.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question