Nuevos Más Visitados Más Votados Ver Todos Agregá tu Post



error propel here was an error building XML from metadata al hacer reverse

views: 507

Intentando hacer un reverse me ocurria que aparecia el siguiente error




     [echo] +-----------------------------------------------+

     [echo] |                                               |

     [echo] | Generating XML from PDO connection !          |

     [echo] |                                               |

     [echo] +-----------------------------------------------+

[PHP Error] PDO::__construct(): [2002] Invalid argument (trying to connect via unix://) [line 154 of /opt/lampp/lib/php/phing/tasks/ext/pdo/PDOTask.php]

[propel-schema-reverse] There was an error building XML from metadata: SQLSTATE[HY000] [2002] Invalid argument

[propel-schema-reverse] Schema reverse engineering finished



Para solucionarlo solo tuve que agregar en mi archivo


build.properties


una modificacion en


propel.database.url =mysql:dbname=DB;host=localhost;


le agregue al final


unix_socket=/opt/lampp/var/mysql/mysql.sock;


donde /opt/lampp/var/mysql/mysql.sock; es la ruta al archivo mysql.sock, quedando entonces


propel.database.url =mysql:dbname=DB;host=localhost;unix_socket=/opt/lampp/var/mysql/mysql.sock;


guarde probe , y todo perfecto


 


Recuerda que para tiempo de ejecucion tambien debes hacer el mismo fix en runtime.conf


y el archivo generado de configuracion de bases de datos en ejecucion.


Cómo Calificas este artículo?:
1 2 3 4 5

Errores HTTP

** (2.00)
views: 500

1xx Informational


100 Continue

101 Switching Protocols
102 Processing (WebDAV) (RFC 2518)
122 Request-URI too long
A Microsoft extension which occurs only in IE7, when the request URI is longer than 2032 characters.

2xx Success


 


200 OK


201 Created


202 Accepted


203 Non-Authoritative Information (since HTTP/1.1)
204 No Content
205 Reset Content
206 Partial Content


207 Multi-Status (WebDAV)



 


 


3xx Redirection


 


300 Multiple Choices


301 Moved Permanently


302 Found


303 See Other (since HTTP/1.1)
304 Not Modified


305 Use Proxy (since HTTP/1.1)


306 Switch Proxy


307 Temporary Redirect (since HTTP/1.1)


 


4xx Client Error


 


400 Bad Request


401 Unauthorized


402 Payment Required


403 Forbidden


404 Not Found  


405 Method Not Allowed


406 Not Acceptable
407 Proxy Authentication Required
408 Request Timeout


409 Conflict


410 Gone
411 Length Required


412 Precondition Failed
413 Request Entity Too Large


414 Request-URI Too Long


415 Unsupported Media Type


416 Requested Range Not Satisfiable


417 Expectation Failed
418 I'm a teapot


422 Unprocessable Entity (WebDAV) (RFC 4918)


423 Locked (WebDAV) (RFC 4918)


424 Failed Dependency (WebDAV) (RFC 4918)


425 Unordered Collection


426 Upgrade Required (RFC 2817)


449 Retry With


450 Blocked


 


5xx Server Error


 


500 Internal Server Error
501 Not Implemented


502 Bad Gateway
503 Service Unavailable
504 Gateway Timeout
505 HTTP Version Not Supported
506 Variant Also Negotiates (RFC 2295)
507 Insufficient Storage (WebDAV) (RFC 4918)
509 Bandwidth Limit Exceeded (Apache bw/limited extension)


510 Not Extended (RFC 2774)


 


 


Cómo Calificas este artículo?:
1 2 3 4 5

VB: Run-time error '-2147221020 (800401e3)': Automation Error Invalid Syntax

*+ (1.67)
views: 499


Este error ocurre si intentas instalar un objeto java como SomeJvmId que no ha sido previamente registrado


ejem


Set o = GetObject("SomeJvmId:SomeJavaClass")



para registrarlo debes usar regjvm en linea de comando mas el nombre del objeto, esto se hace solo la primera vez




Cómo Calificas este artículo?:
1 2 3 4 5

Leer un textarea desde Javascript con JQUERY

***** (5.00)
views: 495

Varias personas me preguntaron sobre este tema y la verdad es que es muy simple pero para los que recien comienzan es medio confuso , lo que se debe hacer es


$('#textarea_id').val();


donde "textarea_id" es el id del textarea


Saludos


Cómo Calificas este artículo?:
1 2 3 4 5

$F('radiobuttonid') en prototype no trae el valor correcto del radio button

**+ (2.33)
views: 410

al traer el valor de un radio button con la funcion de prototype $F no trae el valor correcto del radio button elegido


para solucionar este problema hay una solucion basada en prototype


http://www.codigogratis.com.ar/-post-153-funcion_para_obtener_el_valor_de_un_radio_button_con_javascript_y_prototype.html


 


Cómo Calificas este artículo?:
1 2 3 4 5


Google