Answer the question
In order to leave comments, you need to log in
Why doesn't yii create files in the assets folder?
In general, I'm trying to transfer a site to yii1 from a local server to a production server, and for some reason yii wants to create files in the assets folder.
Instead, it creates some empty files of several bytes each, that is, it is clear that it is trying to create, but cannot.
Rights on the assets folder 755, owner and group www-data.
Through the command line on the server, files are normally created in the assets folder.
Tell me what to do, where to dig?
Thanks in advance
UPD:
set linksAssets to false in assetManager and it worked
'assetManager' => array(
'class' => 'CAssetManager',
'linkAssets' => false,
'basePath' => '/mysite.ru/assets/',
'baseUrl' => '/assets',
),
Answer the question
In order to leave comments, you need to log in
How much RAM is allocated to the site? if a couple of megabytes, then the script simply cannot be executed
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question