Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001620 [Quercus] major always 02-21-07 06:51 04-02-07 18:27
Reporter damjan View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 3.1.1
Summary 0001620: Resin does not work with PostgreSQL database
Description I am trying to setup Gallery 2.1.2 on resin 3.1 snapshot 7.Feb.2007.

At installation it stopped at stage 5, where database is setup.

I get following error:
"/var/www/resin/gallery2/lib/adodb/drivers/adodb-postgres64.inc.php:653: Warning: A link to the server could not be established. org.postgresql.util.PSQLException: The connection attempt failed. [pg_connect]"

postgresql was up and running. Same postgresql is used for jira and confluence, so JDBC access is working.

I installed Gallery 2.1.2 with Apache and PHP5. I tried to use gallery after it was installed, but I get again exactly the same error.
Additional Information
Attached Files

- Relationships

- Notes
(0001851)
damjan
04-16-07 12:15

I got further with april snapshot and fixing web-resin.xml.

After I renamed all PHP4 pg calls to PHP5 ,like pg_exec and pg_fieldtype I get other errors related to postgresql in interpreted mode.

Here is the stack trace while loading main page:

[19:42:13.796]/var/www/resin/gallery2/lib/adodb/drivers/adodb-postgres64.inc.php length is modified (30542 -> 30522)
[19:42:13.797]Depend[/var/www/resin/gallery2/lib/adodb/drivers/adodb-postgres64.inc.php 1176745290000 41000] is modified
[19:42:13.869]connection pool destroy PoolItem[jdbc/Gallery2DS,17,null]
[19:42:13.869]destroy com.caucho.sql.ManagedConnectionImpl@90ed81
[19:42:13.869]jdbc/Gallery2DS.7:close()
[19:42:13.907]create: PoolItem[jdbc/Gallery2DS,20,com.caucho.sql.ManagedConnectionImpl@16bb7d9](active:0, total:0)
[19:42:13.908]allocate PoolItem[jdbc/Gallery2DS,20,com.caucho.sql.ManagedConnectionImpl@16bb7d9]
[19:42:13.909]jdbc/Gallery2DS.8.0:createStatement(type=1004,concurrency=1007)
[19:42:13.909]jdbc/Gallery2DS.8.0:setEscapeProcessing(false)
[19:42:13.912]jdbc/Gallery2DS.8.0:execute(set datestyle='ISO') -> false
[19:42:13.912]jdbc/Gallery2DS.8.0:getUpdateCount() -> 0
[19:42:13.912]jdbc/Gallery2DS.8.0:getWarnings() -> null
[19:42:13.921]java.lang.NullPointerException
[19:42:13.921] at com.caucho.quercus.lib.db.JdbcResultResource.getFieldCount(JdbcResultResource.java:785)
[19:42:13.921] at com.caucho.quercus.lib.db.PostgresModule.pg_num_fields(PostgresModule.java:2108)
[19:42:13.921] at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
[19:42:13.921] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[19:42:13.921] at java.lang.reflect.Method.invoke(Method.java:585)
[19:42:13.921] at com.caucho.quercus.module.StaticFunction.invoke(StaticFunction.java:105)
[19:42:13.921] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:614)
[19:42:13.921] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:487)
[19:42:13.921] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:473)
[19:42:13.921] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:180)
[19:42:13.921] at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:125)
[19:42:13.921] at com.caucho.quercus.expr.LeqExpr.evalBoolean(LeqExpr.java:72)
[19:42:13.921] at com.caucho.quercus.expr.AndExpr.evalBoolean(AndExpr.java:83)
[19:42:13.921] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:74)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:13.921] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:13.921] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:13.921] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:13.921] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:13.921] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:13.921] at com.caucho.quercus.expr.Expr.evalCopy(Expr.java:387)
[19:42:13.921] at com.caucho.quercus.expr.SuppressErrorExpr.evalCopy(SuppressErrorExpr.java:145)
[19:42:13.921] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77)
[19:42:13.921] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:13.921] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:78)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:13.921] at com.caucho.quercus.program.Function.callRef(Function.java:274)
[19:42:13.921] at com.caucho.quercus.program.AbstractFunction.callMethodRef(AbstractFunction.java:224)
[19:42:13.921] at com.caucho.quercus.env.QuercusClass.callMethodRef(QuercusClass.java:755)
[19:42:13.921] at com.caucho.quercus.env.ObjectExtValue.callMethodRef(ObjectExtValue.java:659)
[19:42:13.921] at com.caucho.quercus.expr.MethodCallExpr.evalRef(MethodCallExpr.java:135)
[19:42:13.921] at com.caucho.quercus.expr.AssignRefExpr.eval(AssignRefExpr.java:65)
[19:42:13.921] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:13.921] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:78)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:13.921] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:13.921] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:13.921] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:13.921] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:13.921] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:13.921] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:13.921] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:13.921] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:13.921] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:13.921] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:13.921] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:13.921] at com.caucho.quercus.program.ReturnStatement.execute(ReturnStatement.java:68)
[19:42:13.921] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:13.921] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:13.921] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:13.921] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:13.921] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:13.921] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:13.921] at com.caucho.quercus.expr.Expr.evalCopy(Expr.java:387)
[19:42:13.921] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77)
[19:42:13.921] at com.caucho.quercus.expr.Expr.evalBoolean(Expr.java:445)
[19:42:13.921] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:74)
[19:42:13.921] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:75)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:13.921] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:13.921] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:13.921] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:13.921] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:13.921] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:13.921] at com.caucho.quercus.program.ReturnStatement.execute(ReturnStatement.java:68)
[19:42:13.921] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:13.921] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:13.921] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:13.921] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:412)
[19:42:13.921] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:690)
[19:42:13.921] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:627)
[19:42:13.921] at com.caucho.quercus.env.Value.callMethod(Value.java:1138)
[19:42:13.921] at com.caucho.quercus.expr.VarMethodCallExpr.eval(VarMethodCallExpr.java:102)
[19:42:13.921] at com.caucho.quercus.expr.Expr.evalCopy(Expr.java:387)
[19:42:13.921] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77)
[19:42:13.921] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:13.921] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:13.921] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:13.921] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:13.921] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:13.921] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:13.921] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:13.921] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:75)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:13.921] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:13.921] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:13.921] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:13.921] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:13.921] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:13.921] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:13.921] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:13.921] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:13.921] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:13.921] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:13.921] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:13.921] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:13.921] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:13.921] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:13.921] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:13.921] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:13.921] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:440)
[19:42:13.921] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:551)
[19:42:13.921] at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:140)
[19:42:13.921] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:13.921] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:13.921] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:13.921] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:13.921] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:440)
[19:42:13.921] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:551)
[19:42:13.921] at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:140)
[19:42:13.921] at com.caucho.quercus.program.ReturnStatement.execute(ReturnStatement.java:68)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:13.921] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:13.921] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:13.921] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:440)
[19:42:13.921] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:551)
[19:42:13.921] at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:140)
[19:42:13.921] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:13.921] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:13.921] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:13.921] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:13.921] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:13.921] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:13.921] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:13.921] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:13.921] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:78)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:78)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:13.921] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:13.921] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:180)
[19:42:13.921] at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:125)
[19:42:13.921] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:13.921] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:13.921] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:13.921] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:180)
[19:42:13.921] at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:125)
[19:42:13.921] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:78)
[19:42:13.921] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:13.921] at com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:239)
[19:42:13.921] at com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:61)
[19:42:13.921] at com.caucho.quercus.page.QuercusPage.executeTop(QuercusPage.java:115)
[19:42:13.921] at com.caucho.quercus.servlet.ResinQuercusServlet.service(ResinQuercusServlet.java:125)
[19:42:13.921] at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:298)
[19:42:13.921] at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
[19:42:13.921] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
[19:42:13.921] at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:125)
[19:42:13.921] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175)
[19:42:13.921] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240)
[19:42:13.921] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
[19:42:13.921] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:477)
[19:42:13.921] at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:600)
[19:42:13.921] at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:522)
[19:42:13.921] at java.lang.Thread.run(Thread.java:595)
[19:42:13.935]jdbc/Gallery2DS.8.1:createStatement(type=1004,concurrency=1007)
[19:42:14.717]jdbc/Gallery2DS.8.1:setEscapeProcessing(false)
[19:42:14.741]jdbc/Gallery2DS.8.1:execute(
[19:42:14.741] SELECT
[19:42:14.741] g2_UserGroupMap.g_userId
[19:42:14.741] FROM
[19:42:14.741] g2_UserGroupMap
[19:42:14.741] WHERE
[19:42:14.741] g2_UserGroupMap.g_userId = 5
[19:42:14.741] AND
[19:42:14.741] g2_UserGroupMap.g_groupId = 3
[19:42:14.741] LIMIT 1) -> true
[19:42:14.741]jdbc/Gallery2DS.8.1:getResultSet() -> org.postgresql.jdbc3.Jdbc3ResultSet@f346dc
[19:42:14.742]jdbc/Gallery2DS.8.1:getWarnings() -> null
[19:42:14.801]jdbc/Gallery2DS.8.2:createStatement(type=1004,concurrency=1007)
[19:42:14.801]jdbc/Gallery2DS.8.2:setEscapeProcessing(false)
[19:42:14.819]jdbc/Gallery2DS.8.2:execute(
[19:42:14.819] SELECT
[19:42:14.819] g2_Group.g_id,
[19:42:14.819] g2_Group.g_groupName
[19:42:14.819] FROM
[19:42:14.819] g2_UserGroupMap, g2_Group
[19:42:14.819] WHERE
[19:42:14.819] g2_Group.g_id = g2_UserGroupMap.g_groupId
[19:42:14.819] AND
[19:42:14.819] g2_UserGroupMap.g_userId = 5
[19:42:14.819] ORDER BY
[19:42:14.819] g2_Group.g_groupName
[19:42:14.819] ) -> true
[19:42:14.820]jdbc/Gallery2DS.8.2:getResultSet() -> org.postgresql.jdbc3.Jdbc3ResultSet@13d422d
[19:42:14.820]jdbc/Gallery2DS.8.2:getWarnings() -> null
[19:42:14.833]jdbc/Gallery2DS.8.3:createStatement(type=1004,concurrency=1007)
[19:42:14.833]jdbc/Gallery2DS.8.3:setEscapeProcessing(false)
[19:42:14.842]jdbc/Gallery2DS.8.3:execute(
[19:42:14.842] SELECT
[19:42:14.842] g2_PermissionSetMap.g_module,
[19:42:14.842] g2_PermissionSetMap.g_permission,
[19:42:14.842] g2_PermissionSetMap.g_description,
[19:42:14.842] g2_PermissionSetMap.g_bits,
[19:42:14.842] g2_PermissionSetMap.g_flags
[19:42:14.842] FROM
[19:42:14.842] g2_PermissionSetMap
[19:42:14.842] ) -> true
[19:42:14.843]jdbc/Gallery2DS.8.3:getResultSet() -> org.postgresql.jdbc3.Jdbc3ResultSet@c3d062
[19:42:14.843]jdbc/Gallery2DS.8.3:getWarnings() -> null
[19:42:14.856]org.postgresql.util.PSQLException: Bad value for type long : 01111111111111111111111111111111
[19:42:14.856] at org.postgresql.jdbc2.AbstractJdbc2ResultSet.toLong(AbstractJdbc2ResultSet.java:2548)
[19:42:14.856] at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getLong(AbstractJdbc2ResultSet.java:2002)
[19:42:14.856] at com.caucho.quercus.lib.db.JdbcResultResource.getColumnValue(JdbcResultResource.java:621)
[19:42:14.856] at com.caucho.quercus.lib.db.JdbcResultResource.fetchArray(JdbcResultResource.java:160)
[19:42:14.856] at com.caucho.quercus.lib.db.PostgresModule.pg_fetch_array(PostgresModule.java:908)
[19:42:14.856] at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
[19:42:14.856] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[19:42:14.856] at java.lang.reflect.Method.invoke(Method.java:585)
[19:42:14.856] at com.caucho.quercus.module.StaticFunction.invoke(StaticFunction.java:105)
[19:42:14.856] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:614)
[19:42:14.856] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:487)
[19:42:14.856] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:473)
[19:42:14.856] at com.caucho.quercus.env.JavaInvoker.callCopy(JavaInvoker.java:482)
[19:42:14.856] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:178)
[19:42:14.856] at com.caucho.quercus.expr.FunctionExpr.evalCopy(FunctionExpr.java:149)
[19:42:14.856] at com.caucho.quercus.expr.SuppressErrorExpr.evalCopy(SuppressErrorExpr.java:145)
[19:42:14.856] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77)
[19:42:14.856] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.856] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.856] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:14.856] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:14.856] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:14.856] at com.caucho.quercus.expr.EqualsExpr.evalBoolean(EqualsExpr.java:64)
[19:42:14.856] at com.caucho.quercus.expr.EqualsExpr.eval(EqualsExpr.java:56)
[19:42:14.856] at com.caucho.quercus.expr.Expr.evalCopy(Expr.java:387)
[19:42:14.856] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77)
[19:42:14.856] at com.caucho.quercus.expr.Expr.evalBoolean(Expr.java:445)
[19:42:14.856] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:74)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:75)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.856] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.856] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:14.856] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:14.856] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:14.856] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.856] at com.caucho.quercus.program.Function.callRef(Function.java:274)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethodRef(AbstractFunction.java:224)
[19:42:14.856] at com.caucho.quercus.env.QuercusClass.callMethodRef(QuercusClass.java:755)
[19:42:14.856] at com.caucho.quercus.env.ObjectExtValue.callMethodRef(ObjectExtValue.java:659)
[19:42:14.856] at com.caucho.quercus.expr.MethodCallExpr.evalRef(MethodCallExpr.java:135)
[19:42:14.856] at com.caucho.quercus.expr.AssignRefExpr.eval(AssignRefExpr.java:65)
[19:42:14.856] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.856] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:78)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.856] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.856] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:14.856] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:14.856] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:14.856] at com.caucho.quercus.expr.Expr.evalCopy(Expr.java:387)
[19:42:14.856] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77)
[19:42:14.856] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:78)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.856] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.856] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:14.856] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:14.856] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:14.856] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:14.856] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.856] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.856] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:14.856] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:14.856] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:14.856] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:14.856] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:75)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.856] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:440)
[19:42:14.856] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:551)
[19:42:14.856] at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:140)
[19:42:14.856] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:14.856] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.856] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:440)
[19:42:14.856] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:551)
[19:42:14.856] at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:140)
[19:42:14.856] at com.caucho.quercus.program.ReturnStatement.execute(ReturnStatement.java:68)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.856] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:440)
[19:42:14.856] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:551)
[19:42:14.856] at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:140)
[19:42:14.856] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:14.856] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:75)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.856] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:440)
[19:42:14.856] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:551)
[19:42:14.856] at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:140)
[19:42:14.856] at com.caucho.quercus.program.ReturnStatement.execute(ReturnStatement.java:68)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.856] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:440)
[19:42:14.856] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:551)
[19:42:14.856] at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:140)
[19:42:14.856] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:14.856] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.856] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:440)
[19:42:14.856] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:551)
[19:42:14.856] at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:140)
[19:42:14.856] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:14.856] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.856] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:440)
[19:42:14.856] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:551)
[19:42:14.856] at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:140)
[19:42:14.856] at com.caucho.quercus.program.ReturnStatement.execute(ReturnStatement.java:68)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.856] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:440)
[19:42:14.856] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:551)
[19:42:14.856] at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:140)
[19:42:14.856] at com.caucho.quercus.expr.Expr.evalCopy(Expr.java:387)
[19:42:14.856] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77)
[19:42:14.856] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.856] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.856] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:14.856] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:14.856] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:14.856] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:14.856] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.856] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.856] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.856] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:14.856] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:14.856] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:14.856] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:14.856] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:78)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:78)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.856] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.856] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:180)
[19:42:14.856] at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:125)
[19:42:14.856] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:14.856] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.856] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.856] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:180)
[19:42:14.856] at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:125)
[19:42:14.856] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:78)
[19:42:14.856] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.856] at com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:239)
[19:42:14.856] at com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:61)
[19:42:14.856] at com.caucho.quercus.page.QuercusPage.executeTop(QuercusPage.java:115)
[19:42:14.856] at com.caucho.quercus.servlet.ResinQuercusServlet.service(ResinQuercusServlet.java:125)
[19:42:14.856] at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:298)
[19:42:14.856] at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
[19:42:14.856] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
[19:42:14.856] at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:125)
[19:42:14.856] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175)
[19:42:14.856] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240)
[19:42:14.856] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
[19:42:14.856] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:477)
[19:42:14.856] at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:600)
[19:42:14.856] at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:522)
[19:42:14.856] at java.lang.Thread.run(Thread.java:595)
[19:42:14.981]jdbc/Gallery2DS.8.4:createStatement(type=1004,concurrency=1007)
[19:42:14.982]jdbc/Gallery2DS.8.4:setEscapeProcessing(false)
[19:42:14.987]jdbc/Gallery2DS.8.4:exn-execute(
[19:42:14.987] SELECT DISTINCT
[19:42:14.987] g2_AccessMap.g_accessListId
[19:42:14.987] FROM
[19:42:14.987] g2_AccessMap
[19:42:14.987] WHERE
[19:42:14.987] g2_AccessMap.g_userOrGroupId IN (5,4)
[19:42:14.987] AND
[19:42:14.987] g2_AccessMap.g_permission & '%32b' = '%32b'
[19:42:14.987] ) -> org.postgresql.util.PSQLException: ERROR: "%" is not a valid binary digit
[19:42:14.997]com.caucho.quercus.QuercusException: Query failed: ERROR: "%" is not a valid binary digit
[19:42:14.997] at com.caucho.quercus.env.Env.warning(Env.java:3526)
[19:42:14.997] at com.caucho.quercus.lib.db.PostgresModule.pg_query(PostgresModule.java:2324)
[19:42:14.997] at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
[19:42:14.997] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[19:42:14.997] at java.lang.reflect.Method.invoke(Method.java:585)
[19:42:14.997] at com.caucho.quercus.module.StaticFunction.invoke(StaticFunction.java:105)
[19:42:14.997] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:614)
[19:42:14.997] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:487)
[19:42:14.997] at com.caucho.quercus.env.JavaInvoker.call(JavaInvoker.java:473)
[19:42:14.997] at com.caucho.quercus.env.JavaInvoker.callCopy(JavaInvoker.java:482)
[19:42:14.997] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:178)
[19:42:14.997] at com.caucho.quercus.expr.FunctionExpr.evalCopy(FunctionExpr.java:149)
[19:42:14.997] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77)
[19:42:14.997] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:78)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.997] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.997] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.997] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:14.997] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:14.997] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:14.997] at com.caucho.quercus.expr.Expr.evalCopy(Expr.java:387)
[19:42:14.997] at com.caucho.quercus.expr.SuppressErrorExpr.evalCopy(SuppressErrorExpr.java:145)
[19:42:14.997] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77)
[19:42:14.997] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.997] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:78)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.997] at com.caucho.quercus.program.Function.callRef(Function.java:274)
[19:42:14.997] at com.caucho.quercus.program.AbstractFunction.callMethodRef(AbstractFunction.java:224)
[19:42:14.997] at com.caucho.quercus.env.QuercusClass.callMethodRef(QuercusClass.java:755)
[19:42:14.997] at com.caucho.quercus.env.ObjectExtValue.callMethodRef(ObjectExtValue.java:659)
[19:42:14.997] at com.caucho.quercus.expr.MethodCallExpr.evalRef(MethodCallExpr.java:135)
[19:42:14.997] at com.caucho.quercus.expr.AssignRefExpr.eval(AssignRefExpr.java:65)
[19:42:14.997] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.ForeachStatement.execute(ForeachStatement.java:82)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:75)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:75)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.997] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.997] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.997] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:14.997] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:14.997] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:14.997] at com.caucho.quercus.expr.Expr.evalCopy(Expr.java:387)
[19:42:14.997] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77)
[19:42:14.997] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:78)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.997] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.997] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.997] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:14.997] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:14.997] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:14.997] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:14.997] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.997] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.997] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.997] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:14.997] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:14.997] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:14.997] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:14.997] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:75)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.997] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.997] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.997] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:440)
[19:42:14.997] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:551)
[19:42:14.997] at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:140)
[19:42:14.997] at com.caucho.quercus.program.ReturnStatement.execute(ReturnStatement.java:68)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.997] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.997] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.997] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:440)
[19:42:14.997] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:551)
[19:42:14.997] at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:140)
[19:42:14.997] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:14.997] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.997] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.997] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.997] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:440)
[19:42:14.997] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:551)
[19:42:14.997] at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:140)
[19:42:14.997] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:14.997] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.997] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.997] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.997] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:440)
[19:42:14.997] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:551)
[19:42:14.997] at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:140)
[19:42:14.997] at com.caucho.quercus.program.ReturnStatement.execute(ReturnStatement.java:68)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.997] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.997] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.997] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:440)
[19:42:14.997] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:551)
[19:42:14.997] at com.caucho.quercus.expr.StaticMethodExpr.eval(StaticMethodExpr.java:140)
[19:42:14.997] at com.caucho.quercus.expr.Expr.evalCopy(Expr.java:387)
[19:42:14.997] at com.caucho.quercus.expr.AssignExpr.eval(AssignExpr.java:77)
[19:42:14.997] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.997] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.997] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.997] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:14.997] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:14.997] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:14.997] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:14.997] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.997] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.997] at com.caucho.quercus.program.AbstractFunction.callMethod(AbstractFunction.java:208)
[19:42:14.997] at com.caucho.quercus.env.QuercusClass.callMethod(QuercusClass.java:575)
[19:42:14.997] at com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:575)
[19:42:14.997] at com.caucho.quercus.expr.MethodCallExpr.eval(MethodCallExpr.java:106)
[19:42:14.997] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:14.997] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:78)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:78)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.997] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.997] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:180)
[19:42:14.997] at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:125)
[19:42:14.997] at com.caucho.quercus.expr.ListExpr.eval(ListExpr.java:86)
[19:42:14.997] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.Function.callImpl(Function.java:316)
[19:42:14.997] at com.caucho.quercus.program.Function.call(Function.java:264)
[19:42:14.997] at com.caucho.quercus.expr.FunctionExpr.evalImpl(FunctionExpr.java:180)
[19:42:14.997] at com.caucho.quercus.expr.FunctionExpr.eval(FunctionExpr.java:125)
[19:42:14.997] at com.caucho.quercus.program.ExprStatement.execute(ExprStatement.java:64)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.IfStatement.execute(IfStatement.java:78)
[19:42:14.997] at com.caucho.quercus.program.BlockStatement.execute(BlockStatement.java:99)
[19:42:14.997] at com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:239)
[19:42:14.997] at com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:61)
[19:42:14.997] at com.caucho.quercus.page.QuercusPage.executeTop(QuercusPage.java:115)
[19:42:14.997] at com.caucho.quercus.servlet.ResinQuercusServlet.service(ResinQuercusServlet.java:125)
[19:42:14.997] at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:298)
[19:42:14.997] at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
[19:42:14.997] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
[19:42:14.997] at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:125)
[19:42:14.997] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175)
[19:42:14.997] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240)
[19:42:14.997] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
[19:42:14.997] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:477)
[19:42:14.997] at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:600)
[19:42:14.997] at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:522)
[19:42:14.997] at java.lang.Thread.run(Thread.java:595)
[19:42:15.352]jdbc/Gallery2DS.8.0:close()
[19:42:15.352]jdbc/Gallery2DS.8.1:close()
[19:42:15.352]jdbc/Gallery2DS.8.2:close()
[19:42:15.353]jdbc/Gallery2DS.8.3:close()
[19:42:15.353]jdbc/Gallery2DS.8.4:close()
[19:42:15.353]idle PoolItem[jdbc/Gallery2DS,20,com.caucho.sql.ManagedConnectionImpl@16bb7d9]
[19:42:15.354]jdbc/Gallery2DS.8:clearWarnings()
[19:42:15.370]not-modified: /gallery2/lib/javascript/BlockToggle.js
[19:42:15.402]not-modified: /gallery2/themes/matrix/theme.css
^Croot@users:/opt/resin/bin#
 
(0001852)
damjan
04-16-07 12:16

I tried also compiled mode, but I get compile error:

[19:46:27.721] /var/www/resin/WEB-INF/work/_quercus/_gallery2/_modules/_core/_classes/_GalleryPlatform__class.java:575: void cannot be dereferenced
[19:46:27.721] return com.caucho.quercus.lib.file.FileModule.closedir(env, ((com.caucho.quercus.lib.file.DirectoryValue) env.cast(com.caucho.quercus.lib.file.DirectoryValue.class, v_resource.toValue()))).toValue();
[19:46:27.721] ^
[19:46:27.721] 1 error
[19:46:27.721]
[19:46:27.727]/var/www/resin/WEB-INF/work/_quercus/_gallery2/_modules/_core/_classes/_GalleryPlatform__class.java:575: void cannot be dereferenced
[19:46:27.727] return com.caucho.quercus.lib.file.FileModule.closedir(env, ((com.caucho.quercus.lib.file.DirectoryValue) env.cast(com.caucho.quercus.lib.file.DirectoryValue.class, v_resource.toValue()))).toValue();
[19:46:27.727] ^
[19:46:27.727]1 error
 
(0001882)
nam
04-02-07 18:27

php/4304
1. Fixed pg_connect(). It did not handle quotes, spaces, and escaping correctly for pg_connect() connection strings like dbname='foo'. So now there is no need to set the JDBC in resin-web.xml anymore. But setting a JDBC is recommended because it simplifies configuration.

php/43xx
2. Added PHP4 postgres function aliases of PHP5 equivalents.
http://us.php.net/manual/ro/ref.pgsql.php [^]
PHP4 PHP5
pg_cmdtuples() pg_affected_rows()
pg_errormessage() pg_last_error()
pg_exec() pg_query()
pg_fieldname() pg_field_name()
pg_fieldsize() pg_field_size()
pg_fieldnum() pg_field_num()
pg_fieldprtlen() pg_field_prtlen()
pg_fieldisnull() pg_field_is_null()
pg_freeresult() pg_free_result()
pg_getlastoid() pg_last_oid()
pg_loreadall() pg_lo_read_all()
pg_locreate() pg_lo_create()
pg_lounlink() pg_lo_unlink()
pg_loopen() pg_lo_open()
pg_loclose() pg_lo_close()
pg_loread() pg_lo_read()
pg_lowrite() pg_lo_write()
pg_loimport() pg_lo_import()
pg_loexport() pg_lo_export()
pg_numrows() pg_num_rows()
pg_numfields() pg_num_fields()
pg_result() pg_fetch_result()

3. 'void dereference' compile error has already been fixed for 3.1.1.

Gallery2 is now able to get to step 8. But it will fail on step 8 due to:
"Query failed: ERROR: cannot drop function bit_or(bit) because it is required by the database system [pg_exec]". I believe this is a known issue with Gallery2. Check out these posts on the Gallery2 Developer mailing list:

http://sourceforge.net/mailarchive/forum.php?thread_name=003e01c70fef%248e8aa600%24747ba8c0%40ethz.ch&forum_name=gallery-devel [^]
 

- Issue History
Date Modified Username Field Change
02-21-07 06:51 damjan New Issue
04-16-07 12:15 damjan Note Added: 0001851
04-16-07 12:16 damjan Note Added: 0001852
04-01-07 14:01 nam Status new => assigned
04-01-07 14:01 nam Assigned To  => nam
04-02-07 18:27 nam Status assigned => closed
04-02-07 18:27 nam Note Added: 0001882
04-02-07 18:27 nam Resolution open => fixed
04-02-07 18:27 nam Fixed in Version  => 3.1.1


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker