Deleted users persists in database in liferay 6.1.0 CE - liferay

From Liferay GUI first i deactivate user and then delete deactivate user but looking in the database i see that the deleted user still there,and i will not able to add again some deleted user from GUI.
I am usig liferay version 6.1.0 CE and mysql 5.1.71.
Please help me how can i delete user permanently from GUI as well as from database.

Related

Migrating to Liferay 7 from liferay 6.1.2

I have been reading the liferay documentation about migrating from liferay 6 to liferay 7 (https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/from-liferay-6-to-liferay-7).
I have a basic liferay 6.1.2 application bundle with tomcat that contains a few portlets and all I need is to make it work the same way, without using any new feature (OSGI and all) with liferay 7.
Do you know where I could find a list of new configuration files and a list of the ones that have been deleted?
Is there a place where I can find the new dependencies required by liferay 7 for each of my portlets?
I used the liferay tool to generate the new theme so that's a start...
Any links or advices would be appreciated,
Thanks
EDIT :
I can start liferay 7 with the portlet inside the /deploy. I get no errors, only info like "portlet1.war does not have a WEB-INF/liferay-plugin-package.xml or liferay-plugin-package.properties."
The localhost_host_access.log show a few 404 but not as an error...
I really dont know how to proceed to have information (errors, logs,....) to make this work : my portal is still empty.
You can follow the upgrade procedure (read through the link you've provided) and it should be able to
upgrade your database
upgrade parts of your code
If you are using Liferay IDE or Developer Studio there is code migration wizard. It will not solve all issues but will examine your code and advise you how to change things it can not change itself. This recording in an year old but it will give you an idea of what IDE does (probably more by now). It uses a database of breaking changes, most of which is published here so you can check what is relevant to you.
I do not recommend you do that. First migrates from 6.1 to 6.2 and after 6.2 to 7 or you can redo the entire portal, from Liferay we do not recommend making such low migrations. I recommend you look at the community and OSGI ...

Prevent developers from modifying Liferay Database structure

I am working in an environment that contain many Liferay Newbies along with experts, now I want to make some configuration to prevent any one from modifying the structure of the Liferay Database, i.e. one developer started a liferay 6.2 server while connecting to a Liferay 6.1 configuration database causing the database to get corrupted ... I know that I can't make LR users read-only because any change is reflected to the database, but I want to put some limitations to prevent a scenario like the above.... is any related configuration available ?
Regular permissions that are required for accessing Liferay's database are SELECT, INSERT, UPDATE and DELETE. Only when you're developing new plugins you need CREATE TABLE, ALTER TABLE, CREATE INDEX and similar DDL permissions on the database you're developing on. Just don't give them the full permissions.
Update routines (that run when you have 6.2 code running on 6.1 structures) will require the DDL permissions or fail. And, of course, you can also remove / unconfigure the Upgrade routines.

Connecting Alfresco and Liferay with a specified user

I am trying to connect Alfresco (4.2) with Liferay (6.1.1). Everything works without problems if I use Documents and Media Portlet.
My problem is I need to use a specified user to connect to Alfresco and not the logged user.
I have tried to add some properties on portal-ext.properties, like dl.store.cmis.credentials.username, and dl.store.cmis.credentials.password, but without luck.
Can someone help me?

Cannot Login Admin Page

I have tried a lot of settings, WebMatrix vs Build from source code, sql vs sql compact version. Different version of Orchard.
But they all have the same problem: Fail to login
When you accesss
http://localhost:43327/admin
Even password/username view cannot be loaded.
Address bar is showing:
http://localhost:43327/Users/Account/LogOn?ReturnUrl=%2F
How to solve this problem?
Check if the user specified in the connection string does has the access to the database.
Are you using a connectionstring with UserId and Password or using Integrated Security?
I changed the theme, #Model.Content was not there.
Not view for Login will show up..

Joomla AEC component trigger user updation

I have installed the AEC(Account Expiration Control) component in my Joomla(2.5) website. I want to add a micro-integration script to run when the User register to the site or while updating the profile information. I have checked the example integration script and found that the
on_userchange_action
method is triggered when user register or update his details.
How can I trigger this method when editing a user using Admin user. I have tried to edit the user in 3 places.
Joomla User Manager
Jom Social User Manager
AEC Members
Any help is appreciated.
I am not familiar with AEC but to trigger an action you can check if building a plugin that is triggred by for example by:
onUserAfterSave
Several events have been renamed for Joomla 2.5, here is the list of current Joomla event triggers -
http://docs.joomla.org/Plugin#Events
The one you are looking for is probably onAfterStoreUser

Resources