dtkp51520 2016-11-11 04:58
浏览 10

Silverstripe:dev / build适用于本地,但不适用于外部域

I have a Silverstripe project that's working fine on my local. I can run dev/build/?flush=all and the database builds correctly. No errors in the PHP logs or anything. The site is in Dev mode. No problems appearing locally.

I've made a copy of the project and uploaded it to the live/test domain. This is what I have done to move the project to the external domain:

  • Compressed the project
  • Uploaded & extracted to root directory of domain (i.e. http:// www.project.com/(silverstripe folders like mysite, assets, etc. reside here)/"
  • Updated htaccess so the rewrite base is: "/"
  • Updated _config file to reflect new MySQL Server, user, pass, and database.
  • Tried to run dev/build/?flush=all but the build stops half way through...

When I say it stops half way through, what I mean is this is the output:

Creating database tables
File
Folder
Image
Image_Cached
Group
LoginAttempt
Member
MemberPassword
Permission
PermissionRole
PermissionRoleCode
MemberProfileField
StaffMember
Block
ContentBlock
ContactBlock
GoogleMap
Grid
GridV2
IconTitleText
ImageBanner
ImageSlideshow
InstagramFeed
LatestBlogPosts
Separator
TextHTML
BlockSet
BlogCategory
BlogTag
SiteTree
Page

and then it stops...

On my local, the table that builds after "Page" is "MemberProfilePage".

I am guessing this means there's a problem with the "MemberProfilePage" table? However, since there's no errors locally, I have no way of finding out what's causing the problem... that is, until one of you wonderful people points me in the right direction!

Could someone advise the best way to figure out what's going wrong?

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 r包runway详细安装教程
    • ¥15 Html中读取Json文件中数据并制作表格
    • ¥15 谁有RH342练习环境
    • ¥15 STM32F407 DMA中断问题
    • ¥15 uniapp连接阿里云无法发布消息和订阅
    • ¥25 麦当劳点餐系统代码纠错
    • ¥15 轮班监督委员会问题。
    • ¥20 关于变压器的具体案例分析
    • ¥15 生成的QRCode圖片加上下載按鈕
    • ¥15 板材切割优化算法,数学建模,python,lingo