[Alba-usuario] Resumen de Alba-usuario, Vol 41, Envío 17

Dante Bravo danteobravo en gmail.com
Vie Jul 29 01:03:01 CEST 2011


Hola Hector,
1) Cual seria el archivo al que te refieres que comienza asi: [?php /*
2) Yo tengo la version 1.0, como deberia hacer el update
Saludos

Asi me aparece ingresando con web/principal_dev.php/docente

Warning: fclose() [function.fclose]: 87 is not a valid stream resource
in /home/institut/public_html/gestion/lib/symfony/config/sfConfigCache.class.php
on line 316
[?php /** * autoDocente actions. * * @package ##PROJECT_NAME## *
@subpackage autoDocente * @author Fabien Potencier * @version SVN:
$Id: actions.class.php 3501 2007-02-18 10:28:17Z fabien $ */ class
autoDocenteActions extends sfActions { public function executeIndex()
{ return $this->forward('docente', 'list'); } public function
executeList() { $this->processSort(); $this->processFilters();
$this->filters =
$this->getUser()->getAttributeHolder()->getAll('sf_admin/docente/filters');
// pager $this->pager = new sfPropelPager('Docente', 20); $c = new
Criteria(); $this->addSortCriteria($c); $this->addFiltersCriteria($c);
$this->pager->setCriteria($c);
$this->pager->setPage($this->getRequestParameter('page', 1));
$this->pager->init(); } public function executeCreate() { return
$this->forward('docente', 'edit'); } public function executeSave() {
return $this->forward('docente', 'edit'); } public function
executeEdit() { $this->docente = $this->getDocenteOrCreate(); if
($this->getRequest()->getMethod() == sfRequest::POST) {
$this->updateDocenteFromRequest(); $this->saveDocente($this->docente);
$this->setFlash('notice', 'Your modifications have been saved'); if
($this->getRequestParameter('save_and_add')) { return
$this->redirect('docente/create'); } else if
($this->getRequestParameter('save_and_list')) { return
$this->redirect('docente/list'); } else { return
$this->redirect('docente/edit?id='.$this->docente->getId()); } } else
{ $this->labels = $this->getLabels(); } } public function
executeDelete() { $this->docente =
DocentePeer::retrieveByPk($this->getRequestParameter('id'));
$this->forward404Unless($this->docente); try {
$this->deleteDocente($this->docente); } catch (PropelException $e) {
$this->getRequest()->setError('delete', 'Could not delete the selected
Docente. Make sure it does not have any associated items.'); return
$this->forward('docente', 'list'); } return
$this->redirect('docente/list'); } public function handleErrorEdit() {
$this->preExecute(); $this->docente = $this->getDocenteOrCreate();
$this->updateDocenteFromRequest(); $this->labels = $this->getLabels();
return sfView::SUCCESS; } protected function saveDocente($docente) {
$docente->save();
Warning: require_once(lib/model/om/BaseRelAnioActividadPeer.php)
[function.require-once]: failed to open stream: No such file or
directory in /home/institut/public_html/gestion/lib/model/RelAnioActividadPeer.php
on line 4

Fatal error: require_once() [function.require]: Failed opening
required 'lib/model/om/BaseRelAnioActividadPeer.php'
(include_path='/home/institut/public_html/gestion/lib:/home/institut/public_html/gestion:/home/institut/public_html/gestion/apps/principal/lib:/home/institut/public_html/gestion/config/../lib/symfony/vendor:.:/usr/lib/php:/usr/local/lib/php')
in /home/institut/public_html/gestion/lib/model/RelAnioActividadPeer.php
on line 4



>> _______________________________________________
>> Alba-usuario mailing list
>> Alba-usuario en lists.ourproject.org
>> https://lists.ourproject.org/cgi-bin/mailman/listinfo/alba-usuario
>>
>
> Hola buen día,
> Fijate que el error aparece por que está mal el archivo php.. comienza con
> una [ y tiene que comenzar con <
>
> Tenés:
> [?php /*
>
> Y deberías tener:
> <?php
>
>
> Te recomiendo que te actualices la versión del sitio, la 1.0, o por svn..
>
> A alguien más le ocurre ese error??
> --
> Sanchez Héctor
> PressEnter - http://www.pressenter.com.ar
> ------------ pr?a parte ------------
> Se ha borrado un adjunto en formato HTML...
> URL: https://lists.ourproject.org/pipermail/alba-usuario/attachments/20110727/452b0af9/attachment-0001.htm
>
> ------------------------------
>
> _______________________________________________
> Alba-usuario mailing list
> Alba-usuario en lists.ourproject.org
> https://lists.ourproject.org/cgi-bin/mailman/listinfo/alba-usuario
>
>
> Fin de Resumen de Alba-usuario, Vol 41, Envío 17
> ************************************************
>



-- 
Cdor. Dante Bravo



Más información sobre la lista de distribución Alba-usuario