login and profileservice problem

Hi

Let's start with these words: "OpenBiz is a great framework!", using 2.4, but...

I ran into some troubles setting up the login feature.

The first one: I modified the accessService.xml file for my needs and as I assumed the login form popped up in my application. I fiiled in user_id an password and hit the Submit button but nothing happend - no request, no response. The only error message i got was when I did not enter the user_id field.  I have realized the whole logic goes throgh Login() function of FMAuth.php. I found no error in that function, so I tried to comment the validators and everything started to work properly.

The second one: After that I modified the profileService::GetDBProfile() to return profile from my users table. There was an error saying there is no Execute() function... OK I went all the way to the Zend DB core and realized the same...no Execute( ) function. Changed it to query() function  - started to work, but with another error saying no FetchRow() function. The same way I changed it to fetch() and now everything works properly.

 

what was the problem?

Thomza, you are very smart

Thomza, you are very smart to work things out and share your experience. Sorry for the inconvenience per the login form. We are working on a new application which will provide not only the framework level features but also more commonly used application features. The application features will include:

  • user management, role management, permission management
  • enhanced validation
  • module management
  • ...

On the new application (we are still thinking of its name), you should be able to focus more on your business logic.

- support