Guest User

Untitled

a guest
Oct 1st, 2013
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 10.66 KB | None | 0 0
  1. Create DB
  2. Setup DB
  3. string(19) "pgsql://@/nominatim"
  4. object(DB_Error)#4 (8) {
  5.   ["error_message_prefix"]=>
  6.   string(0) ""
  7.   ["mode"]=>
  8.   int(1)
  9.   ["level"]=>
  10.   int(1024)
  11.   ["code"]=>
  12.   int(-25)
  13.   ["message"]=>
  14.   string(29) "DB Error: extension not found"
  15.   ["userinfo"]=>
  16.   string(55) " [DB Error: extension not found] ** pgsql://@/nominatim"
  17.   ["backtrace"]=>
  18.   array(7) {
  19.     [0]=>
  20.     array(6) {
  21.       ["file"]=>
  22.       string(22) "/usr/share/pear/DB.php"
  23.       ["line"]=>
  24.       int(966)
  25.       ["function"]=>
  26.       string(10) "PEAR_Error"
  27.       ["class"]=>
  28.       string(10) "PEAR_Error"
  29.       ["type"]=>
  30.       string(2) "->"
  31.       ["args"]=>
  32.       array(5) {
  33.         [0]=>
  34.         string(29) "DB Error: extension not found"
  35.         [1]=>
  36.         int(-25)
  37.         [2]=>
  38.         int(1)
  39.         [3]=>
  40.         int(1024)
  41.         [4]=>
  42.         string(32) " [DB Error: extension not found]"
  43.       }
  44.     }
  45.     [1]=>
  46.     array(7) {
  47.       ["file"]=>
  48.       string(24) "/usr/share/pear/PEAR.php"
  49.       ["line"]=>
  50.       int(531)
  51.       ["function"]=>
  52.       string(8) "DB_Error"
  53.       ["class"]=>
  54.       string(8) "DB_Error"
  55.       ["object"]=>
  56.       *RECURSION*
  57.       ["type"]=>
  58.       string(2) "->"
  59.       ["args"]=>
  60.       array(4) {
  61.         [0]=>
  62.         int(-25)
  63.         [1]=>
  64.         int(1)
  65.         [2]=>
  66.         int(1024)
  67.         [3]=>
  68.         string(32) " [DB Error: extension not found]"
  69.       }
  70.     }
  71.     [2]=>
  72.     array(7) {
  73.       ["file"]=>
  74.       string(29) "/usr/share/pear/DB/common.php"
  75.       ["line"]=>
  76.       int(1908)
  77.       ["function"]=>
  78.       string(10) "raiseError"
  79.       ["class"]=>
  80.       string(4) "PEAR"
  81.       ["object"]=>
  82.       object(DB_pgsql)#3 (28) {
  83.         ["phptype"]=>
  84.         string(5) "pgsql"
  85.         ["dbsyntax"]=>
  86.         string(5) "pgsql"
  87.         ["features"]=>
  88.         array(7) {
  89.           ["limit"]=>
  90.           string(5) "alter"
  91.           ["new_link"]=>
  92.           string(5) "4.3.0"
  93.           ["numrows"]=>
  94.           bool(true)
  95.           ["pconnect"]=>
  96.           bool(true)
  97.           ["prepare"]=>
  98.           bool(false)
  99.           ["ssl"]=>
  100.           bool(true)
  101.           ["transactions"]=>
  102.           bool(true)
  103.         }
  104.         ["errorcode_map"]=>
  105.         array(0) {
  106.         }
  107.         ["connection"]=>
  108.         NULL
  109.         ["dsn"]=>
  110.         array(0) {
  111.         }
  112.         ["autocommit"]=>
  113.         bool(true)
  114.         ["transaction_opcount"]=>
  115.         int(0)
  116.         ["affected"]=>
  117.         int(0)
  118.         ["row"]=>
  119.         array(0) {
  120.         }
  121.         ["_num_rows"]=>
  122.         array(0) {
  123.         }
  124.         ["fetchmode"]=>
  125.         int(1)
  126.         ["fetchmode_object_class"]=>
  127.         string(8) "stdClass"
  128.         ["was_connected"]=>
  129.         NULL
  130.         ["last_query"]=>
  131.         string(0) ""
  132.         ["options"]=>
  133.         array(8) {
  134.           ["result_buffering"]=>
  135.           int(500)
  136.           ["persistent"]=>
  137.           bool(false)
  138.           ["ssl"]=>
  139.           bool(false)
  140.           ["debug"]=>
  141.           int(0)
  142.           ["seqname_format"]=>
  143.           string(6) "%s_seq"
  144.           ["autofree"]=>
  145.           bool(false)
  146.           ["portability"]=>
  147.           int(0)
  148.           ["optimize"]=>
  149.           string(11) "performance"
  150.         }
  151.         ["last_parameters"]=>
  152.         array(0) {
  153.         }
  154.         ["prepare_tokens"]=>
  155.         array(0) {
  156.         }
  157.         ["prepare_types"]=>
  158.         array(0) {
  159.         }
  160.         ["prepared_queries"]=>
  161.         array(0) {
  162.         }
  163.         ["_last_query_manip"]=>
  164.         bool(false)
  165.         ["_next_query_manip"]=>
  166.         bool(false)
  167.         ["_debug"]=>
  168.         bool(false)
  169.         ["_default_error_mode"]=>
  170.         NULL
  171.         ["_default_error_options"]=>
  172.         NULL
  173.         ["_default_error_handler"]=>
  174.         string(0) ""
  175.         ["_error_class"]=>
  176.         string(8) "DB_Error"
  177.         ["_expected_errors"]=>
  178.         array(0) {
  179.         }
  180.       }
  181.       ["type"]=>
  182.       string(2) "->"
  183.       ["args"]=>
  184.       array(7) {
  185.         [0]=>
  186.         NULL
  187.         [1]=>
  188.         int(-25)
  189.         [2]=>
  190.         NULL
  191.         [3]=>
  192.         NULL
  193.         [4]=>
  194.         string(32) " [DB Error: extension not found]"
  195.         [5]=>
  196.         string(8) "DB_Error"
  197.         [6]=>
  198.         bool(true)
  199.       }
  200.     }
  201.     [3]=>
  202.     array(7) {
  203.       ["file"]=>
  204.       string(28) "/usr/share/pear/DB/pgsql.php"
  205.       ["line"]=>
  206.       int(212)
  207.       ["function"]=>
  208.       string(10) "raiseError"
  209.       ["class"]=>
  210.       string(9) "DB_common"
  211.       ["object"]=>
  212.       object(DB_pgsql)#3 (28) {
  213.         ["phptype"]=>
  214.         string(5) "pgsql"
  215.         ["dbsyntax"]=>
  216.         string(5) "pgsql"
  217.         ["features"]=>
  218.         array(7) {
  219.           ["limit"]=>
  220.           string(5) "alter"
  221.           ["new_link"]=>
  222.           string(5) "4.3.0"
  223.           ["numrows"]=>
  224.           bool(true)
  225.           ["pconnect"]=>
  226.           bool(true)
  227.           ["prepare"]=>
  228.           bool(false)
  229.           ["ssl"]=>
  230.           bool(true)
  231.           ["transactions"]=>
  232.           bool(true)
  233.         }
  234.         ["errorcode_map"]=>
  235.         array(0) {
  236.         }
  237.         ["connection"]=>
  238.         NULL
  239.         ["dsn"]=>
  240.         array(0) {
  241.         }
  242.         ["autocommit"]=>
  243.         bool(true)
  244.         ["transaction_opcount"]=>
  245.         int(0)
  246.         ["affected"]=>
  247.         int(0)
  248.         ["row"]=>
  249.         array(0) {
  250.         }
  251.         ["_num_rows"]=>
  252.         array(0) {
  253.         }
  254.         ["fetchmode"]=>
  255.         int(1)
  256.         ["fetchmode_object_class"]=>
  257.         string(8) "stdClass"
  258.         ["was_connected"]=>
  259.         NULL
  260.         ["last_query"]=>
  261.         string(0) ""
  262.         ["options"]=>
  263.         array(8) {
  264.           ["result_buffering"]=>
  265.           int(500)
  266.           ["persistent"]=>
  267.           bool(false)
  268.           ["ssl"]=>
  269.           bool(false)
  270.           ["debug"]=>
  271.           int(0)
  272.           ["seqname_format"]=>
  273.           string(6) "%s_seq"
  274.           ["autofree"]=>
  275.           bool(false)
  276.           ["portability"]=>
  277.           int(0)
  278.           ["optimize"]=>
  279.           string(11) "performance"
  280.         }
  281.         ["last_parameters"]=>
  282.         array(0) {
  283.         }
  284.         ["prepare_tokens"]=>
  285.         array(0) {
  286.         }
  287.         ["prepare_types"]=>
  288.         array(0) {
  289.         }
  290.         ["prepared_queries"]=>
  291.         array(0) {
  292.         }
  293.         ["_last_query_manip"]=>
  294.         bool(false)
  295.         ["_next_query_manip"]=>
  296.         bool(false)
  297.         ["_debug"]=>
  298.         bool(false)
  299.         ["_default_error_mode"]=>
  300.         NULL
  301.         ["_default_error_options"]=>
  302.         NULL
  303.         ["_default_error_handler"]=>
  304.         string(0) ""
  305.         ["_error_class"]=>
  306.         string(8) "DB_Error"
  307.         ["_expected_errors"]=>
  308.         array(0) {
  309.         }
  310.       }
  311.       ["type"]=>
  312.       string(2) "->"
  313.       ["args"]=>
  314.       array(1) {
  315.         [0]=>
  316.         int(-25)
  317.       }
  318.     }
  319.     [4]=>
  320.     array(7) {
  321.       ["file"]=>
  322.       string(22) "/usr/share/pear/DB.php"
  323.       ["line"]=>
  324.       int(556)
  325.       ["function"]=>
  326.       string(7) "connect"
  327.       ["class"]=>
  328.       string(8) "DB_pgsql"
  329.       ["object"]=>
  330.       object(DB_pgsql)#3 (28) {
  331.         ["phptype"]=>
  332.         string(5) "pgsql"
  333.         ["dbsyntax"]=>
  334.         string(5) "pgsql"
  335.         ["features"]=>
  336.         array(7) {
  337.           ["limit"]=>
  338.           string(5) "alter"
  339.           ["new_link"]=>
  340.           string(5) "4.3.0"
  341.           ["numrows"]=>
  342.           bool(true)
  343.           ["pconnect"]=>
  344.           bool(true)
  345.           ["prepare"]=>
  346.           bool(false)
  347.           ["ssl"]=>
  348.           bool(true)
  349.           ["transactions"]=>
  350.           bool(true)
  351.         }
  352.         ["errorcode_map"]=>
  353.         array(0) {
  354.         }
  355.         ["connection"]=>
  356.         NULL
  357.         ["dsn"]=>
  358.         array(0) {
  359.         }
  360.         ["autocommit"]=>
  361.         bool(true)
  362.         ["transaction_opcount"]=>
  363.         int(0)
  364.         ["affected"]=>
  365.         int(0)
  366.         ["row"]=>
  367.         array(0) {
  368.         }
  369.         ["_num_rows"]=>
  370.         array(0) {
  371.         }
  372.         ["fetchmode"]=>
  373.         int(1)
  374.         ["fetchmode_object_class"]=>
  375.         string(8) "stdClass"
  376.         ["was_connected"]=>
  377.         NULL
  378.         ["last_query"]=>
  379.         string(0) ""
  380.         ["options"]=>
  381.         array(8) {
  382.           ["result_buffering"]=>
  383.           int(500)
  384.           ["persistent"]=>
  385.           bool(false)
  386.           ["ssl"]=>
  387.           bool(false)
  388.           ["debug"]=>
  389.           int(0)
  390.           ["seqname_format"]=>
  391.           string(6) "%s_seq"
  392.           ["autofree"]=>
  393.           bool(false)
  394.           ["portability"]=>
  395.           int(0)
  396.           ["optimize"]=>
  397.           string(11) "performance"
  398.         }
  399.         ["last_parameters"]=>
  400.         array(0) {
  401.         }
  402.         ["prepare_tokens"]=>
  403.         array(0) {
  404.         }
  405.         ["prepare_types"]=>
  406.         array(0) {
  407.         }
  408.         ["prepared_queries"]=>
  409.         array(0) {
  410.         }
  411.         ["_last_query_manip"]=>
  412.         bool(false)
  413.         ["_next_query_manip"]=>
  414.         bool(false)
  415.         ["_debug"]=>
  416.         bool(false)
  417.         ["_default_error_mode"]=>
  418.         NULL
  419.         ["_default_error_options"]=>
  420.         NULL
  421.         ["_default_error_handler"]=>
  422.         string(0) ""
  423.         ["_error_class"]=>
  424.         string(8) "DB_Error"
  425.         ["_expected_errors"]=>
  426.         array(0) {
  427.         }
  428.       }
  429.       ["type"]=>
  430.       string(2) "->"
  431.       ["args"]=>
  432.       array(2) {
  433.         [0]=>
  434.         array(9) {
  435.           ["phptype"]=>
  436.           string(5) "pgsql"
  437.           ["dbsyntax"]=>
  438.           string(5) "pgsql"
  439.           ["username"]=>
  440.           string(0) ""
  441.           ["password"]=>
  442.           bool(false)
  443.           ["protocol"]=>
  444.           string(3) "tcp"
  445.           ["hostspec"]=>
  446.           string(0) ""
  447.           ["port"]=>
  448.           bool(false)
  449.           ["socket"]=>
  450.           bool(false)
  451.           ["database"]=>
  452.           string(9) "nominatim"
  453.         }
  454.         [1]=>
  455.         bool(false)
  456.       }
  457.     }
  458.     [5]=>
  459.     array(6) {
  460.       ["file"]=>
  461.       string(39) "/home/warbaque/git/Nominatim/lib/db.php"
  462.       ["line"]=>
  463.       int(7)
  464.       ["function"]=>
  465.       string(7) "connect"
  466.       ["class"]=>
  467.       string(2) "DB"
  468.       ["type"]=>
  469.       string(2) "::"
  470.       ["args"]=>
  471.       array(2) {
  472.         [0]=>
  473.         string(19) "pgsql://@/nominatim"
  474.         [1]=>
  475.         bool(false)
  476.       }
  477.     }
  478.     [6]=>
  479.     array(4) {
  480.       ["file"]=>
  481.       string(44) "/home/warbaque/git/Nominatim/utils/setup.php"
  482.       ["line"]=>
  483.       int(109)
  484.       ["function"]=>
  485.       string(5) "getDB"
  486.       ["args"]=>
  487.       array(0) {
  488.       }
  489.     }
  490.   }
  491.   ["callback"]=>
  492.   NULL
  493. }
  494. ERROR: DB Error: extension not found
  495. DB Error: extension not found
Advertisement
Add Comment
Please, Sign In to add comment