E
E
Evgenia2019-01-09 15:06:44
JavaScript
Evgenia, 2019-01-09 15:06:44

Why is the call tracking script not added to head in Smarty?

Good afternoon.
I can't add the call tracking function to the site. As soon as I insert the desired script into the tag head, the site stops opening, that is, in general - "File not found" and that's it. I installed the same script on another site written in yii2, and there were no problems, it works fine, but on this site it does not work with Smarty. What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor Smolsky, 2019-01-09
@Evgenia-M

It is necessary to enable errors in php and see what smarty swears at. If the script is not a file, it must be included in the {literal}{/literal} tags

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question