Add user in Csweb 7.3

Discussions about CSEntry
Post Reply
khurshid.arshad
Posts: 572
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

Add user in Csweb 7.3

Post by khurshid.arshad »

Dear CSPro Team

During adding the user in csweb 7.3.1, it gives error "Failed adding user: Content-Typeapplication/json; charset=utf-8 mut be either json or text"

Please advice.

Thanks.
a.
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Add user in Csweb 7.3

Post by josh »

This is is bug in the version of CSpro 7.3.1 posted on csprousers.org. Unfortunately everyone who has access to update those files is on vacation today. In the meantime please replace the file src/api/src/CSPro/Controllers/UserController.php with the attached file. Note this is ONLY for CSpro 7.3.1. Don't do this for CSWeb 7.4. CSWeb 7.4 - it will not work with 7.4.
Attachments
UserController.zip
(5.19 KiB) Downloaded 173 times
khurshid.arshad
Posts: 572
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

Re: Add user in Csweb 7.3

Post by khurshid.arshad »

Thanks josh.
a.
Post Reply