webERP Forum
creating new users after installation - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (/forumdisplay.php?fid=1)
+--- Forum: Installation Issues (/forumdisplay.php?fid=13)
+--- Thread: creating new users after installation (/showthread.php?tid=2376)



creating new users after installation - pukalani - 01-28-2015 08:08 AM

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


RE: creating new users after installation - phil - 01-28-2015 12:42 PM

Are there any clues in the web server error log?


RE: creating new users after installation - pukalani - 01-28-2015 01:55 PM

(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/x86_64/epel-release-6-8.noarch.rpm
step 2.) sudo rpm -Uvh epel-release-6*.rpm
step 3.) yum install php-mcrypt

Thanks million Phil!


RE: creating new users after installation - phil - 01-28-2015 02:42 PM

Great - glad you are up and running :-)