Jump to:

23453 Posts in 18902 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » debugging dev/build errors - FIXED

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1443 Views
  • wildflower1975
    Avatar
    Community Member
    59 Posts

    debugging dev/build errors - FIXED Link to this post

    Hi

    I've installed the skyscraper widget on my local machine without issue but when I copy it to the live server, I'm having trouble with the dev/build command not completing.

    Building database SS_chd using MySQL 5.0.51a-24+lenny5

    Creating database tables
    PageComment
    SiteConfig
    SiteTree
    Email_BounceRecord
    QueuedEmail
    File
    Group
    LoginAttempt
    Member
    MemberPassword
    Permission
    PermissionRole
    PermissionRoleCode
    Widget
    Field Widget.ClassName: changed to enum('Widget','SkyscraperWidget') character set utf8 collate utf8_general_ci default 'Widget' (from enum('Widget') character set utf8 collate utf8_general_ci default 'Widget')
    WidgetArea
    Page
    ErrorPage
    RedirectorPage
    VirtualPage
    Image
    Folder
    Image_Cached
    SkyscraperWidget
    Table SkyscraperWidget: created
    Field SkyscraperWidget.ID: created as int(11) not null auto_increment
    Field SkyscraperWidget.Adcode1: created as mediumtext character set utf8 collate utf8_general_ci
    Field SkyscraperWidget.Adcode2: created as mediumtext character set utf8 collate utf8_general_ci
    Field SkyscraperWidget.Adcode3: created as mediumtext character set utf8 collate utf8_general_ci
    Field SkyscraperWidget.OnlyThis: created as int(11) not null default 0

    here it shows the default assets/error-500.html page appended to the oputput

    My Apache error log just says
    [debug] mod_deflate.c(615): [client 119.63.196.52] Zlib: Compressed 4587 to 1800 : URL /sapphire/main.php
    which doesn't help much and is dated 5 minutes ago, not from when I ran dev/build

    UPDATE
    on this page
    http://doc.silverstripe.org/sapphire/en/topics/debugging

    it says to put the site in dev mode by putting

    Director::set_environment_type("dev");

    in your mysite/_config.php

    Now that I'm in forced dev mode, I get a helpful verbose error message - the problem is to do with ALTER permissions for my MySQL database user.

    1443 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.