#1 2015-04-28 11:21:16

gnadirap
Member
From: CH-Ramsen
Registered: 2012-03-27
Posts: 33
Website

User-Login Form returns Error

Hi Together

I'm trying to get a Running Login-System up and go..

Description:
I want to do a front-end login, where users, can register and login ( no access to the backend).

So the user registers itself and then, gets assigned to the "role" User.

If i now perform a Login as the just created user, i get this Error message:

Error Number: 1054

Unknown column 'id_user' in 'where clause'

SELECT rule.* FROM (rule) WHERE `id_role` = '3' AND `id_user` = 0

Filename: models/base_model.php

Line Number: 500

if I login as "administrator" user, there is no problem.

I'm Using version 1.0.7 from your standard download. As it also seams, there may be several bugs..

Like on line 498 you have this: log_message('app', print_r($this->{$this->db_group}->get_compile_select() , TRUE));
but this creates another Error.. Right would be this:
log_message('app', print_r($this->{$this->db_group}->_compile_select() , TRUE));

Many thanks in advance for your Help to get this solved.

Regards

Gnadirap

Last edited by gnadirap (2015-04-28 11:22:54)

Offline

#2 2015-05-04 21:17:19

gnadirap
Member
From: CH-Ramsen
Registered: 2012-03-27
Posts: 33
Website

Re: User-Login Form returns Error

Anyone, who may help me?

Offline

#3 2015-05-10 19:54:26

Kink
Ion Tester
From: France
Registered: 2010-06-04
Posts: 581

Re: User-Login Form returns Error

I encounter your problem with PHP 5.6 and Ionize 1.07.
Is it your PHP release ?

(No problem with PHP 5.4)


Webmaster / OUF!WEB

Offline

#4 2015-05-10 20:17:28

gnadirap
Member
From: CH-Ramsen
Registered: 2012-03-27
Posts: 33
Website

Re: User-Login Form returns Error

Hi kink

here the information:

Php 5.4.39
Mysqli 5.5.40

regards

Offline

What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel, Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.

Resources

Website : ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Ionize Translations