I used the csplitter in Drupal4.7. I got an error when I use csplitter. When I go to setting->csplitter, it gives me an error:
Fatal error: Unsupported operand types in /home/ftp/512j.com/f/o/r/forthgoer/includes/form.inc on line 88
When I search, it gives me an error
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 78 bytes) in /home/ftp/512j.com/f/o/r/forthgoer/modules/csplitter/csplitter.module on line 127 and no realsut comes out
It doesn't show me the error in locally. when I upload to the server, it doesn't work. My server only supports Mysql4.0. And I don't have the priviliage to lock the table, so I delete the code which locking the tables and unlocking the tables
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | csplitter.zip | 2.96 KB | zealy |
Comments
Comment #1
zealy commentedFirst fatal error only depend on your runtime configuration, I think so. I can't reproduce this error.
Second fatal error is drupal script beyond memory limit which is defined in php.ini obviously. I've tested this module in 16M memory limit configuration, it looked like running well. I can make lines in that function inline, it will help to decrease memory requirement. I'll paste a patch here in several days. You can try it, if it was not work, I think you have to give up this module or other module to decrease drupal script memory.
Comment #2
ethanzhong commentedThank you very much! ^^ 谢谢
Comment #3
zealy commentedMake function inline. It will decrease memory requirement. Please try it and tell me result, thank you.
Comment #4
zealy commentedAbout fatal error in form.inc, I think it caused by no mbstring support in your php entironment. Please check it, thank you.
Comment #5
ethanzhong commentedYeah, I think so. Thank you very much. You work is very helpful for most chinese who is developing with drupal. ^^
Comment #6
zealy commentedI think it's fixed...
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.