Anonymous | Login | Signup for a new account | 09-07-2024 16:36 PDT |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002141 | [Quercus] | block | always | 11-05-07 08:30 | 11-13-07 19:07 | ||||
Reporter | rsouissi | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.3 | ||||||
Summary | 0002141: phpBB2 doesn't work anymore with Resin 3.1.3 Pro and non-Pro | ||||||||
Description |
Hello, phpBB2 used to work on 3.1.2 in non-compile mode, but now, it doesn't at all with 3.1.3 (I also tried the alpha 3.1.4). Version 3.1.4 was supposed to fix the issue of phpBB2 not working in compile mode. These are 2 error cases: /C:/Dev/resin-pro-3.1.3/webapps/forum/viewtopic.php:973: '*' is an unexpected token, expected an expression. in viewtopic.php:972: $pm_img = ''; viewtopic.php:973: $pm = ''; viewtopic.php:974: $email_img = ''; /C:/Dev/resin-pro-3.1.3/webapps/forum/index.php:201: '*' is an unexpected token, expected an expression. in index.php:200: AND p.post_time > " . $userdata['user_lastvisit'] . " index.php:201: AND t.topic_moved_id = 0"; index.php:202: if ( !($result = $db->sql_query($sql)) ) |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
![]() |
|
(0002458) rsouissi 11-07-07 09:57 |
I found out this problem happens because I had this parameter added to my web.xml: <init-param> <param-name>script-encoding</param-name> <param-value>windows-1256</param-value> </init-param> I needed this encoding to support Arabic pages and it used to work in 3.1.2 Non-Pro version. |
(0002472) mo 11-09-07 18:27 |
Hello rsouissi I just tested with phpBB 2.0.22 using the current dev version, the 3.1.3 release and the dev snapshot from 2007/11/06. I was not able to run phpBB with the 3.1.3 release, but it works for me with the current dev version and with the snapshot release. Could you do me a favor and download the snapshot and rerun your test to verify that this bug is fixed? http://caucho.com/download/resin-3_1-snap.zip [^] thanks Mo |
(0002475) rsouissi 11-10-07 09:56 |
Hi, Yes, I tried the latest snapshot (11/06) and the same problem happens. Did you add this to web.xml ? <init-param> <param-name>script-encoding</param-name> <param-value>iso-8859-6</param-value> </init-param> <init-param> <param-name>compile</param-name> <param-value>true</param-value> </init-param> For the encoding, you can try iso-8859-6 and windows-1256, both will fail the same way. This used to work in 3.1.2 |
(0002477) mo 11-10-07 16:40 |
Ahh, I am now able to reproduce the problem. Thanks for following up. The minimal test case for this issue is: WEB-INF/resin-web.xml: <web-app xmlns="http://caucho.com/ns/resin"> [^] <servlet servlet-name="resin-php" servlet-class="com.caucho.quercus.servlet.QuercusServlet"> <init> <script-encoding>iso-8859-6</script-encoding> </init> </servlet> <servlet-mapping url-pattern="*.php" servlet-name="resin-php"/> </web-app> test/php: <?php /**/ echo OK; ?> This generates: .../script_encoding/test.php:2: '*' is an unexpected token, expected an expression. in test.php:1: <?php test.php:2: /**/ test.php:3: echo OK; Added regression test: php\0j19.qa |
(0002486) nam 11-13-07 19:07 |
php/001b |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
38 total queries executed. 31 unique queries executed. |