Jump to content
Larry Ullman's Book Forums
KeepLearning

Errors In Cms Download File: Initial Sql Commands (Second Edition)

Recommended Posts

When I tried to run the downloaded SQL commands in phpMyAdmin, various error messages appeared, stating that no author table exists. So I searched for all occurrences of the word "author" and replaced them with "user", except for this line:

 

  `type` enum('public','author','admin') NOT NULL,

 

Is this correct?

 

The file I downloaded is:

yiibook2_cms.sql.zip

 

Thanks.

Share this post


Link to post
Share on other sites

Sorry about that! I'll double-check what should be in there. I know I went back and forth because Yii 2 now uses a "user" table as a default class for authentication and I was trying to decide how problematic that would be.

  • Upvote 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...