Merci, je le fais et je te tiens au courant !

On Mon, Nov 16, 2009 at 2:35 PM, Lélio ML <[email protected]> wrote:

>
> As-tu fait un
> #symfony app:routes ton_appli
> ?
>
> Tu sauras les routes qui existent dans ton appli et du coup tu sauras celle
> qu'il te faut créer ?
>
>
> -----Message d'origine-----
> De : [email protected] [mailto:[email protected]] De
> la
> part de arte_fact
> Envoyé : lundi 16 novembre 2009 14:13
> À : Symfony-fr
> Objet : [symfony-fr] Re: 404 | Not Found | sfError404Exception
>
>
> Bonjour,
>
> Personne n'aurait une idée du problème?
> Je vous remercie d'avance.
>
>
>
> On 15 nov, 22:57, Abdoulaye Sow <[email protected]> wrote:
> > Merci pour ces informations. je suis en train de suivre le tuto sur
> jobeet,
> > j'ai pu généré un module sans modifier le fichier routine.yml
> > Cela a fonctionné sans aucun soucis. Je ne vois pas où pourrait se
> trouver
> > le problème.
> >
> > On Sun, Nov 15, 2009 at 2:09 PM, Lélio ML <[email protected]> wrote:
> >
> > > Vérifie que toutes tes routes existent bien dans le fichier
> conf/routing
> de
> > > ton apps.
> > > La création du module ne génère pas les routes
> >
> > > -----Message d'origine-----
> > > De : [email protected] [mailto:[email protected]]
> De
> > > la part de arte_fact
> > > Envoyé : samedi 14 novembre 2009 10:47
> > > À : Symfony-fr
> > > Objet : [symfony-fr] 404 | Not Found | sfError404Exception
> >
> > > Bonjour,
> >
> > > J'ai actuellement un problème lorsque je génére un module :
> >
> > > D:\wamp\www\development\sfprojects\perfandstats>php symfony
> > > doctrine:generate-mo
> > > dule --with-show --non-verbose-templates frontend course
> > > PerfandstatsCourse
> >
> > > J'obtiens ce  message d'erreur:
> >
> > > 404 | Not Found | sfError404Exception
> > > Action "course/index" does not exist.
> > > stack trace
> >
> > >    * at ()
> > >      in SF_ROOT_DIR\lib\vendor\symfony\lib\controller
> > > \sfController.class.php line 202 ...
> > >             199.         $this->dispatcher->notify(new sfEvent($this,
> > > 'application.log', array(sprintf('Action "%s/%s" does not exist',
> > > $moduleName, $actionName))));
> > >             200.       }
> > >             201.
> > >             202.       throw new sfError404Exception(sprintf('Action
> > > "%s/%s" does not exist.', $moduleName, $actionName));
> > >             203.     }
> > >             204.
> > >             205.     // create an instance of the action
> > >    * at sfController->forward('course', 'index')
> > >      in SF_ROOT_DIR\lib\vendor\symfony\lib\controller
> > > \sfFrontWebController.class.php line 48 ...
> > >              45.       }
> > >              46.
> > >              47.       // make the first request
> > >              48.       $this->forward($moduleName, $actionName);
> > >              49.     }
> > >              50.     catch (sfException $e)
> > >              51.     {
> > >    * at sfFrontWebController->dispatch()
> > >      in SF_ROOT_DIR\lib\vendor\symfony\lib\util\sfContext.class.php
> > > line 159 ...
> > >             156.    */
> > >             157.   public function dispatch()
> > >             158.   {
> > >             159.     $this->getController()->dispatch();
> > >             160.   }
> > >             161.
> > >             162.   /**
> > >    * at sfContext->dispatch()
> > >      in SF_ROOT_DIR\web\frontend_dev.php line 13 ...
> > >              10. require_once(dirname(__FILE__).'/../config/
> > > ProjectConfiguration.class.php');
> > >              11.
> > >              12. $configuration =
> > > ProjectConfiguration::getApplicationConfiguration('frontend', 'dev',
> > > true);
> > >              13. sfContext::createInstance($configuration)->dispatch
> > > ();
> > > 14.
> >
> > > symfony settings ...
> >
> > > sf_admin_module_web_dir: /sfDoctrinePlugin
> > > sf_admin_web_dir: /sf/sf_admin
> > > sf_app: frontend
> > > sf_app_base_cache_dir: 'D:\wamp\www\development\sfprojects\jobeet\cache
> > > \frontend'
> > > sf_app_cache_dir: 'D:\wamp\www\development\sfprojects\jobeet\cache
> > > \frontend\dev'
> > > sf_app_config_dir: 'D:\wamp\www\development\sfprojects\jobeet\apps
> > > \frontend\config'
> > > sf_app_dir: 'D:\wamp\www\development\sfprojects\jobeet\apps\frontend'
> > > sf_app_i18n_dir: 'D:\wamp\www\development\sfprojects\jobeet\apps
> > > \frontend\i18n'
> > > sf_app_lib_dir: 'D:\wamp\www\development\sfprojects\jobeet\apps
> > > \frontend\lib'
> > > sf_app_module_dir: 'D:\wamp\www\development\sfprojects\jobeet\apps
> > > \frontend\modules'
> > > sf_app_template_dir: 'D:\wamp\www\development\sfprojects\jobeet\apps
> > > \frontend\templates'
> > > sf_apps_dir: 'D:\wamp\www\development\sfprojects\jobeet\apps'
> > > sf_cache: false
> > > sf_cache_dir: 'D:\wamp\www\development\sfprojects\jobeet\cache'
> > > sf_calendar_web_dir: /sf/calendar
> > > sf_charset: utf-8
> > > sf_check_lock: false
> > > sf_check_symfony_version: false
> > > sf_compressed: false
> > > sf_config_cache_dir: 'D:\wamp\www\development\sfprojects\jobeet\cache
> > > \frontend\dev\config'
> > > sf_config_dir: 'D:\wamp\www\development\sfprojects\jobeet\config'
> > > sf_csrf_secret: UniqueSecret
> > > sf_data_dir: 'D:\wamp\www\development\sfprojects\jobeet\data'
> > > sf_debug: true
> > > sf_default_culture: en
> > > sf_doc_dir: 'D:\wamp\www\development\sfprojects\jobeet\doc'
> > > sf_enabled_modules:
> > >  - default
> > > sf_environment: dev
> > > sf_error_404_action: error404
> > > sf_error_404_module: default
> > > sf_error_reporting: 32767
> > > sf_escaping_method: ESC_SPECIALCHARS
> > > sf_escaping_strategy: true
> > > sf_etag: false
> > > sf_i18n: false
> > > sf_i18n_cache_dir: 'D:\wamp\www\development\sfprojects\jobeet\cache
> > > \frontend\dev\i18n'
> > > sf_lazy_cache_key: true
> > > sf_lib_dir: 'D:\wamp\www\development\sfprojects\jobeet\lib'
> > > sf_log_dir: 'D:\wamp\www\development\sfprojects\jobeet\log'
> > > sf_logging_enabled: true
> > > sf_login_action: login
> > > sf_login_module: default
> > > sf_max_forwards: 5
> > > sf_module_cache_dir: 'D:\wamp\www\development\sfprojects\jobeet\cache
> > > \frontend\dev\modules'
> > > sf_module_disabled_action: disabled
> > > sf_module_disabled_module: default
> > > sf_no_script_name: false
> > > sf_orm: doctrine
> > > sf_plugins_dir: 'D:\wamp\www\development\sfprojects\jobeet\plugins'
> > > sf_rich_text_js_dir: js/tiny_mce
> > > sf_root_dir: 'D:\wamp\www\development\sfprojects\jobeet'
> > > sf_secure_action: secure
> > > sf_secure_module: default
> > > sf_standard_helpers:
> > >  - Partial
> > >  - Cache
> > >  - Form
> > > sf_strip_comments: true
> > > sf_symfony_lib_dir: 'D:\wamp\www\development\sfprojects\jobeet\lib
> > > \vendor\symfony\lib'
> > > sf_template_cache_dir: 'D:\wamp\www\development\sfprojects\jobeet\cache
> > > \frontend\dev\template'
> > > sf_test_cache_dir: 'D:\wamp\www\development\sfprojects\jobeet\cache
> > > \frontend\dev\test'
> > > sf_test_dir: 'D:\wamp\www\development\sfprojects\jobeet\test'
> > > sf_upload_dir: 'D:\wamp\www\development\sfprojects\jobeet\web\uploads'
> > > sf_use_database: true
> > > sf_validation_error_class: form_error
> > > sf_validation_error_id_prefix: error_for_
> > > sf_validation_error_prefix: ' &darr;&nbsp;'
> > > sf_validation_error_suffix: ' &nbsp;&darr;'
> > > sf_web_debug: true
> > > sf_web_debug_web_dir: /sf/sf_web_debug
> > > sf_web_dir: 'D:\wamp\www\development\sfprojects\jobeet\web'
> >
> > > request ...
> >
> > > parameterHolder:
> > >  action: index
> > >  module: course
> > > attributeHolder:
> > >  sf_route: 'sfRoute Object()'
> >
> > > response ...
> >
> > > options:
> > >  http_protocol: HTTP/1.1
> > >  logging: '1'
> > >  charset: utf-8
> > >  send_http_headers: true
> > >  content_type: 'text/html; charset=utf-8'
> > > cookies: {  }
> > > httpHeaders:
> > >  Content-Type: 'text/html; charset=utf-8'
> > > javascripts: {  }
> > > stylesheets: {  }
> > > metas: {  }
> > > httpMetas: {  }
> >
> > > user ...
> >
> > > options:
> > >  auto_shutdown: false
> > >  culture: null
> > >  default_culture: en
> > >  use_flash: true
> > >  logging: '1'
> > >  timeout: 1800
> > > attributeHolder: {  }
> > > culture: en
> >
> > > global vars ...
> >
> > > cookie:
> > >  symfony: ca88te1lo8sepgh4gsog4t7f73
> > > env: {  }
> > > files: {  }
> > > get: {  }
> > > post: {  }
> > > server:
> > >  COMSPEC: 'C:\WINDOWS\system32\cmd.exe'
> > >  DOCUMENT_ROOT: 'D:/wamp/www/development/sfprojects/jobeet/web'
> > >  GATEWAY_INTERFACE: CGI/1.1
> > >  HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/
> > > xml;q=0.9,*/*;q=0.8'
> > >  HTTP_ACCEPT_CHARSET: 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
> > >  HTTP_ACCEPT_ENCODING: 'gzip,deflate'
> > >  HTTP_ACCEPT_LANGUAGE: 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3'
> > >  HTTP_CACHE_CONTROL: no-cache
> > >  HTTP_CONNECTION: keep-alive
> > >  HTTP_COOKIE: symfony=ca88te1lo8sepgh4gsog4t7f73
> > >  HTTP_HOST: perfandstats.localhost
> > >  HTTP_KEEP_ALIVE: '300'
> > >  HTTP_PRAGMA: no-cache
> > >  HTTP_USER_AGENT: 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:
> > > 1.9.1.5) Gecko/20091102 Firefox/3.5.5'
> > >  PATH: 'C:\wamp\bin\php\php5.3.0;D:\wamp\bin\php\php5.3.0;C:\WINDOWS
> > > \system32;'
> > >  PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
> > >  PATH_INFO: /course
> > >  PATH_TRANSLATED: 'D:\wamp\www\development\sfprojects\jobeet\web
> > > \course'
> > >  PHP_SELF: /frontend_dev.php/course
> > >  QUERY_STRING: ''
> > >  REMOTE_ADDR: 127.0.0.1
> > >  REMOTE_PORT: '1178'
> > >  REQUEST_METHOD: GET
> > >  REQUEST_TIME: 1258191686
> > >  REQUEST_URI: /frontend_dev.php/course
> > >  SCRIPT_FILENAME: 'D:/wamp/www/development/sfprojects/jobeet/web/
> > > frontend_dev.php'
> > >  SCRIPT_NAME: /frontend_dev.php
> > >  SERVER_ADDR: 127.0.0.1
> > >  SERVER_ADMIN: ad...@localhost
> > >  SERVER_NAME: perfandstats.localhost
> > >  SERVER_PORT: '80'
> > >  SERVER_PROTOCOL: HTTP/1.1
> > >  SERVER_SIGNATURE: ''
> > >  SERVER_SOFTWARE: 'Apache/2.2.11 (Win32) PHP/5.3.0'
> > >  SystemRoot: 'C:\WINDOWS'
> > >  WINDIR: 'C:\WINDOWS'
> > > session:
> > >  symfony/user/sfUser/attributes: {  }
> > >  symfony/user/sfUser/authenticated: false
> > >  symfony/user/sfUser/credentials: {  }
> > >  symfony/user/sfUser/culture: en
> > >  symfony/user/sfUser/lastRequest: 1258191684
> >
> > > symfony v.1.2.9 - php 5.3.0
> > > for help resolving this issue, please visit
> > >http://www.symfony-project.org/
> >
> > > Avez-vous un idée du problème. Je vous remercie d'avance pour votre
> > > aide.
> >
> > > arte_fact
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Vous avez reçu ce message, car vous êtes abonné au groupe Groupe "Symfony-fr" 
de Google Groupes.
 Pour transmettre des messages à ce groupe, envoyez un e-mail à 
l'adresse [email protected]
 Pour résilier votre abonnement à ce groupe, envoyez un e-mail à 
l'adresse [email protected]
 Pour afficher d'autres options, visitez ce groupe à l'adresse 
http://groups.google.com/group/symfony-fr?hl=fr
-~----------~----~----~----~------~----~------~--~---

Répondre à