Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
user not accepted after install
11-17-2014, 07:30 PM
Post: #1
user not accepted after install
When doing a standard install, with company name weberp, database name weberp and user admin with default password, the install ends in a blank browser window.
After that, logging in is not possible, because using the standard admin user/pw combination (as set during install) I get a message 'incorrect password'. There is a www_users table in the database, with admin in it as well as a hashed password, so the database connection works.

How can I start to use it?
Find all posts by this user
Quote this message in a reply
11-17-2014, 07:34 PM
Post: #2
RE: user not accepted after install
when bluntly entering the index.php into the address bar, i get:

ERROR Message Report : Security settings have not been defined for your user account. Please advise your system administrator. It could also be that there is a session problem with your PHP web server

The url is directed to Upgradedatabase.php
Find all posts by this user
Quote this message in a reply
11-19-2014, 08:28 AM
Post: #3
RE: user not accepted after install
A log out and login does not work?

Running the UpgradeDatabase.php does not work?

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
11-20-2014, 12:00 AM
Post: #4
RE: user not accepted after install
I have had a similar issues and I typically find the session files on the server and clear them out.
Find all posts by this user
Quote this message in a reply
11-22-2014, 12:19 AM
Post: #5
RE: user not accepted after install
yeah, i am also it same problem ...Huh
Find all posts by this user
Quote this message in a reply
12-19-2014, 03:03 AM
Post: #6
RE: user not accepted after install
(11-20-2014 12:00 AM)agaluski Wrote:  I have had a similar issues and I typically find the session files on the server and clear them out.
I also facing the issue

M H N
Find all posts by this user
Quote this message in a reply
02-06-2015, 03:17 PM
Post: #7
RE: user not accepted after install
I also have this problem. You can still use the installation, it appears that all except for passwords is working.

You can log in with the default 'admin' and password 'weberp', and access all/most functionality. It is only when you try to update the user password (through User Maintenance and/or Account Profile [from the top right corner by clicking username]) that the system rejects the modification. (Oh, if you have tried and failed to log in to many times the account will be blocked, you will need to unblock by updating `www_users`.`blocked` to 0, using a database administration package e.g. phpmyadmin or MySql Workbench or from the command line.

It appears to be a problem with password hashing, that causes the problem.

I have these entries in my php log.
[Fri Feb 06 12:15:24 2015] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function mcrypt_create_iv() in /Library/WebServer/Documents/webERP/install/index.php on line 1259, referer: http://127.0.0.1/webERP/install/index.php

and

[Fri Feb 06 12:30:14 2015] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function mcrypt_create_iv() in /Library/WebServer/Documents/webERP-dev/includes/session.inc on line 230, referer: http://127.0.0.1/webERP-dev/UserSettings.php
[Fri Feb 06 12:34:06 2015] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function mcrypt_create_iv() in /Library/WebServer/Documents/webERP-dev/includes/session.inc on line 230, referer: http://127.0.0.1/webERP-dev/WWW_Users.ph...User=admin
[Fri Feb 06 12:47:37 2015] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function mcrypt_create_iv() in /Library/WebServer/Documents/webERP-dev/includes/session.inc on line 230, referer: http://127.0.0.1/webERP-dev/WWW_Users.ph...User=admin
[Fri Feb 06 12:49:25 2015] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function mcrypt_create_iv() in /Library/WebServer/Documents/webERP-dev/includes/session.inc on line 230, referer: http://127.0.0.1/webERP-dev/WWW_Users.php

This may be because of a php version (i.e. support for this function in php) or the php function definition has not been well defined or erroneous in the php code. I suspect a slight change in the way php handles some built in function call from the version of php that I am using to the version that the system was developed on (I am using OSX 10.6.8, which uses a bundled Apple version in a php...so library for the also bundled Apache server).

I intend to go through the code and find the function call for mcrypt_create_iv() (this is a php function and not a user defined function) and see if there is a simple fix to the issue, i.e. varying methods or syntax to call the function in php.

I only installed the system for the first time a few minutes ago, if I find a resolution I will let you know.

star
Find all posts by this user
Quote this message in a reply
02-06-2015, 04:00 PM (This post was last modified: 02-06-2015 04:01 PM by phil.)
Post: #8
RE: user not accepted after install
I'd say your PHP has not got mcrypt extension enabled.

http://php.net/manual/en/mcrypt.setup.php

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
02-06-2015, 04:05 PM
Post: #9
RE: user not accepted after install
(02-06-2015 04:00 PM)phil Wrote:  I'd say your PHP has not got mcrypt extension enabled.

http://php.net/manual/en/mcrypt.setup.php

Right you are. I was just about to post, how simple the answer is. Thanks.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)