Roundcube Community Forum

 

SQL queries making it into include() statements

Started by hixson, January 25, 2012, 05:44:44 PM

Previous topic - Next topic

hixson

Once I configured roundcube to connect to my mysql database I started getting a pageful of these errors:

Warning: include(SELECT vars, ip, UNIX_TIMESTAMP(changed) AS changed\n FROM session\n WHERE sess_id=?.php): failed to open stream: No such file or directory in /usr/local/eclipse/workspace/roundcube/program/include/iniset.php on line 104

Line 104 of iniset.php is:

  include $filename. '.php';

and since that occurs inside a loop I get a whole page of these errors.  Google turned up a site on the web that appears to be suffering from the same problem.

http://webmail.defesasocial.mg.gov.br/roundcubemail/index.php

I am using Mac OS X 10.7.2 and here is my entire phpinfo() output.  Please let me know if there is any more info I can provide.

(The forum didn't let me post all of the information because it was too long, so it is over on pastebin.)

http://pastebin.com/3rGmXLBX