R
R
ryzhak2014-09-16 14:36:19
Yii
ryzhak, 2014-09-16 14:36:19

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.
aee51bbca72940a4a148aac5d9351233.png
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

2 answer(s)
P
Papa, 2014-09-16
@ryzhak

symbolic link?

A
Alexey Likhachev, 2014-09-16
@Playbot

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 question

Ask a Question

731 491 924 answers to any question