Silverstripe install.php can't find <mysite>

不羁的心 提交于 2019-12-11 15:24:03

问题


I have working SS v3.4 project locally. Now I want to deploy it. I've copied files to the server, run composer install to install vendor libraries. When I run install.php all requirements are fine except for missing mysite folder errors. That's intended because I renamed my project folder to let's say mydomain and it works fine on localhost. AFAIK SS should pick up the custom folder and recognise it as THE page folder. Somehow it doesn't happen. Any ideas why?


回答1:


This is expected, since the installer specifically looks for "mysite".

You probably have two options:

  • Rename app to mysite on the serve, re-run the installer then rename the folder back to app
  • Don't run the installer at all - if you configure your own _ss_environment.php file and ensure assets folder is writeable you shouldn't need it


来源:https://stackoverflow.com/questions/48810203/silverstripe-install-php-cant-find-mysite

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!