Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-1251

roller.weblogentry table doesn't exists - apache-roller-2.3 - mysql/createdb.sql

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 3.0
    • None
    • OS: debian-31r3-i386 Virtualized on Parallels Desktop
      MySQL: mysql-server-5.0_5.0.21 i386
      hibernate-3.1.2
    • --
    • mysql-server-5.0_5.0.21 i386
    • jdk-1_5_0_09-linux-i586
    • 0 - I've posted the solution, just modify the db script.
    • debian-31r3-i386

    Description

      The db script called createdb.sql placed under $ROLLER/WEB-INF/dbscripts/mysql/createdb.sql doesn't create the db table called weblogentry avoiding roller users to create entryes.

      CAUSE:
      create table weblogentry (
      .....
      tableattribute....
      ......
      content_src varchar(512) default null
      );

      SHOULD BE CHANGED IN ( content_src varchar(255) default null OR content_src text default null):
      eg.:
      create table weblogentry (
      .....
      tableattribute....
      ......
      content_src varchar(255) default null
      );

      because of the ERROR:

      "ERROR 1074: Too big column length for column 'content_src' (mac = 255). Use BLOB instead"

      produced silently by MySQL during the db creation.

      Attachments

        Activity

          People

            djohnson David Johnson
            skunk Guido Angelo Ingenito
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: