I accidentally deleted the assets folder.
When i try to run my project, i see this message:
Failed to load resource: the server responded with a status of 404 (Not Found)
What’s the solution?
Does this request come from the code: Yii::app()->clientScript->registerCoreScript("jquery") ?
How can i restore my project?
I think yii will generate the assets folder automatically.
if the assets folder doesn’t exist, you have to create the folder. Yii create the folder content but not the folder.
Make sure the directory exists and is writable by the Web Server .
Thank you for the quick reply.
The folder exists. There is problem with the content.
Scripts are requested but there haven’t been generated by Yii.
Strange, check again if web server have write permissions on the folder.
And check http://www.yiiframework.com/wiki/148/understanding-assets/
Right now I’m also fetch same problem can any one help me
Hi Sajib and Leo
Did you reproduce this issue on localhost server?
If there is no problem in this case then you have to check the permissions folder or other Server configurations