kumarsivarajan / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

Mollify not working after upgrade to 2.5.11 #549

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install Mollify 2.5.10
2. Upgrade to 2.5.11
3. Try to login

What is the expected output? What do you see instead?
I should be able to login. Instead an error "Request failed" is displayed.

What version of the product are you using? On what operating system?
2.5.11

Please provide any additional information below.
Apache Error log:
MOLLIFY ERROR: ServiceException: INVALID_CONFIGURATION=Error executing query 
(SELECT id, name, user_type, lang, email, expiration, user_auth.type as auth 
FROM mollify_user left outer join mollify_user_auth on 
user.id=user_auth.user_id WHERE id='1' AND (expiration is null or expiration > 
20140512145050)): Unknown column 'user_auth.type' in 'field list'
MOLLIFY ERROR: 
{0:{file:/var/www/html/mollify/backend/include/configuration/ConfigurationDao.cl
ass.php, line:164, function:query, class:MySQLIDatabase, type:->, 
args:{0:SELECT id, name, user_type, lang, email, expiration, user_auth.type as 
auth FROM mollify_user left outer join mollify_user_auth on 
user.id=user_auth.user_id WHERE id='1' AND (expiration is null or expiration > 
20140512145050)}}, 
1:{file:/var/www/html/mollify/backend/include/session/Session.class.php, 
line:94, function:getUser, class:ConfigurationDao, type:->, args:{0:1, 
1:1399895450}}, 
2:{file:/var/www/html/mollify/backend/include/session/Session.class.php, 
line:74, function:findSessionUser, class:Session, type:->, args:{0:1}}, 
3:{file:/var/www/html/mollify/backend/include/ServiceEnvironment.class.php, 
line:152, function:initialize, class:Session, type:->, 
args:{0:ServiceEnvironment, 1:Request}}, 
4:{file:/var/www/html/mollify/backend/include/MollifyBackend.class.php, 
line:77, function:initialize, class:ServiceEnvironment, type:->, 
args:{0:Request}}, 5:{file:/var/www/html/mollify/backend/r.php, line:63, 
function:processRequest, class:MollifyBackend, type:->, args:{0:Request}}}

Original issue reported on code.google.com by markus.d...@greenpocket.de on 12 May 2014 at 11:55

GoogleCodeExporter commented 8 years ago
No database upgrade instructions are delivered within the 2.5.11 package.

Original comment by markus.d...@greenpocket.de on 12 May 2014 at 11:55

GoogleCodeExporter commented 8 years ago
It's related to this issue: 
https://code.google.com/p/mollify/issues/detail?id=548

Invalid query when table prefix used, I'll release new version once I've 
verified it works.

Original comment by samuli.j...@gmail.com on 12 May 2014 at 11:58