ID:               48426
 User updated by:  jengert at gmail dot com
 Reported By:      jengert at gmail dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Apache2 related
 Operating System: OS X 10.5
 PHP Version:      5.2.9
 New Comment:

permissions set wrong on file
I'm sorry for submitting this!


Previous Comments:
------------------------------------------------------------------------

[2009-05-29 06:20:38] jengert at gmail dot com

Description:
------------
my table looks like this

CREATE TABLE `volunteer` (
  `volunteer_id` integer PRIMARY KEY,
  `origin_id` int(10) NOT NULL,
  `name` varchar(200) NOT NULL,
  UNIQUE (`name`)
);

Works via command line, not through apache (with and w/o entropy)

Reproduce code:
---------------
$db =  new PDO('sqlite:mealdata.sqlite');
$querystring = "INSERT INTO `volunteer` (`origin_id` , `name`) VALUES
(3, 'my name')";
$query = $db->exec($querystring);
echo $query;

Expected result:
----------------
1

Actual result:
--------------
0


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48426&edit=1

Reply via email to