------------------------------- Mensaje original
-------------------------------
Asunto: RE: [Alba-usuario] Problema/error al cargar alumnos
De: "Alejandro Rodriguez" <ale_laburo_on_line@hotmail.com>
Fecha: Jue, 7 de Febrero de 2008, 1:31 am
Para: "Discusiones de los usuarios del Proyecto Alba"
<alba-usuario@lists.ourproject.org>
--------------------------------------------------------------------------------
Aquà el error obtenido pero corriendo en modo depuracion... espero
el formato sea legible sino me avisan...
Muchas pero muchas gracias por la dedicación... estoy muy
interesado en utilizarlo en el centro de capacitacion el sistema
Ale
[PropelException]
Unable to parse date/time value for [fecha_nacimiento] from input:
'16-12-1977'
stack trace
at ()
in SF_ROOT_DIR\lib\model\om\BaseAlumno.php line 398 ...
if ($v !== null && !is_int($v)) { $ts = strtotime($v);
if ($ts === -1 || $ts === false) { throw new
PropelException("Unable to parse date/time value for [fecha_nacimiento]
from input: " . var_export($v, true)); } } else {
$ts = $v;at BaseAlumno->setFechaNacimiento('16-12-1977')
in SF_ROOT_DIR\apps\principal\modules\alumno\actions\actions.class.php line 63
...
$alumno->setFkEstablecimientoId($this->getUser()->getAttribute('fk_establecimiento_id'));
list($y, $m, $d) = split("[/.
-]",$this->getRequestParameter('alumno[fecha_nacimiento]'));
$alumno->setFechaNacimiento("$y-$m-$d");
$alumno->save();
}
at alumnoActions->saveAlumno(object('Alumno'))
in SF_ROOT_DIR\apps\principal\modules\alumno\actions\actions.class.php line 118
...
$this->alumno = $this->getAlumnoOrCreate();
$this->updateAlumnoFromRequest();
$this->saveAlumno($this->alumno);
$this->setFlash('notice', 'Your modifications have been saved');
at alumnoActions->executeEdit()
in SF_ROOT_DIR\lib\symfony\action\sfActions.class.php line 53 ...
}
// run action
$ret = $this->$actionToRun();
return $ret;
}
at sfActions->execute()
in SF_ROOT_DIR\lib\symfony\filter\sfExecutionFilter.class.php line 115 ...
// execute the action
$actionInstance->preExecute();
$viewName = $actionInstance->execute();
if ($viewName == '')
{
$viewName = sfView::SUCCESS;
at sfExecutionFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR\lib\symfony\filter\sfFilterChain.class.php line 43 ...
}
// execute the next filter
$this->chain[$this->index]->execute($this);
}
}
at sfFilterChain->execute()
in SF_ROOT_DIR\lib\symfony\filter\sfFlashFilter.class.php line 50 ...
}
// execute next filter
$filterChain->execute();
// remove flash that are tagged to be removed
$names = $userAttributeHolder->getNames('symfony/flash/remove');
at sfFlashFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR\lib\symfony\filter\sfFilterChain.class.php line 43 ...
}
// execute the next filter
$this->chain[$this->index]->execute($this);
}
}
at sfFilterChain->execute()
in SF_ROOT_DIR\lib\symfony\filter\sfCommonFilter.class.php line 29 ...
public function execute($filterChain)
{
// execute next filter
$filterChain->execute();
// execute this filter only once
$response = $this->getContext()->getResponse();
at sfCommonFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR\lib\symfony\filter\sfFilterChain.class.php line 43 ...
}
// execute the next filter
$this->chain[$this->index]->execute($this);
}
}
at sfFilterChain->execute()
in SF_ROOT_DIR\apps\principal\lib\albaUtf8ConnectionFilter.class.php line 47
...
} else {
throw new Exception($e);
}
$filterChain->execute();
}
}
?>
at albaUtf8ConnectionFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR\lib\symfony\filter\sfFilterChain.class.php line 43 ...
}
// execute the next filter
$this->chain[$this->index]->execute($this);
}
}
at sfFilterChain->execute()
in SF_ROOT_DIR\lib\symfony\filter\sfBasicSecurityFilter.class.php line 65 ...
if ($credential === null || $user->hasCredential($credential))
{
// the user has access, continue
$filterChain->execute();
}
else
{
at sfBasicSecurityFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR\lib\symfony\filter\sfFilterChain.class.php line 43 ...
}
// execute the next filter
$this->chain[$this->index]->execute($this);
}
}
at sfFilterChain->execute()
in SF_ROOT_DIR\lib\symfony\filter\sfWebDebugFilter.class.php line 35 ...
}
// execute next filter
$filterChain->execute();
$context = $this->getContext();
$response = $context->getResponse();
at sfWebDebugFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR\lib\symfony\filter\sfFilterChain.class.php line 43 ...
}
// execute the next filter
$this->chain[$this->index]->execute($this);
}
}
at sfFilterChain->execute()
in SF_ROOT_DIR\lib\symfony\filter\sfRenderingFilter.class.php line 33 ...
public function execute($filterChain)
{
// execute next filter
$filterChain->execute();
if (sfConfig::get('sf_logging_enabled'))
{
at sfRenderingFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR\lib\symfony\filter\sfFilterChain.class.php line 43 ...
}
// execute the next filter
$this->chain[$this->index]->execute($this);
}
}
at sfFilterChain->execute()
in SF_ROOT_DIR\lib\symfony\controller\sfController.class.php line 276 ...
}
// process the filter chain
$filterChain->execute();
}
else
{
at sfController->forward('alumno', 'edit')
in SF_ROOT_DIR\lib\symfony\controller\sfFrontWebController.class.php line 48
...
$actionName = $request->getParameter('action');
// make the first request
$this->forward($moduleName, $actionName);
}
catch (sfException $e)
{
at sfFrontWebController->dispatch()
in SF_ROOT_DIR\web\principal_dev.php line 10 ...
require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php');
sfContext::getInstance()->getController()->dispatch();
?>
symfony settings ...
---
app_alba_menutheme: ThemeAlba
app_alba_tmpdir: tmp
app_alba_version: 1
app_theme: 1
mod_alumno_enabled: 1
mod_alumno_is_internal:
mod_alumno_view_class: sfPHP
sf_admin_web_dir: /sf/sf_admin
sf_app: principal
sf_app_config_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\apps\principal\config
sf_app_config_dir_name: config
sf_app_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\apps\principal
sf_app_i18n_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\apps\principal\i18n
sf_app_i18n_dir_name: i18n
sf_app_lib_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\apps\principal\lib
sf_app_lib_dir_name: lib
sf_app_module_action_dir_name: actions
sf_app_module_config_dir_name: config
sf_app_module_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\apps\principal\modules
sf_app_module_dir_name: modules
sf_app_module_i18n_dir_name: i18n
sf_app_module_lib_dir_name: lib
sf_app_module_template_dir_name: templates
sf_app_module_validate_dir_name: validate
sf_app_module_view_dir_name: views
sf_app_template_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\apps\principal\templates
sf_app_template_dir_name: templates
sf_apps_dir_name: apps
sf_autoloading_functions:
sf_available: 1
sf_base_cache_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\cache\principal
sf_bin_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\batch
sf_bin_dir_name: batch
sf_cache:
sf_cache_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\cache\principal\dev
sf_cache_dir_name: cache
sf_calendar_web_dir: /sf/calendar
sf_charset: utf-8
sf_check_lock:
sf_check_symfony_version:
sf_compressed:
sf_config_cache_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\cache\principal\dev\config
sf_config_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\config
sf_config_dir_name: config
sf_data_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\data
sf_data_dir_name: data
sf_debug: 1
sf_default_action: index
sf_default_module: default
sf_doc_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\data\doc
sf_doc_dir_name: doc
sf_enabled_modules:
- default
- sfMediaLibrary
sf_environment: dev
sf_error_404_action: error404
sf_error_404_module: default
sf_error_reporting: 4095
sf_escaping_method: ESC_ENTITIES
sf_escaping_strategy: bc
sf_etag:
sf_i18n: 1
sf_i18n_cache: 1
sf_i18n_cache_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\cache\principal\dev\i18n
sf_i18n_debug:
sf_i18n_default_culture: es
sf_i18n_source: XLIFF
sf_i18n_untranslated_prefix: [T]
sf_i18n_untranslated_suffix: [/T]
sf_lib_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\lib
sf_lib_dir_name: lib
sf_log_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\log
sf_log_dir_name: log
sf_logging_enabled: 1
sf_logging_history: 10
sf_logging_level: debug
sf_logging_period: 7
sf_logging_purge: 1
sf_logging_rotate:
sf_login_action: login
sf_login_module: default
sf_max_forwards: 5
sf_model_dir_name: model
sf_model_lib_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\lib\model
sf_module_cache_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\cache\principal\dev\modules
sf_module_disabled_action: disabled
sf_module_disabled_module: default
sf_no_script_name:
sf_orm: propel
sf_path_info_array: SERVER
sf_path_info_key: PATH_INFO
sf_plugins_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\plugins
sf_plugins_dir_name: plugins
sf_prototype_web_dir: /sf/prototype
sf_rich_text_js_dir: js/tiny_mce
sf_root_cache_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\cache
sf_root_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba
sf_routing_defaults:
sf_culture: es_AR
sf_secure_action: secure
sf_secure_module: default
sf_standard_helpers:
- Partial
- Cache
- Form
sf_stats:
sf_strip_comments: 1
sf_suffix: .
sf_symfony_data_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\config/../data/symfony
sf_symfony_lib_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\config/../lib/symfony
sf_template_cache_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\cache\principal\dev\template
sf_test:
sf_test_cache_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\cache\principal\dev\test
sf_test_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\test
sf_test_dir_name: test
sf_timeout: 1800
sf_timer_start: 1202347729.9604
sf_unavailable_action: unavailable
sf_unavailable_module: default
sf_upload_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\web\uploads
sf_upload_dir_name: uploads
sf_url_format: PATH
sf_use_database: 1
sf_use_flash: 1
sf_use_process_cache: 1
sf_use_security: 1
sf_validation_error_class: form_error
sf_validation_error_id_prefix: error_for_
sf_validation_error_prefix: ↓
sf_validation_error_suffix: ↓
sf_web_debug: 1
sf_web_debug_web_dir: /sf/sf_web_debug
sf_web_dir: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\web
sf_web_dir_name: web
request ...
---
parameterHolder:
symfony/default:
action: edit
alumno:
apellido: Rodriguez
nombre: Alejandro
fk_tipodocumento_id: 1
nro_documento: 25959664
lugar_nacimiento:
fecha_nacimiento: 16/12/1977
fk_pais_id: 1
email: ale_laburo_on_line@hotmail.com
activo: 1
direccion: por acá cerca
ciudad: Rosario
fk_provincia_id: 25
codigo_postal: 2000
telefono:
distancia_escuela: 0
fk_cuenta_id: 2
id:
module: alumno
pais_id: 1
save: Guardar
sexo: M
attributeHolder:
symfony/default:
symfony/filter:
fillin:
enabled: 1
response ...
---
cookies:
httpHeaders:
parameterHolder:
helper/asset/auto/javascript:
/sf/sf_web_debug/js/main: /sf/sf_web_debug/js/main
helper/asset/auto/stylesheet:
/sf/sf_web_debug/css/main:
global vars ...
---
cookie:
ASP_NET_SessionId: gd3ehh45w1ljfhahfeldij45
MOODLEID_: %E2%C8%13E%BD
MoodleSession: ahm0ugmb6ied9ab8n1g9h6vfc1
MoodleSessionTest: e7pRJFuquT
menu_basedatos: 1
menu_estadisticas: 1
menu_herramientas: 1
menu_software: 1
symfony: 43jde2ma5fvecb4l9dslarb111
env:
files:
get:
post:
alumno:
apellido: Rodriguez
nombre: Alejandro
fk_tipodocumento_id: 1
nro_documento: 25959664
lugar_nacimiento:
fecha_nacimiento: 16/12/1977
fk_pais_id: 1
email: ale_laburo_on_line@hotmail.com
activo: 1
direccion: por acá cerca
ciudad: Rosario
fk_provincia_id: 25
codigo_postal: 2000
telefono:
distancia_escuela: 0
fk_cuenta_id: 2
id:
pais_id: 1
save: Guardar
sexo: M
server:
ALL_HTTP: |
HTTP_CONNECTION:keep-alive
HTTP_KEEP_ALIVE:300
HTTP_CONTENT_LENGTH:2278
HTTP_CONTENT_TYPE:multipart/form-data;
boundary=---------------------------53242680925047
HTTP_ACCEPT:text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_CHARSET:ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING:gzip,deflate
HTTP_ACCEPT_LANGUAGE:es-es,es;q=0.8,en-us;q=0.5,en;q=0.3
HTTP_COOKIE:MoodleSession=ahm0ugmb6ied9ab8n1g9h6vfc1;
MoodleSessionTest=e7pRJFuquT; ASP.NET_SessionId=gd3ehh45w1ljfhahfeldij45;
menu_herramientas=1; menu_basedatos=1; menu_estadisticas=1; menu_software=1;
MOODLEID_=%25E2%25C8%2513E%25BD; symfony=43jde2ma5fvecb4l9dslarb111
HTTP_HOST:www.sindicatocapacita.org.ar
HTTP_REFERER:http://www.sindicatocapacita.org.ar/alba/web/principal_dev.php/alumno/edit
HTTP_USER_AGENT:Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.1.11)
Gecko/20071127 Firefox/2.0.0.11
APPL_MD_PATH: /LM/w3svc/2093027751/root
APPL_PHYSICAL_PATH: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\
AUTH_PASSWORD:
AUTH_TYPE:
AUTH_USER:
CONTENT_LENGTH: 2278
CONTENT_TYPE: >
multipart/form-data;
boundary=---------------------------53242680925047
DOCUMENT_ROOT: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html
HTTPS: off
HTTP_ACCEPT: >
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING: gzip,deflate
HTTP_ACCEPT_LANGUAGE: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3
HTTP_CONNECTION: keep-alive
HTTP_CONTENT_LENGTH: 2278
HTTP_CONTENT_TYPE: >
multipart/form-data;
boundary=---------------------------53242680925047
HTTP_COOKIE: >
MoodleSession=ahm0ugmb6ied9ab8n1g9h6vfc1;
MoodleSessionTest=e7pRJFuquT;
ASP.NET_SessionId=gd3ehh45w1ljfhahfeldij45;
menu_herramientas=1; menu_basedatos=1;
menu_estadisticas=1; menu_software=1;
MOODLEID_=%25E2%25C8%2513E%25BD;
symfony=43jde2ma5fvecb4l9dslarb111
HTTP_HOST: www.sindicatocapacita.org.ar
HTTP_KEEP_ALIVE: 300
HTTP_REFERER: >
http://www.sindicatocapacita.org.ar/alba/web/principal_dev.php/alumno/edit
HTTP_USER_AGENT: >
Mozilla/5.0 (Windows; U; Windows NT 5.1;
es-ES; rv:1.8.1.11) Gecko/20071127
Firefox/2.0.0.11
INSTANCE_ID: 2093027751
INSTANCE_META_PATH: /LM/W3SVC/2093027751
LOGON_USER:
ORIG_PATH_INFO: /alba/web/principal_dev.php/alumno/edit
ORIG_PATH_TRANSLATED: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\web\principal_dev.php\alumno\edit
PATH_INFO: /alumno/edit
PATH_TRANSLATED: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alumno\edit
PHP_SELF: /alba/web/principal_dev.php
QUERY_STRING:
REMOTE_ADDR: 190.30.174.86
REMOTE_HOST: 190.30.174.86
REMOTE_USER:
REQUEST_METHOD: POST
REQUEST_TIME: 1202347729
REQUEST_URI: /alba/web/principal_dev.php/alumno/edit
SCRIPT_FILENAME: >
I:\FerozoWebHosting\sindicatomrcapacita.org.ar\public_html\alba\web\principal_dev.php
SCRIPT_NAME: /alba/web/principal_dev.php
SERVER_NAME: www.sindicatocapacita.org.ar
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: Microsoft-IIS/6.0
URL: /alba/web/principal_dev.php/alumno/edit
session:
symfony/user/sfUser/attributes:
symfony/user/sfUser/attributes:
id: 1
email: alejandro_j_r@hotmail.com
fk_establecimiento_id: 1
establecimiento_nombre: Centro de Capacitación
fk_organizacion_id: 1
organizacion_nombre: >
Centro de Capacitación Sindicato
Trabajadores Municipales de Rosario
theme: moderno
fk_ciclolectivo_id: 1
ciclolectivo_descripcion: 2008
usuario: admin
symfony/user/sfUser/authenticated: 1
symfony/user/sfUser/credentials:
- actividad
- alumno
- anio
- asistencia
- boletin
- boletinconcepto
- boletinnotas
- calendario
- calendariovacunacion
- cargobaja
- ciclolectivo
- concepto
- conceptobaja
- creditos
- cuenta
- distrito
- distritoescolar
- division
- docente
- docenteHorario
- escalanota
- espacio
- establecimiento
- feriado
- formatofecha
- horarioescolar
- horarioescolartipo
- informes
- legajocategoria
- legajopedagogico
- locacion
- modulo
- niveltipo
- organizacion
- orientacion
- pais
- permiso
- preferencia
- provincia
- relActividadDocente
- relAlumnoDivision
- relAnioActividad
- relCalendariovacunacionAlumno
- relLocacionEspacio
- responsable
- rol
- rolResponsable
- tipoasistencia
- tipodocente
- tipodocumento
- tipoespacio
- tipoiva
- tipolocacion
- turno
- usuario
symfony/user/sfUser/culture: es_AR
symfony/user/sfUser/lastRequest: 1202347726
symfony v.1.0.5 - php 5.1.2
for help resolving this issue, please visit http://www.symfony-project.com/.
> From: ftoledo@docksud.com.ar
> To: alba-usuario@lists.ourproject.org
> Subject: Re: [Alba-usuario] Problema/error al cargar alumnos
> Date: Wed, 6 Feb 2008 22:49:19 -0200
>
> El Mar 05 Feb 2008, Alejandro Rodriguez escribió:
> > Perdón si es reenvÃo... me
suscribà recientemente y tuve problemas con mis
> > casillas de mail. Saludos.
> >
> >
> > Buenos dias a todos... estoy probando Alba para utilizar en el centro
de
> > capacitacion que admnisrto y queriendo dar de alta un alumno obtengo
este
> > error: 500 - Error Encontrado
> > Unable to parse date/time value for [fecha_nacimiento] from input:
> > '03-02-2008'
> >
> > Puede volver hacia atras con su navegador,
> > consulte con el Administrador del sistema.
> >
> >
> >
> > Cualquier ayuda será bien recibida.
> >
> > Gracias
> >
> > Alejandro
>
> Hola Alejandro, bienvenido.
> fijate si podes correr el sistema en modo depuracion asi vemos mas
detalles:
>
> http://alba.pressenter.com.ar/cgi-bin/trac.cgi/wiki/ReporteDeErrores
>
>
> --
> Dock Sud BBS
> http://www.docksud.com.ar
> telnet://bbs.docksud.com.ar
_________________________________________________________________
¿Aburrido? Ingresá ya y divertite como nunca en MSN
Juegos.
http://juegos.ar.msn.com/