Re: [Resin-interest] Resin 3.1.5 Pligg
Mo DeJong wrote: The Pligg verbosity I mentioned in the last few snapshots its still present, which is a shame as we can't go live with such enourmous logfiles being generated. Is there some way I can turn it off? Hello Stargazer It turns out this problem was caused by Pligg's use of error_log() to write to a file in the cache directory. I fixed the problem and closed the bug report, but the fix won't be available until the next snapshot release. What you could do until then is change the Pligg code in ez_sql_core.php on line 348. You can replace the error_log() call with a call to file_put_contents() with the append option. Like so: - error_log ( serialize($result_cache), 3, $cache_file); + file_put_contents( $cache_file, serialize($result_cache), FILE_APPEND); I hope that helps It did, fixed as you described, thanks! Mo ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] Resin 3.1.5 Pligg
The Pligg verbosity I mentioned in the last few snapshots its still present, which is a shame as we can't go live with such enourmous logfiles being generated. Is there some way I can turn it off? Hello Stargazer It turns out this problem was caused by Pligg's use of error_log() to write to a file in the cache directory. I fixed the problem and closed the bug report, but the fix won't be available until the next snapshot release. What you could do until then is change the Pligg code in ez_sql_core.php on line 348. You can replace the error_log() call with a call to file_put_contents() with the append option. Like so: - error_log ( serialize($result_cache), 3, $cache_file); + file_put_contents( $cache_file, serialize($result_cache), FILE_APPEND); I hope that helps Mo ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] Resin 3.1.5 Pligg
The Pligg verbosity I mentioned in the last few snapshots its still present, which is a shame as we can't go live with such enourmous logfiles being generated. Is there some way I can turn it off? Here is a sample and a few exceptions I noticed immediately, all with a default Pligg site and just a visit to its main page: y;i:0;s:3:def;s:0:;s:4:name;s:13:category_name;s:4:type;s:6:string s:7:numeric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s:10:max_length; :0;s:5:table;s:16:pligg_categories;}i:2;O:8:stdClass:13:{s:8:not_null;i 1;s:11:primary_key;i:0;s:8:unsigned;i:0;s:4:blob;i:0;s:10:unique_key;i: ;s:3:def;s:0:;s:4:name;s:18:category_safe_name;s:4:type;s:6:string; :7:numeric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s:10:max_length;i 0;s:5:table;s:16:pligg_categories;}i:3;O:8:stdClass:13:{s:8:not_null;i: ;s:11:primary_key;i:0;s:8:unsigned;i:0;s:4:blob;i:0;s:10:unique_key;i:0 s:3:def;s:0:;s:4:name;s:13:category_lang;s:4:type;s:6:string;s:7:n meric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s:10:max_length;i:0;s:5 table;s:16:pligg_categories;}}s:11:last_result;a:2:{i:0;O:8:stdClass:4: s:18:category_safe_name;s:3:all;s:13:category_name;s:3:all;s:13:catego y_lang;s:2:en;s:11:category_id;s:1:0;}i:1;O:8:stdClass:4:{s:18:catego y_safe_name;s:5:pligg;s:13:category_name;s:5:pligg;s:13:category_lang; :2:en;s:11:category_id;s:1:1;}}s:8:num_rows;i:2;s:12:return_value;i:2 } 7-Feb-2008 22:53:28 RESIN 3.1.5 Compiling _quercus/_libs/_login__php.java 7-Feb-2008 22:53:28 RESIN 3.1.5 Compiling _quercus/_modules/_modules_0init__php java 7-Feb-2008 22:53:28 RESIN 3.1.5 Compiling _quercus/_modules/_modules_0libs__php java 7-Feb-2008 22:53:28 RESIN 3.1.5 java.lang.NoClassDefFoundError: _quercus/_modul s/_modules_0libs__php$fun_module_db_add_field 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.getDeclaredConstructo s0(Native Method) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.privateGetDeclaredCon tructors(Class.java:2389) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.getConstructor0(Class java:2699) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.newInstance0(Class.ja a:326) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.newInstance(Class.jav :308) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.quercus.page.ProPageManage .createPage(ProPageManager.java:149) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.quercus.page.ProPageManage .access$200(ProPageManager.java:39) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.quercus.page.ProPageManage $CompileThread.run(ProPageManager.java:199) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.util.ThreadPool$Item.runTa ks(ThreadPool.java:721) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.util.ThreadPool$Item.run(T readPool.java:643) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Thread.run(Thread.java:619) 7-Feb-2008 22:53:28 RESIN 3.1.5 Caused by: java.lang.ClassNotFoundException: _q ercus._modules._modules_0libs__php$fun_module_db_add_field [java.io.IOException class file length mismatch] 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. indClassImpl(DynamicClassLoader.java:1383) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. oadClassImpl(DynamicClassLoader.java:1280) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. oadClass(DynamicClassLoader.java:1213) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. oadClass(DynamicClassLoader.java:1198) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.ClassLoader.loadClassIntern l(ClassLoader.java:319) 7-Feb-2008 22:53:28 RESIN 3.1.5... 11 more ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Resin 3.1.5 Pligg
http://bugs.caucho.com/view.php?id=2460 Do you see the same thing when you clean out the WEB-INF/work? The errors look like a corrupted work directory. -- Scott On Feb 27, 2008, at 3:00 PM, Stargazer wrote: The Pligg verbosity I mentioned in the last few snapshots its still present, which is a shame as we can't go live with such enourmous logfiles being generated. Is there some way I can turn it off? Here is a sample and a few exceptions I noticed immediately, all with a default Pligg site and just a visit to its main page: y;i:0;s:3:def;s:0:;s:4:name;s:13:category_name;s:4:type;s: 6:string s:7:numeric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s: 10:max_length; :0;s:5:table;s:16:pligg_categories;}i:2;O:8:stdClass:13:{s: 8:not_null;i 1;s:11:primary_key;i:0;s:8:unsigned;i:0;s:4:blob;i:0;s: 10:unique_key;i: ;s:3:def;s:0:;s:4:name;s:18:category_safe_name;s:4:type;s: 6:string; :7:numeric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s: 10:max_length;i 0;s:5:table;s:16:pligg_categories;}i:3;O:8:stdClass:13:{s: 8:not_null;i: ;s:11:primary_key;i:0;s:8:unsigned;i:0;s:4:blob;i:0;s: 10:unique_key;i:0 s:3:def;s:0:;s:4:name;s:13:category_lang;s:4:type;s: 6:string;s:7:n meric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s: 10:max_length;i:0;s:5 table;s:16:pligg_categories;}}s:11:last_result;a:2:{i:0;O: 8:stdClass:4: s:18:category_safe_name;s:3:all;s:13:category_name;s:3:all;s: 13:catego y_lang;s:2:en;s:11:category_id;s:1:0;}i:1;O:8:stdClass:4:{s: 18:catego y_safe_name;s:5:pligg;s:13:category_name;s:5:pligg;s: 13:category_lang; :2:en;s:11:category_id;s:1:1;}}s:8:num_rows;i:2;s: 12:return_value;i:2 } 7-Feb-2008 22:53:28 RESIN 3.1.5 Compiling _quercus/_libs/ _login__php.java 7-Feb-2008 22:53:28 RESIN 3.1.5 Compiling _quercus/_modules/ _modules_0init__php java 7-Feb-2008 22:53:28 RESIN 3.1.5 Compiling _quercus/_modules/ _modules_0libs__php java 7-Feb-2008 22:53:28 RESIN 3.1.5 java.lang.NoClassDefFoundError: _quercus/_modul s/_modules_0libs__php$fun_module_db_add_field 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.getDeclaredConstructo s0(Native Method) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.privateGetDeclaredCon tructors(Class.java:2389) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.getConstructor0(Class java:2699) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.newInstance0(Class.ja a:326) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.newInstance(Class.jav :308) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.quercus.page.ProPageManage .createPage(ProPageManager.java:149) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.quercus.page.ProPageManage .access$200(ProPageManager.java:39) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.quercus.page.ProPageManage $CompileThread.run(ProPageManager.java:199) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.util.ThreadPool $Item.runTa ks(ThreadPool.java:721) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.util.ThreadPool $Item.run(T readPool.java:643) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Thread.run(Thread.java:619) 7-Feb-2008 22:53:28 RESIN 3.1.5 Caused by: java.lang.ClassNotFoundException: _q ercus._modules._modules_0libs__php$fun_module_db_add_field [java.io.IOException class file length mismatch] 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. indClassImpl(DynamicClassLoader.java:1383) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. oadClassImpl(DynamicClassLoader.java:1280) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. oadClass(DynamicClassLoader.java:1213) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. oadClass(DynamicClassLoader.java:1198) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.ClassLoader.loadClassIntern l(ClassLoader.java:319) 7-Feb-2008 22:53:28 RESIN 3.1.5... 11 more ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Resin 3.1.5 Pligg
Scott Ferguson wrote: http://bugs.caucho.com/view.php?id=2460 Do you see the same thing when you clean out the WEB-INF/work? The errors look like a corrupted work directory. -- Scott Aha! Correct for the exceptions - all gone now, yup, it was the same site as the earlier snapshots, thanks. Verbosity still present. It would be tolerable if this was the occasional few lines of debug, but the production site is too busy to go with it as things stand. Incidentally I also cleaned up the Drupal 6 test in the same way and haven't seen any exceptions since either. As there is no verbosity in with Drupal it really smells like theres been an if Pligg then debug=max line left in there somewhere... On Feb 27, 2008, at 3:00 PM, Stargazer wrote: The Pligg verbosity I mentioned in the last few snapshots its still present, which is a shame as we can't go live with such enourmous logfiles being generated. Is there some way I can turn it off? Here is a sample and a few exceptions I noticed immediately, all with a default Pligg site and just a visit to its main page: y;i:0;s:3:def;s:0:;s:4:name;s:13:category_name;s:4:type;s: 6:string s:7:numeric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s: 10:max_length; :0;s:5:table;s:16:pligg_categories;}i:2;O:8:stdClass:13:{s: 8:not_null;i 1;s:11:primary_key;i:0;s:8:unsigned;i:0;s:4:blob;i:0;s: 10:unique_key;i: ;s:3:def;s:0:;s:4:name;s:18:category_safe_name;s:4:type;s: 6:string; :7:numeric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s: 10:max_length;i 0;s:5:table;s:16:pligg_categories;}i:3;O:8:stdClass:13:{s: 8:not_null;i: ;s:11:primary_key;i:0;s:8:unsigned;i:0;s:4:blob;i:0;s: 10:unique_key;i:0 s:3:def;s:0:;s:4:name;s:13:category_lang;s:4:type;s: 6:string;s:7:n meric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s: 10:max_length;i:0;s:5 table;s:16:pligg_categories;}}s:11:last_result;a:2:{i:0;O: 8:stdClass:4: s:18:category_safe_name;s:3:all;s:13:category_name;s:3:all;s: 13:catego y_lang;s:2:en;s:11:category_id;s:1:0;}i:1;O:8:stdClass:4:{s: 18:catego y_safe_name;s:5:pligg;s:13:category_name;s:5:pligg;s: 13:category_lang; :2:en;s:11:category_id;s:1:1;}}s:8:num_rows;i:2;s: 12:return_value;i:2 } 7-Feb-2008 22:53:28 RESIN 3.1.5 Compiling _quercus/_libs/ _login__php.java 7-Feb-2008 22:53:28 RESIN 3.1.5 Compiling _quercus/_modules/ _modules_0init__php java 7-Feb-2008 22:53:28 RESIN 3.1.5 Compiling _quercus/_modules/ _modules_0libs__php java 7-Feb-2008 22:53:28 RESIN 3.1.5 java.lang.NoClassDefFoundError: _quercus/_modul s/_modules_0libs__php$fun_module_db_add_field 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.getDeclaredConstructo s0(Native Method) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.privateGetDeclaredCon tructors(Class.java:2389) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.getConstructor0(Class java:2699) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.newInstance0(Class.ja a:326) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.newInstance(Class.jav :308) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.quercus.page.ProPageManage .createPage(ProPageManager.java:149) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.quercus.page.ProPageManage .access$200(ProPageManager.java:39) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.quercus.page.ProPageManage $CompileThread.run(ProPageManager.java:199) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.util.ThreadPool $Item.runTa ks(ThreadPool.java:721) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.util.ThreadPool $Item.run(T readPool.java:643) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Thread.run(Thread.java:619) 7-Feb-2008 22:53:28 RESIN 3.1.5 Caused by: java.lang.ClassNotFoundException: _q ercus._modules._modules_0libs__php$fun_module_db_add_field [java.io.IOException class file length mismatch] 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. indClassImpl(DynamicClassLoader.java:1383) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. oadClassImpl(DynamicClassLoader.java:1280) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. oadClass(DynamicClassLoader.java:1213) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. oadClass(DynamicClassLoader.java:1198) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.ClassLoader.loadClassIntern l(ClassLoader.java:319) 7-Feb-2008 22:53:28 RESIN 3.1.5... 11 more ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest