T
T
TinkyGO2020-12-04 10:49:05
1C-Bitrix
TinkyGO, 2020-12-04 10:49:05

Where are the bitrix component parameter settings?

I set up a component for a directory, and accidentally forgot to put a bracket in the main parameters of the section ID (or put an extra one). As a result, the entire site went down. on all pages:

Parse error: syntax error, unexpected '}', expecting ')' in /home/bitrix/www/index.php on line 178

Therefore, I cannot go back to the component parameters and fix the error. Can you tell me if these parameters are somewhere in the code? The admin is working.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-12-04
@TinkyGO

Certainly.
At you even in an error it is written where:/index.php
Go to the admin panel. Settings, content, site structure, files and folders.
5fc9eb5395592370696887.png
Open the file as PHP and fix the code.
And in general, changing the parameters of a component is better by changing the code and preferably by the editor.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question