Skip to content

Instantly share code, notes, and snippets.

View hobodave's full-sized avatar
🎯
Focusing

David Abdemoulaie hobodave

🎯
Focusing
View GitHub Profile
I'm using apache-2.2.9 and php 5.2.6-r2. I am also getting spammed with tons of OPTIONS requests, several times a minute. Please let me know what other information I can provide.
[Fri Aug 15 10:37:40 2008] [notice] child pid 627 exit signal Segmentation fault (11)
[Fri Aug 15 10:37:46 2008] [notice] child pid 485 exit signal Segmentation fault (11)
[Fri Aug 15 10:37:52 2008] [notice] child pid 803 exit signal Segmentation fault (11)
[Fri Aug 15 12:22:49 2008] [notice] child pid 11354 exit signal Segmentation fault (11)
[Fri Aug 15 12:23:15 2008] [notice] child pid 11387 exit signal Segmentation fault (11)
[Fri Aug 15 12:23:22 2008] [notice] child pid 11005 exit signal Segmentation fault (11)
[Fri Aug 15 12:23:28 2008] [notice] child pid 11003 exit signal Segmentation fault (11)
[Fri Aug 15 12:23:35 2008] [notice] child pid 10854 exit signal Segmentation fault (11)
Mon Aug 04 04:53:12 2008] [notice] child pid 25488 exit signal Segmentation fault (11)
[Mon Aug 04 06:19:41 2008] [notice] child pid 30818 exit signal Segmentation fault (11)
[Mon Aug 04 07:07:31 2008] [notice] child pid 4735 exit signal Segmentation fault (11)
[Mon Aug 04 12:53:15 2008] [notice] child pid 9467 exit signal Segmentation fault (11)
[Mon Aug 04 12:53:25 2008] [notice] child pid 8371 exit signal Segmentation fault (11)
[Mon Aug 04 12:53:39 2008] [notice] child pid 9626 exit signal Segmentation fault (11)
[Mon Aug 04 12:53:49 2008] [notice] child pid 7923 exit signal Segmentation fault (11)
[Mon Aug 04 12:53:59 2008] [notice] child pid 8451 exit signal Segmentation fault (11)
[Mon Aug 04 12:54:08 2008] [notice] child pid 9679 exit signal Segmentation fault (11)
[Mon Aug 04 12:54:37 2008] [notice] child pid 9678 exit signal Segmentation fault (11)
<routes>
<resources>
<articles />
<avatars>
<member>
<select>post</select>
<deselect>post</select>
</member>
</avatars>
<categories>
## core dump
Core was generated by `/usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D SSL_DEFAULT_VH'.
Program terminated with signal 11, Segmentation fault.
#0 0xb7f801a4 in crc32 () from /lib/libz.so.1
(gdb) bt full
#0 0xb7f801a4 in crc32 () from /lib/libz.so.1
No symbol table info available.
#1 0x00000000 in ?? ()
No symbol table info available.
chromium /tmp: equery belongs /lib/libz.so
[ Searching for file(s) /lib/libz.so in *... ]
sys-libs/zlib-1.2.3-r1 (/lib/libz.so -> libz.so.1.2.3)
chromium /tmp: sudo emerge -uav zlib
These are the packages that would be merged, in order:
Calculating dependencies /
!!! Problem in 'sys-libs/zlib' dependencies.
davids-macbook-pro ~/dev/php/work/project: git st
# On branch master
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
#
# modified: lib/config.php
#
no changes added to commit (use "git add" and/or "git commit -a")
davids-macbook-pro ~/dev/php/work/project: git add .
davids-macbook-pro ~/dev/php/work/project: git st
<?php
public function destroyAction()
{
$params = $this->_request->getParams();
var_dump($params);
var_dump(Zend_Controller_Front::getInstance()->getRouter()->getRoutes());
die;
if (! ($this->_request->isDelete() || $params['_method'] == 'delete')) {
throw new Sentact_Controller_Exception('Invalid request method for this action');
}
CREATE TABLE forum
(
id INTEGER,
name VARCHAR(25),
PRIMARY KEY(id)
);
CREATE TABLE score
(
forum_id INTEGER,
CREATE TABLE forum
(
id INTEGER,
name VARCHAR(25),
PRIMARY KEY(id)
);
CREATE TABLE post
(
forum_id INTEGER,
<?php
public function preUpdate($event) {
$this->preInsert($event);
}
public function preInsert($event) {
if ($this->chemical_id != 0 && $this->dChemical->profile_id != 0) {
$this->profile_id = $this->dChemical->profile_id;
}