Code Monkey home page Code Monkey logo

cms's People

Contributors

bitdeli-chef avatar zackyang000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cms's Issues

Not building...

pc:~/ncms/CMS$ grunt

Running "build" task
Running "coffeelint:app" (coffeelint) task
client/public/app/_framework/framework-HeadCtrl.coffee
⚠ line 11 Comprehensions must have parentheses around them
⚠ 1 warning

client/public/app/index/index.coffee
✖ line 15 Line contains a trailing semicolon
✖ 1 error

client/public/common/directives/oDataPager.coffee
✖ line 16 Line contains a trailing semicolon
✖ 1 error

server/odata/system/user.coffee
⚠ line 20 Debugger statements will cause warnings found 'DEBUGGER'
⚠ line 22 Debugger statements will cause warnings found 'DEBUGGER'
⚠ 2 warnings

Warning: Task "coffeelint:app" failed. Use --force to continue.
Aborted due to warnings.

pc:~/ncms/CMS$ grunt --force

Running "build" task
Running "coffeelint:app" (coffeelint) task

client/public/app/_framework/framework-HeadCtrl.coffee
⚠ line 11 Comprehensions must have parentheses around them
⚠ 1 warning

client/public/app/index/index.coffee
✖ line 15 Line contains a trailing semicolon
✖ 1 error

client/public/common/directives/oDataPager.coffee
✖ line 16 Line contains a trailing semicolon
✖ 1 error

server/odata/system/user.coffee
⚠ line 20 Debugger statements will cause warnings found 'DEBUGGER'
⚠ line 22 Debugger statements will cause warnings found 'DEBUGGER'
⚠ 2 warnings

Warning: Task "coffeelint:app" failed. Used --force, continuing.

...
Nodemon start
...
events.js:72
throw er; // Unhandled 'error' event
^
Error: failed to connect to [localhost:27017]
at [object Object]. (/ncms/CMS/node_modules/node-odata/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:549:74)
at [object Object].EventEmitter.emit (events.js:106:17)
at [object Object]. (/ncms/CMS/node_modules/node-odata/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:> 150:15)
at [object Object].EventEmitter.emit (events.js:98:17)
at Socket. (/ncms/CMS/node_modules/node-odata/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection.js:533:1> 0)
at Socket.EventEmitter.emit (events.js:95:17)
at net.js:441:14
at process._tickDomainCallback (node.js:459:13)

[nodemon] app crashed - waiting for file changes before starting...

node --version

v0.10.25

bower --version

1.4.1

grunt --version

grunt-cli v0.1.13
grunt v0.4.5

Is it working or what?

  1. /CMS/client/public/Common/ should be /CMS/client/public/common/

  2. If I want to edit article:
    Why I can't edit article in admin panel?
    Why if I click edit in front-end (in article), it's open admin panel, but it's not load data?

I see 2 request in debug:

Remote Address:127.0.0.1:30002
Request URL:http://localhost:30002/oData/articles/undefined
Request Method:OPTIONS
Status Code:204 No Content

Remote Address:127.0.0.1:30002
Request URL:http://localhost:30002/oData/articles/undefined
Request Method:GET
Status Code:404 Not Found

  1. I think that in config.dev.coffee should be:
    img: 'localhost:30001' or img: 'localhost:30000' against img: 'localhost:30002'
    Or you use cache server for images?

  2. I have 2 comments in first article (Test Article), but in counter I see "0 Comments"

  3. If I try to add comment, but it's not working for me:

Remote Address:127.0.0.1:30002
Request URL:http://localhost:30002/oData/articles/add-comment
Request Method:OPTIONS
Status Code:204 No Content

Remote Address:127.0.0.1:30002
Request URL:http://localhost:30002/oData/articles/add-comment
Request Method:POST
Status Code:404 Not Found
Request Payload: {"author":{"name":"Administrator","email":null},"content":"dddd","date":"2015-05-08T10:

  1. How to edit gallery? How to upload images to gallery?

  2. 1s load frontend, 2-3s load admin-panel. It's normal?

Cannot create the database

Hi,

I have enabled to get lost packages and changed the DB connection to local in web config and when running it throughs this error :

An exception of type 'System.Data.Entity.Migrations.Infrastructure.AutomaticDataLossException' occurred in EntityFramework.dll but was not handled in user code

Additional information: Automatic migration was not applied because it would result in data loss.

Can you help please.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.