FAQ
(→My OpenCms upgrade fails, what are common pitfalls?) |
|||
Line 15: | Line 15: | ||
UPDATE CMS_USER SET USER_PASSWORD='ISMvKXpXpadDiUoOSoAfww==' WHERE USER_NAME='Admin'; | UPDATE CMS_USER SET USER_PASSWORD='ISMvKXpXpadDiUoOSoAfww==' WHERE USER_NAME='Admin'; | ||
This sets the "Admin" password to 'admin'. '''NOTE: Use this at your own risk!''' | This sets the "Admin" password to 'admin'. '''NOTE: Use this at your own risk!''' | ||
+ | |||
+ | == Extension == | ||
+ | === How can I create my own login form that loggs the user into the system, sets the correct project for them and brings them to a given page? === | ||
+ | See: [[Custom Login Page]]. |
Revision as of 11:42, 8 November 2006
Contents |
General questions
Why does the default OpenCms url contain /opencms/opencms/?
The first /opencms/ is the folder of your OpenCms installation in the webapps folder of your servlet container (tomcat,jboss,etc.). The second is a servlet mapping to the main OpenCms servlet which handles the requests. You can install OpenCms as root-application of you servlet container to get rid of the first /opencms/. During the installation process you can rename the servlet mapping (for example to cms) to shorten the second /opencms/.Alternatively there is a guide how to get rid of /opencms/opencms/ shipped with the alcacon documentation. See also Removing /opencms/opencms from site url
My OpenCms upgrade fails, what are common pitfalls?
A common pitfall is that your Servlet container(Tomcat,JBoss,etc.) has no write access to the OpenCms installation, check the permission and give the servlet-container write access.
Another pitfall is that the upgrade wizard is not able to open a display, which can be fixed by starting the servlet container with the following java arguments:
-Djava.awt.headless=true
User Management
What is the difference between webusers and normal users?
The webusers are not allowed to login into the OpenCms workspace. You can use them to create a restricted area on your homepage. There is a howto how to create a restricted area on your homepage: How to create a restricted area on your homepage.
I lost the password of the user "Admin", what can I do?
If you have database access you can reset it with the following SQL query:
UPDATE CMS_USER SET USER_PASSWORD='ISMvKXpXpadDiUoOSoAfww==' WHERE USER_NAME='Admin';
This sets the "Admin" password to 'admin'. NOTE: Use this at your own risk!
Extension
How can I create my own login form that loggs the user into the system, sets the correct project for them and brings them to a given page?
See: Custom Login Page.