webERP Forum

Full Version: creating new users after installation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
After installing and creating the basic weberp database, I can't get pass the "user maintenance" screen from the setup menu. Everytime I attempt to add a new user regardless of role, the page goes blank without any update after submitting the changes on the page. The table www_users does not get updated with the user that I'm attempting add. However, the user gets added to the locationusers table.

I'm currently deploying weberp 4.11.5 on centos Linux x86_64 version 6.6, apache 2.2.15, MySQL server 5.1.73, and php 5.3.3. Is anyone else experiencing similar results?

Does anyone have a fix or work around? Any guidance or suggestions would be much appreciated.

Thanks,

Pukalani
Are there any clues in the web server error log?
(01-28-2015 12:42 PM)phil Wrote: [ -> ]Are there any clues in the web server error log?

Hey Phil,

Thanks for pointing me in right direction! The /var/log/httpd/error_log contained the following interesting line of
<PHP Fatal error: Call to undefined function mcrypt_create_iv() in /var/www/html/webERP/includes/session.inc on line 222, referer: http://localhost/webERP/WWW_Users.php
>

The cause: missing php-mcrypt package

The corrective action was the following:
step 1.) wget http://dl.fedoraproject.org/pub/epel/6/x...noarch.rpm
step 2.) sudo rpm -Uvh epel-release-6*.rpm
step 3.) yum install php-mcrypt

Thanks million Phil!
Great - glad you are up and running :-)
Reference URL's