> > Bug (approved)

user clicks company name and gets fatal error

Summary

approved
May 30, 2006
30 min
100%
Jun 13, 2006
May 30, 2006 / pixtur
Jan 5, 2009 / phsouzacruz
pixtur
 

Attached files

No files uploaded
 
see http://www.streber-pm.org/phpBB2/viewtopic.php?p=714#714

from errors.log.php

Error 20060526145912 ERROR: db/db.inc.php : 38 Database exception
Error 20060526145912 db/db.inc.php : 247 -> MysqlException::__construct("Querry=SELECT c.*, ic.* from e")
Error 20060526145912 db/class_company.inc.php : 190 -> DB_MysqlStatement::execute("", int1)
Error 20060526145912 db/class_company.inc.php : 252 -> Company::queryFromDb("SELECT c.*, ic.* from ebtronco")
Error 20060526145912 pages/company.inc.php : 75 -> Company::getAll("short ASC, name2 ASC")
Error 20060526145912 std/class_pagehandler.inc.php : 572 -> companyList()
Error 20060526145912 index.php : 322 -> PageHandler::show("companyList")
Error 20060526145912
Error 20060526145912 Variables in __construct():
Error 20060526145912 message = Querry=SELECT c.*, ic.* from ebtroncompany c, ebtronitem ic
Error 20060526145912 WHERE
Error 20060526145912 c.state = 1
Error 20060526145912
Error 20060526145912 AND c.id = ic.id
Error 20060526145912 ORDER BY short ASC, name2 ASC
Error 20060526145912
Error 20060526145912 code = NULL
Error 20060526145912 sql_obj = Object id #21
Error 20060526145912 mysql_error = Unknown column 'name2' in 'order clause'
Error 20060526145912 v0.06, companyList, from 10.0.0.56, uri:/Streber/index.php?go=companyList
Error 20060526145912 

Issue report

Minor
Not available
v0.061
I have users, with role/profile "user".
When they click on company name, they get a fatal error.
When I change their role to "Project Manager", error disappears.
Fix sort-key of column-header.


 

No Comments