Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 500 on "Not enough coins to buy a plot." #56

Open
Bersam opened this issue Jul 11, 2013 · 0 comments
Open

Error 500 on "Not enough coins to buy a plot." #56

Bersam opened this issue Jul 11, 2013 · 0 comments

Comments

@Bersam
Copy link

Bersam commented Jul 11, 2013

Reproduce Bug:
on this page, https://openfarmgame.com/buy-plot
when you don't have enough coin to buy a new plot, it raise Internal Server Error, 500!

Firebug:
"NetworkError: 500 Internal Server Error - https://openfarmgame.com/buy-plot"

Output HTML:
Express
500 Error: Not enough coins to buy a plot.

at exports.handleBuyPlot (/home/ubuntu/openfarmgame/routes/index.js:399:14)
at callbacks (/home/ubuntu/openfarmgame/node_modules/express/lib/router/index.js:272:11)
at async.waterfall.userRequired (/home/ubuntu/openfarmgame/app.js:222:17)
at callbacks (/home/ubuntu/openfarmgame/node_modules/express/lib/router/index.js:272:11)
at async.waterfall.userAuth (/home/ubuntu/openfarmgame/app.js:208:25)
at DatabankObject.subClass.Cls.get (/home/ubuntu/openfarmgame/node_modules/databank/lib/databankobject.js:110:33)
at passThru0 (/home/ubuntu/openfarmgame/node_modules/databank/lib/databankobject.js:44:5)
at DatabankObject.subClass.Cls.get (/home/ubuntu/openfarmgame/node_modules/databank/lib/databankobject.js:106:27)
at MongoDatabank.read (/home/ubuntu/openfarmgame/node_modules/databank/node_modules/databank-mongodb/lib/mongodb.js:282:17)
at Collection.findOne (/home/ubuntu/openfarmgame/node_modules/databank/node_modules/databank-mongodb/node_modules/mongodb/lib/mongodb/collection.js:1010:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant