getk2 / k2

K2 - the powerful content extension for Joomla
https://getk2.org
GNU General Public License v3.0
135 stars 96 forks source link

not work with php 5.6 #201

Closed onepx closed 8 years ago

onepx commented 10 years ago

apache 2.4.10 php 5.6 ( mod_php ) Joomla 2.5.24 k2 2.6.8

when save k2 content, will kill a apache process, and content won't be saved. apache error_log: [core:notice] [pid xxxx] AH00052: child pid xxxx exit signal Segmentation fault (11)

apache 2.4.10 php5.6 ( php-fpm ) Joomla 2.5.24 k2 2.6.8

php-fpm error log: [23-Sep-2014 07:52:27] WARNING: [pool www] child 2121 exited on signal 11 (SIGSEGV - core dumped) after 563.801294 seconds from start [23-Sep-2014 07:52:27] NOTICE: [pool www] child 2138 started

kavadas commented 10 years ago

Hi. Try to enable system debugger set error reporting to "Development" under Joomla! global configuration and try to add an image again. If you see any errors let me know.

onepx commented 10 years ago

When hit the save button, the only error message is "http 503".Service Unavailable. Because apache process died.

fevangelou commented 10 years ago

Check the Apache error log. On Sep 24, 2014 3:27 PM, "onepx" notifications@github.com wrote:

When hit the save button, the only error message is "http 503".Service Unavailable. Because apache process died.

— Reply to this email directly or view it on GitHub https://github.com/joomlaworks/k2/issues/201#issuecomment-56659482.

onepx commented 10 years ago

apache 2.4.10 php 5.6 ( php-fpm )

this is the error log by php-fpm: [26-Sep-2014 02:17:43] WARNING: [pool www] child 1196 exited on signal 11 (SIGSEGV - core dumped) after 149.911918 seconds from start [26-Sep-2014 02:17:43] NOTICE: [pool www] child 2199 started

this is the error log by apache: [Fri Sep 26 02:17:43.100141 2014] [proxy_fcgi:error] [pid 1641:tid 3012557680] [client 192.168.1.131:56344] AH01067: Failed to read FastCGI header, referer: http://www.domain.com/administrator/index.php?option=com_k2&view=item&cid=112 [Fri Sep 26 02:17:43.100215 2014] [proxy_fcgi:error] pid 1641:tid 3012557680Connection reset by peer: [client 192.168.1.131:56344] AH01075: Error dispatching request to : , referer: http://www.domain.com/administrator/index.php?option=com_k2&view=item&cid=112

this is apache access.log: 192.168.1.131 - - [26/Sep/2014:02:17:41 -0400] "POST /administrator/index.php HTTP/1.1" 503 299 "http://www.domain.com/administrator/index.php?option=com_k2&view=item&cid=112" "Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0"

when downgrade php from 5.6 to 5.5.17, it works fine.

kavadas commented 10 years ago

This does not help at all. These are logs regarding the server process. We need logs for the actual application ( K2 ) to spot any errors. We will make some tests and come back to this.

kavadas commented 8 years ago

Cannot verify the issue. Everything works fine for me under PHP 5.6 .