Topic: Failed to create a new user

When i go to setup=>user account setup=> I fill all required info and select role as AP Officer
When i click add new nothing is created, no any message for creation successfully.
Sometime a popup show up like failure

What can i do to fix this issue

Re: Failed to create a new user

When you see an error . Copy the error to here. We will assist you further . If possible enable Debugging mode and get us the proper error msg from our system

Subscription service based on FA
HRM CRM POS batch Themes

Re: Failed to create a new user

[Thu Dec 27 17:00:43.225233 2018] [:error] [pid 24988:tid 1888] [client ::1:57291] PHP Warning:  Cannot modify header information - headers already sent in Unknown on line 0, referer: http://localhost/frontaccounting/admin/display_prefs.php?
[Thu Dec 27 17:00:43.445897 2018] [:error] [pid 24988:tid 1888] [client ::1:57291] 0:admin:JsHttpRequest.php:388:[before upgrade] Cannot modify header information - headers already sent, referer: http://localhost/frontaccounting/admin/display_prefs.php?
[Thu Dec 27 17:08:00.768285 2018] [:error] [pid 24988:tid 1880] [client ::1:57434] PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0, referer: http://localhost/frontaccounting/admin/users.php?
[Thu Dec 27 17:08:00.768285 2018] [:error] [pid 24988:tid 1880] [client ::1:57434] PHP Warning:  Cannot modify header information - headers already sent in Unknown on line 0, referer: http://localhost/frontaccounting/admin/users.php?
[Thu Dec 27 17:08:01.002202 2018] [:error] [pid 24988:tid 1880] [client ::1:57434] 0:admin:JsHttpRequest.php:388:[before upgrade] Cannot modify header information - headers already sent, referer: http://localhost/frontaccounting/admin/users.php?

Re: Failed to create a new user

I have already enabled  always_populate_raw_post_data' to '-1' in php.ini

But still i am getting the same error

I am using
PHP Version 5.6.37
Apache/2.4.34
10.1.35-MariaDB

What could be the problem

5 (edited by poncho1234 12/27/2018 02:24:47 pm)

Re: Failed to create a new user

FA version number as well please.

xampp?
wamp?

The FrontAccounting Wiki(Manual, examples, tips, setup info, links to accounting sites, etc) https://frontaccounting.com/fawiki/

Re: Failed to create a new user

The only place in the current FA 2.4.x that the said $HTTP_RAW_POST_DATA variable is used is in includes/JsHttpRequest.php twice in line 263.

@joe: any changes envisaged? If so, would it break older installs?