Caucho Forums  

This forum is permanently closed because of spam. For free community support, please visit Google Groups:


Go Back   Caucho Forums > Quercus

Reply
 
Thread Tools Display Modes
  #1  
Old 06-21-2010, 11:22 AM
andrei048 andrei048 is offline
Junior Member
 
Join Date: Jun 2010
Posts: 2
Exclamation Quercus and phpMyAdmin problem

Hello,

I am using Quercus with Glassfish and I am trying to install phpMyAdmin.

When I browse to the phpMyAdmin site I get the following error:

"Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly."

Can anyone tell me please how can this be fixed or where can I see the errors generated ? I tried the server.log file of the Glassfish server, but there is nothing there that can help.

Thank you.
Reply With Quote
  #2  
Old 06-27-2010, 10:45 AM
domdorn domdorn is offline
Administrator
 
Join Date: Dec 2009
Location: Vienna / Austria
Posts: 97
Default

Please provide the following informations

which version of
- quercus
- glassfish
- phpMyAdmin

do you use?

Please try the newest quercus version 4.0.7
http://caucho.com/download/quercus-4.0.7.war
Reply With Quote
  #3  
Old 06-30-2010, 06:12 PM
andrei048 andrei048 is offline
Junior Member
 
Join Date: Jun 2010
Posts: 2
Default Still not working

Thank you for the reply.

Still no progress.

I was using quercus version 4.0.3 and now I upgraded to 4.0.7
I am using phpMyAdmin-3.3.4-all-languages and GlassFish v3 (build 74.2).

The error message is the same:

"Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly."

How can I configure quercus PHP and how can I see the php/quercus logs if there are any ?

Thanks.
Reply With Quote
  #4  
Old 07-15-2010, 02:14 AM
dherrup dherrup is offline
Junior Member
 
Join Date: Jul 2010
Posts: 2
Default More Information

Hello,

Andrei and I working together on this. I have more information:

In the glassfish server logs we see the following:

[#|2010-07-14T20:58:18.074-0400|FINEST|glassfishv3.0|com.caucho.quercus.env.E nv|_ThreadID=33;_ThreadName=Thread-1;ClassName=com.caucho.quercus.env.Env;MethodName= error;|com.caucho.quercus.QuercusException: $_SESSION is an undefined variable
com.caucho.quercus.QuercusException: $_SESSION is an undefined variable

followed by the java stack trace (let me know if that would be helpful)

Followed later by:

[#|2010-07-14T20:58:18.088-0400|FINEST|glassfishv3.0|com.caucho.quercus.env.E nv|_ThreadID=33;_ThreadName=Thread-1;ClassName=com.caucho.quercus.env.Env;MethodName= error;|com.caucho.quercus.QuercusException: cannot redefine constant SID [session_start]
com.caucho.quercus.QuercusException: cannot redefine constant SID [session_start]

<<Java Stack Trace>>

Followed later by:

[#|2010-07-14T20:58:18.152-0400|FINER|glassfishv3.0|com.caucho.quercus.env.En v|_ThreadID=33;_ThreadName=Thread-1;ClassName=com.caucho.quercus.env.Env;MethodName= warning;|com.caucho.quercus.QuercusException: function '_internal_url_rewriter' called with 2 arguments, but only expects 1 arguments
com.caucho.quercus.QuercusException: function '_internal_url_rewriter' called with 2 arguments, but only expects 1 arguments

<<Java Stack Trace>>
Reply With Quote
  #5  
Old 07-16-2010, 05:34 PM
dherrup dherrup is offline
Junior Member
 
Join Date: Jul 2010
Posts: 2
Default

Looks like bug 3971. I can reproduce the bug on my install. Any word on when this will be fixed? I am running 4.0.8.
Reply With Quote
  #6  
Old 08-13-2010, 01:51 PM
klemens klemens is offline
Junior Member
 
Join Date: Aug 2010
Posts: 1
Default

Hi,
I have the same problem with phpMyAdmin and
- apache-tomcat-6.0.29
- quercus-4.0.8

I haven't found out yet where the php logs are written to in Tomcat though.
Reply With Quote
  #7  
Old 10-07-2010, 05:43 PM
domdorn domdorn is offline
Administrator
 
Join Date: Dec 2009
Location: Vienna / Austria
Posts: 97
Default

3971 isn't reproducable with 4.0.11 and php 5.3.2

Please take a look at the bug and provide an additional testcase.
Reply With Quote
  #8  
Old 12-20-2010, 07:31 AM
tsuruno tsuruno is offline
Junior Member
 
Join Date: Dec 2010
Posts: 1
Default

Hello, I have same problem.


Quercus 4.0.11
phpMyAdmin phpMyAdmin-3.3.8.1-all-languages
Tomcat 5.5.29
err message
"Cannot start session without errors,...."

but...below will work.
Quercus 3.2.1
phpMyAdmin phpMyAdmin-2.11.11.1-english
Tomcat 5.5.29

If possible, I want to work quercus with GAE (local test with tomcat).
do you have any information?

Thanks.
Reply With Quote
  #9  
Old 12-23-2010, 05:41 PM
domdorn domdorn is offline
Administrator
 
Join Date: Dec 2009
Location: Vienna / Austria
Posts: 97
Default

I've got a fix for most of the issues with phpmyadmin (3.3.1).
I'll try to bring them into the next release.

Merry Xmas everyone!
Reply With Quote
  #10  
Old 12-23-2010, 07:25 PM
domdorn domdorn is offline
Administrator
 
Join Date: Dec 2009
Location: Vienna / Austria
Posts: 97
Default

fixed in current trunk.

You'll have to switch to authorization type config, as there's still a problem with blowfish encryption.

the server configuration should look like this:

$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['AllowNoPassword'] = false;
$cfg['Servers'][$i]['username'] = "root";
$cfg['Servers'][$i]['password'] = "somepass";


also make sure to add a security constraint in your web.xml to the directory where you deploy phpmyadmin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:09 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.