get error after login of version 0.4.0

Bug #723143 reported by davidhhuan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chive
Fix Released
Undecided
Unassigned

Bug Description

Hi, after i login to the website, i got errors. And the i open the debug of Yii, found those are:

PHP Error

Description

Undefined index: mysql

Source File

/var/www/chive/protected/components/UserPrivilegesManager.php(85)

I found the resolved.
In protected/components/UserPrivilegesManager.php(85)
change FROM:
$this->column[$priv['TABLE_SCHEMA']] . '.' . $priv['TABLE_NAME'] . '.' . $priv['COLUMN_NAME'] = array();
TO:
$this->column[$priv['TABLE_SCHEMA'] . '.' . $priv['TABLE_NAME'] . '.' . $priv['COLUMN_NAME']] = array();

the position of ']' is not correct.

That is so exciting to found that this is using Yii! :)

Related branches

Revision history for this message
David Roth (davrot) wrote :

thanks for that report. Fixed in trunk.

Changed in chive:
milestone: none → 0.4.1
status: New → Fix Committed
David Roth (davrot)
Changed in chive:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.