Site exchange for Bitrix and 1C: solving the main problems
In this article, we have collected the main problems of exchange with 1s and simple checklists for solving them
The article will be useful to both 1C programmers and Bitrix developers.
The text is structured according to the principle: problem - solution options. If there is a specific task, then immediately click on the internal link.
Before proceeding to the descriptions, first check the site with Bitrix tests (system check and access rights check). About half of the problems disappear after that.
A standard agreement with counterparties is created, accessible to external users
The price type is selected in it.
The product has a price with this type of price
In the "selection and sorting" of the goods indicated this agreement in the field "prices"
If you have Bitrix Small Business, then the price type must be one
Sections are not unloaded
That is, the goods get to the site without sections
Options for reasons and solutions
Sections may contain required fields that cannot be received from 1c (for example, a photo). Then, during the exchange, a section will not be created due to an error
In Bitrix Small Business, more than one type of price can be configured in a download. In this case, the unloading will not take place due to the fact that prices are first unloaded, and then the structure of the partitions, and if the unloading returns an error in the price unloading, then the partitions will not load.
Photos not uploaded
In 1C, check that there are checkmarks to upload files and images
Press the button for forced exchange with pictures.
If it doesn’t help, then check: in the settings for exchanging with 1C, “Use ZIP” should be enabled on the side of the site, and the ZIP-module should be on the site.
In this case, the "maximum size of the uploaded file" should be less than post_max_size and upload_max_filesize in the server settings. Because if the photo does not fit the size of the limit on server loading, then splitting into several zip files can solve the problem
Properties are being set.
The same property comes 2 or more times.
The reason is that in 1c the properties are attached to the types of the item and if there are several, then several properties are created for the same And the same.
How to decide
In 1c, you need to create a property by copying the previous one and be sure to indicate that “attach this property to a new type of item”
Video example
502 or white screen
The site crashes with an error 502 or with an error exceeding the amount of allocated memory.
In the settings for exchanging with 1C on the site side, the time for one exchange step is 1 to 5 seconds
If this does not help, then conduct an exchange without pictures.
The exchange may not take place due to the fact that the site cannot cut the preview from a very large picture.
No character codes are created
Most likely mbstring is not configured on the server. Check the site with an internal Bitrix test.
Many 404 errors after sharing with the site
Most likely you have a tick “transliterate a character code from the name when updating the section”.
Because of this, when changing the name, the address also changes, which is very bad for SEO
Subsections move to the root of the site from the parent sections
Most likely this happens when exchanging in the “only changes” mode with the checkbox “Do not import the top level of the product group if it is the only one”
The list is updated as new problem areas are identified.
PS To keep abreast of new publications, follow me on Facebook .