zackyang000 / cms Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://zackyang.com
Home Page: http://zackyang.com
Username or password wrong.
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 warningclient/public/app/index/index.coffee
✖ line 15 Line contains a trailing semicolon
✖ 1 errorclient/public/common/directives/oDataPager.coffee
✖ line 16 Line contains a trailing semicolon
✖ 1 errorserver/odata/system/user.coffee
⚠ line 20 Debugger statements will cause warnings found 'DEBUGGER'
⚠ line 22 Debugger statements will cause warnings found 'DEBUGGER'
⚠ 2 warningsWarning: Task "coffeelint:app" failed. Use --force to continue.
Aborted due to warnings.
pc:~/ncms/CMS$ grunt --force
Running "build" task
Running "coffeelint:app" (coffeelint) taskclient/public/app/_framework/framework-HeadCtrl.coffee
⚠ line 11 Comprehensions must have parentheses around them
⚠ 1 warningclient/public/app/index/index.coffee
✖ line 15 Line contains a trailing semicolon
✖ 1 errorclient/public/common/directives/oDataPager.coffee
✖ line 16 Line contains a trailing semicolon
✖ 1 errorserver/odata/system/user.coffee
⚠ line 20 Debugger statements will cause warnings found 'DEBUGGER'
⚠ line 22 Debugger statements will cause warnings found 'DEBUGGER'
⚠ 2 warningsWarning: 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
/CMS/client/public/Common/ should be /CMS/client/public/common/
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 ContentRemote Address:127.0.0.1:30002
Request URL:http://localhost:30002/oData/articles/undefined
Request Method:GET
Status Code:404 Not Found
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?
I have 2 comments in first article (Test Article), but in counter I see "0 Comments"
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 ContentRemote 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:
How to edit gallery? How to upload images to gallery?
1s load frontend, 2-3s load admin-panel. It's normal?
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
server.use(bodyParser.json({limit: '100mb'}));
Not working.
When receiving large post request entity.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.