Cannot add new users in new installation #819
-
|
I installed ver 5.01 +33 using this link https://sourceforge.net/projects/web-erp/files/v5.0.1/WebERP%20v5.0.1%20source%20code.zip. When I tried to Add a new user, after clicking on "Enter Information", I dont get any success confirmation. Instead the user Maintenance screen is displayed. When I check the User Maintenance, the new user is not added. Where did I go wrong? My host is a ubuntu 24.04 server hosted in VMWare workstation Prol. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
|
Is "show all warnings and errors" enabled in webERP config.php? If not, please do so and try again. I suspect some part of the script is silently failing because error reporting is disabled (the default for a production server). |
Beta Was this translation helpful? Give feedback.
-
|
Hi @nutcracker53 the comment I am referring to is not regarding config.php but rather is in config.php. From config.php (after being created by the installer based on config.distrib.php): Comment the line with "$Debug=0;" (insert "//" at the start of the line) and uncomment the line with "$Debug=2;" (delete "//" from the start of the line) and access webERP again in your browser. Login and attempt to add a new user and report any error or warning messages (personally I'm a fan of also including a screenshot for context with the browser address bar visible to show the actual URL being accessed). Also, welcome to the webERP community! Setting up a server is usually straight forward and trouble free but often there are edge cases that suprise everyone. For more context,
And, because everyone will be curious, what are you hoping to use webERP for? Do you want to learn about ERPs? Do you want to support running a busineess, and if so, what type of business? Cheers, |
Beta Was this translation helpful? Give feedback.
-
|
Ah, I think this is the same issue I recently encountered because a location hasn't been defined yet. A default location is stored in the user record and it seems newer versions of MariaDb give an error (that could be caught but isn't) when the location doesn't have a value (which it can't, if you haven't defined any locations yet). Use menu item [Setup > Inventory Setup > Inventory Locations Maintenance] to define a location then try creating new user again. Refer to: #807 (comment) There are 2 other issues you may encounter:
I wish you success and your local SMEs even more success! As you can tell, webERP has some rough edges (mostly related to configuration and understanding intended workflows) but if you persevere to teach yourself the basic business operations, and if the features your local SMEs require overlap with webERP features, it should be possible to have a good outcome. Is there a particular type of SME you plan to use as an example in your showcase? I have written some tutorials that may be of help. some of the content may be out of date so use them for a general understanding and post issues or discuss or topics if you run into trouble.
|
Beta Was this translation helpful? Give feedback.








Thanks @dalers . I executed the query in phpmyadmin and I got the error. "duplicate location name'.. Corrected it. am ok now. continuing my testing.