Soviet Cat 0 Posted December 8, 2020 Share Posted December 8, 2020 When I start the server I get a notification saying An error has occurred: Invalid config.json (JSON Phrase Error) Link to post Share on other sites
1 Grandpa Rex 27 Posted December 8, 2020 Share Posted December 8, 2020 Where is the "db" : "mysql", Line that goes at the top? Link to post Share on other sites
0 Grandpa Rex 27 Posted December 8, 2020 Share Posted December 8, 2020 Post your config.json Most likely you are missing a comma Link to post Share on other sites
0 Soviet Cat 0 Posted December 8, 2020 Author Share Posted December 8, 2020 57 minutes ago, Grandpa Rex said: Post your config.json Most likely you are missing a comma { "database": { "username": "username", "password": "Password", "host": "127.0.0.1", "port": 3306, "database": "fivepd" }, "maxReportLength": 1000, "maxFine": 1000000, "maxFinePoint": 100, "maxCallLength": 125, "maxOfficerNameLength": 125, "maxAINameLength": 50, "maxNumberOfInvolvedOfficers": 32, "maxNumberOfSuspects": 32, "maxNumberOfVictims": 32, "maxViolationCount": 32, "isSignatureEnabled": true, "maxSignatureSize": 10.0, "maxStreetNameLength": 25, "maxCityNameLength": 30, "maxZIPLength": 10, "maxChargeCount": 15, "maxReportCount": 100, "maxCitationCount": 100, "minCallsignLength": 1, "maxCallsignLength": 15, "adminCode": "4256", "ip": 104.243.44.239:30120, "discord": { "enable": true, "token": "2d897e2a6166fe68" }, "observation": true, "allowlist": false } Link to post Share on other sites
0 BGHDDevelopment 268 Posted December 10, 2020 Share Posted December 10, 2020 Try putting "" around your ip So "ip": "104.243.44.239:30120", YouTube | Callouts | Twitter Link to post Share on other sites
0 TheCipher01 128 Posted December 10, 2020 Share Posted December 10, 2020 Looks like you may be missing the "db":mysql, At the top of the file above the database TheCipher01 Community Team | Administrative Support Link to post Share on other sites
0 BGHDDevelopment 268 Posted December 14, 2020 Share Posted December 14, 2020 This content has been locked by the Community Team. If you feel this was a mistake, please report this reply with a valid reason. YouTube | Callouts | Twitter Link to post Share on other sites
Question
Soviet Cat 0
When I start the server I get a notification saying An error has occurred: Invalid config.json (JSON Phrase Error)
Link to post
Share on other sites
6 answers to this question
Recommended Posts